Marc Lacroix
Forum Replies Created
-
Hi there,
The issue is that somehow, a group became the “child of its own child”, creating an infinite loop in the conditional logic.
In order to fix this issue:
- go to the content section,
- edit the choices of Achterwand.
- “Group 6” is the one with the issue. So drag and drop it before group 5, and then back after group 5. This will reset Group 6 parent, which should resolve the issue.
Hi there,
Could you export the configurator data from the admin, and share it with me?
You can send it here: https://wc-product-configurator.com/contact
Marc
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] Getting configuration option in cartHi there,
The configuration is stored in the configurator_data attribute.
You can access it like this:foreach( WC()->cart->get_cart() as $cart_item ) {
$product_id = $cart_item['product_id'];
if ( mkl_pc_is_configurable( $product_id ) && isset( ( $cart_item['configurator_data'] ) ) ) {
foreach( $cart_item['configurator_data'] as $selected_choice ) {
// dump the layer name
var_dump( $selected_choice->get_layer( 'name' ) );
// dump the choice name
var_dump( $selected_choice->get_choice( 'name' ) );
}
// Alternatively, you can use the simpler configurator_data_raw data
var_dump( $cart_item['configurator_data_raw'] );
}
}Marc
- This reply was modified 5 months ago by Marc Lacroix. Reason: Fixed code
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] Example export dataHi there,
Sorry for the delayed response.
Here’s a link to the sneakers config.You can also export all the demos if you created a test site on https://demos.mklacroix.com/.
Marc
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] Thumbnail SizesHi there,
Which configurator theme are you using?
Marc
Hi Carlos,
This should be possible to achieve, though will require a little bit of custom development.
Marc
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] Save function and visual stuffHi Christoph,
Please send your request on https://wc-product-configurator.com/contact, as most of it is not direct support but more in the realm of custom development.
Marc
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] Mobile Image SizeHi there,
The issue is that the Background image in the product has different dimensions from the other images.
In order to align properly on all devices, the images should all have the same dimensions.
Marc
Hi there,
I have taken a look at the product again, and I can confirm that the issue is with the order of the images:
If you read my previous message again, you’ll see that I talk about the order of the images.
See screenshot below (from the doc) to understand how to reorder the images:
Marc
Hi there,
In this instance I would use the function greater_than().
So something likegreater_than({Main Invitatation: Quantity}, 0)
* (
50
+ {Main Invitatation: Quantity}*{simple (Main Invitation: Print method):12}
)Greater than will be equal to 0 or 1, so if the quantity is 0, it will multiply by 0.
I edited the formula on your test product.
MarcPS: note that support for the use of add-ons should be done directly on my website.
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] ButtonHi there,
If the buttons show small and un-styled, it means that your WordPress theme does not apply default styles to buttons.
So to remedy that, you need to find what classes your theme uses in order to style buttons, then add those classes to the shortcode using the classes attribute (see doc), and to the Add to cart button by adding classes to the settings, in Settings > Product Configurator > Styling options > Button classes.
I can help you find the classes used on your website if you provide a link to the configurator.
Marc
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] Grouped layers not showing optionsHi there,
The issue is that before setting the layer type to group, you set its display type to Dropdown, which automatically collapse when an item is pressed.
I changed that and it’s now working as expected.
Marc
Forum: Plugins
In reply to: [Product Configurator for WooCommerce] Hide PriceHi there,
Yes, you can hide the price by disabling its display from Settings > Product Configurator > General options.
Marc
Hi Abbas,
Please take a look at this article: https://wc-product-configurator.com/docs/product-configurator-for-woocommerce/general-usage/changing-the-order-of-the-images/
The issue is in the order of the layers. You need to enable Reordering of images, then move the layers in the appropriate order.
Marc
Hi Abbas
Can you describe the issue a bit more? I took a look at both products and I’m not sure where something is wrong.
You are using the configurator in a bit of an unusual way, where the images hide each other. It is usually meant to be used with transparent images which build up the product, while you are using opaque images with the full visual.
Marc