Hey,
I am just wondering if it would be possible to include the different views into the conditional logic, so if CHOICE A is selected, VIEW A is Enabled/Disabled?
Use case of products where a specific view is only necessary when certain options are chosen, or where a specific choice requires a certain view to be disabled.
TIA
Hello,
Is it possible to add additonla calculation apart from the price calculation.
I need to calculate weight of my products, so the price is calculated, but as well sum weight of each configuration option.
Is it possible to custom code it? What would be the price of this?
I was working in the ‘content’ tab. Within this tab I have some groups of elements. In some of those groups are a list of tiles. I wanted to separate these tiles into smaller groups to give them a category in the configurator font view. So I selected some of them and created a new group. See https://snipboard.io/3KRLEj.jpg. This worked fine with one group, but when I add more groups to the configurator it stopped working. And is not opening on the frontend. In the console of the product page I noticed the following error with a list of other stuff in the console:
we had an error: Internal Error: too much recursion
See also: https://snipboard.io/rFYQfu.jpg
How can I solve this issue?
]]>Hello,
If I recall correctly the Configurator is supposed to have the Plus (+) and Minus (-) buttons on either side of the quantity box. Is this correct?
For some reason I just noticed that they are not showing. The strange thing is that while testing, every once and a while buttons would show up but they would not be positioned correctly. If I inspected them and changed the display in the inspection window to display: inline-flex; and the buttons would show correctly. But then when I reload the page/configurator the buttons would be gone. When they were present this is the html in the inspection window for the buttons.
This is the – button html:
<a href="javascript:void(0)" id="minus_qty-0" class="minus no-internal-border">-</a>
This is the + button html:
<a href="javascript:void(0)" id="plus_qty-0" class="plus no-internal-border">+</a>
When the buttons are not showing there is no sign of them being hidden or even existing in the inspection window.
Can you help me get these buttons to show?
Thanks,
Shawn
Hi. I am trying to conditionally run some code but need to be able to check what configuration option the customer has selected. Is there a direct way to access this data from the cart object?
foreach( WC()->cart->get_cart() as $cart_item ) {
? ? ? ? $product_id = $cart_item['product_id'];
? ? ? ? if ( is_configurable_product( $product_id ) ) {
? ? ? ? ? ? // Get configuration option here
? ? ? ? }
}
]]>
hi there. Is it possible to jump from a normal webpage directly to the configurator? Without passing through the Product page? Trying to create an anchor link. Thank you.
]]>Is there available dummy data, for example of your sneakers demo content, as I’m planning to create a similar product configurator with many, many choices, and would benefit from example data?
]]>Please see link for picture example.
How do i go about enlarging these thumbnails they are too small and i would like to have them much bigger in size. I have everything set in settings as full images but still show as small.
Thanks.
]]>Hi Marc.
After going through several plugins, i found your ideal for our needs, but there one thing I would like to archive, Instead of “Add to cart” button, we need the function of “Done” button and sending the customer back to the product page to finish filling out the product form (since there will be other data that the customer need to choose) before adding to the cart, and of course the data of the configurator will be added along with the form data to the check out page. If this possible to archive.
Thank you
Carlos
Hello Marc.
Congratulation for this terrific software, after some minor issues on the beginning, the configurator runs perfect and it is really fun to use it.
But now its time to make it work for the customer.
First screenshot.
https://elysio.eu/wp-content/uploads/2024/10/konfi_web-scaled.jpg
Second screenshot
https://elysio.eu/wp-content/uploads/2024/10/konfi_web_01-scaled.jpg
Sorry for so much stuff here. I hope it is not to much.
Best regards, Christoph.
]]>On desktop the configurator is working great. Only on mobile the base image is resized and not showing correctly. I’m very new in building my own website so after searching for CSS in all topics here i could’t find the fix. What am i doing wrong?
I’m using Elementor and the spacr theme.
]]>Hi Marc,
Thank you for fixing my configurator so that the grouped layers show up. I have another issue I would appreciate your help on:
I am trying to write a formula that adds a set value only when the quantity of the attribute is greater than 0. From your instructions, it looks like I should be able to use “value_is_in_range(from, to, val1)”, but I’m not sure how to reference the variables I want e.g. “Main Invitation: Quantity”. In essence, I want a base cost for an attribute to be added on top of the per-item cost. A formulaic example for the print method attribute would be:
IF({Main Invitatation: Quantity}>0,(50+({Main Invitatation: Quantity}*{simple (Main Invitation: Print method):12})),0)
So if the quantity is 0, the response is 0, otherwise I want the item quantity multiplied by the formula value of the attribute, plus a base cost of x (��50 in this example). I might not have got the brackets in the right place, and I appreciate this doesn’t work as it would in excel, but hopefully you understand what I’m trying to do.
Thanks again!
]]>Hi, I’m trying the plugin but I’m stuck with a problem on emails in “plain text”.
The first anomaly was having all the fields close together
Ex:
Choose the bases: White rice Choose the bases: Venus rice Choose the
proteins: Grilled octopus. Choose extra proteins: Cooked shrimp (+
2.00 EUR) Choose vegetables: Ginger in Brine Choose vegetables
vegetables: Mango (+ 1.00 EUR) See composition
Using a custom code I managed to send them to the head.
Here if it can be of use to someone:
foreach ($items as $item_id => $item):
if (apply_filters("woocommerce_order_item_visible", true, $item)) {
$product = $item->get_product();
$sku = "";
$purchase_note = "";
if (is_object($product)) {
$sku = $product->get_sku();
$purchase_note = $product->get_purchase_note();
}
echo apply_filters(
"woocommerce_order_item_name",
$item->get_name(),
$item,
false
);
if ($show_sku && $sku) {
echo " (#" . $sku . ")";
}
echo " X " .
apply_filters(
"woocommerce_email_order_item_quantity",
$item->get_quantity(),
$item
);
echo " = " . $order->get_formatted_line_subtotal($item);
// allow other plugins to add additional product information here
do_action(
"woocommerce_order_item_meta_start",
$item_id,
$item,
$order,
$plain_text
);
// Retrieve and process item meta data
$item_meta_data = $item->get_formatted_meta_data("_", true);
foreach ($item_meta_data as $meta) {
$cleaned_value = strip_tags($meta->display_value); // Remove HTML tags
$cleaned_value = str_replace("wcpa_empty_label:", "", $cleaned_value); // Remove empty labels
$cleaned_value = str_replace("|", "\n", $cleaned_value); // Replace '|' with newlines
$lines = explode("\n", $cleaned_value);
foreach ($lines as $line) {
$line = trim($line);
if (!empty($line)) {
echo "\n" . $line; // Ensure each line goes to a new row
}
}
}
// allow other plugins to add additional product information here
do_action(
"woocommerce_order_item_meta_end",
$item_id,
$item,
$order,
$plain_text
);
}
// Note
if ($show_purchase_note && $purchase_note) {
echo "\n" . do_shortcode(wp_kses_post($purchase_note));
}
echo "\n\n";
endforeach;
Now I can’t do 2 things:
Can someone help me figure out how to do it?
]]>I have added content for grouped layers, but they aren’t shown as it instantly hides them. I recorded a video to show the issue: https://drive.google.com/file/d/1EopBc_PUqCE06kwlXzGep74LDoc9uDEo/view?usp=drive_link
]]>Hello,
I would like to change the size and the color of the button.
mkl_configurator_button product_id=1
This code just shows a really small button.
I also want to change the size and the color of the “add to card” button. What should I do?
Thank you.
]]>I know the configurator needs a price in order to work. However, is there a way to hide the price for customers? We are not using the plug-in to order from, only to help visualize the color of the building they want to order.
]]>Hi There
First and foremost, thank you so much for this fantastic plugin. This comes with bundle of features and I loved it!
I have integrated your plugin on two of my bespoke products that comes with multiple choice selection based on customer preference. The multiple choice selection was working fine few days back and its stop working now. Few of the last choices on the below products are not working as I expected, I could switch the choices but the images are not changing according to the selection. Can you please have a look at this issue and help me to resolve it asap.
https://snover.com/bespoke-shirts/
https://snover.com/bespoke-suits/
Your early reply is much appreciated!
Best regards,
Abbas
]]>Is it possible to set some presets let say 3 names and if somebody pick one of them then it will automatically set something what was set in preset? I see that I can use some presets but only as a link. I would like to have this 3 options as presets available during configuration of product. So client can pick whatever he wants but once he pick some preset then it will automatically set something different…?
]]>Hi I was looking at your demos but got a little confused with what’s available for free https://demos.mklacroix.com/configurable-watch/ Is this free ? could I add visual elements like this Visual product configuration
Could you provide the demos that dont need the addon and work with WordPress
]]>Hello,
I first want to mention that my site is currently a staging site and is not live. If you need access I can provide that. Just let me know where to send that info.
I am having issues with the formatting of the Configurations listed in the Cart/Checkout. Either the choices do not align with the correct labels or they are not spaced correctly/consistently.
This is a snippet from my Cart on the desktop. Notice the added spacing/tabs on some and not on others?
This is on mobile. Notice here that the Layer 1 choice (Aztec Sky) is lined up next to the Category heading (Color Options) and not Layer 1. Then all the rest are off from that point on. Also notice that the Layer 4 is pushed below the line. And the heading “Configuration” is all the way to the right when ideally it should be to the left.
I am hoping there is a way to fix the formatting where the configurations are all aligned correctly.
Thanks,
Shawn
Hello guys!
Thank for this fantastic feature! I t will help a lot.
But before that a lot of work has to be done.
Hello, we had a problem with WP Offload Media and Amazon S3, we had to re-upload all images to the S3 server. In the process, the timestamps in the url structure of the images changed. All image urls in our database and media library have been automatically adjusted so that we have no problems with missing images – except with the product configurators. To prevent this in the future, we have deactivated the timestamp url schema option so that all images are now located in a folder in an S3 bucket.
The following problem. In the Woocommerce products, most of the images are missing when I open a product configurator in the admin area on the product page. There is only the question mark symbol and behind it the old link. In the database in _mkl_product_configurator_content meta_value the old image links are also stored. In the frontend on the product page, however, all images are displayed correctly in the configurator with the new link. Strangely enough, there are also some images in the configurator settings in the admin area that are displayed and also have the new link.
Due to the timestamp that is stored in the old image urls in _mkl_product_configurator_content meta_value, we cannot perform mass editing, e.g. using the Better Search & Replace plugin. So I tried it directly manually in the database. As soon as I change / correct a link in the database entry _mkl_product_configurator_content, I can no longer see any content in the admin area under Configurator settings > Content. All are set to 0 content. I don’t understand this because I only correct the image url and everything else stays 100% the same.
Since we have several thousand images for configurator content, reselecting the images via the media library is not an option for us. How can I correct the urls in the database?
A solution using tools to repair images does not work either. It is reported that 0 images were found.
I am using the Astra theme with a dropdown Cart in the Header. When I view the added product that I created in the Configurator there appears to be a broken image overlay on top of the configured product image that was generated on the fly.
I turned off the “Show configuration image in cart and checkout” but that did not get rid of it. Also when this is active the image in the Cart is fine but not in the Cart dropdown. I am unable to see it in the Checkout because the image is not showing at all. I think that I may have product images in checkout turned off.
Here is an example of the overlay I am talking about.
Is there a setting that I am missing?
I am using:
WP v6.6.1
Astra Pro v4.7.2
Astra Core v4.7.3
Product Configurator for WooCommerce v1.3.6
Thanks,
Shawn
Hi. Would it be possible to have an option which allows for a separate “main image” for mobile devices?
Thank you.
]]>Hello,
I am trying to hide a Shadow Layer in the Cart/Checkout (generated image) because it is not aligned correctly with the product. It pushes part of the product out of the picture for some reason. It would be nice if it did not do this but if I cannot get that fixed I would be fine with just hiding the Shadow Layer in the Cart/Checkout.
I have tried checking the “Hide this layer in the cart / checkout / order” box in the layer options but that does nothing. If I change the layer to “This layer does not have choices”, which is what I want, there are no options to hide so not sure how to hide the layer.
Thanks,
Shawn
]]>Hello,
I can’t figure out a couple things and hoping someone can point me in the right direction. I’m using product configurator with steps. The final step shows “CHECKOUT” button. I want it to be the “ADD TO QUOTE” option and show the quote request screen. I can’t figure it out, but it goes to the checkout page with the pricing and purchase options *and* a button to add to quote. I was hoping I could bypass the checkout and just have the quote summary. Thanks!
]]>Hello,
Is there a alternative quicker way to import products. Example using a spreadsheet to type all of your product data then import it.
Any suggestions on quicker ways would be great.
Thank you.
]]>Hi Marc,
I am having an issue where images are not loading in the viewer. After troubleshooting and researching I am not having any luck solving this.
For my use I only need one picture so I tried using the custom background image. When I first set this up it was working fine but something seems to have changed. Any help is appreciated!
]]>Hi,
Is it possible to change the text ‘Choose Options’? I am using the function below but that is not replacing the text for products setup to use the Product Configurator.
Thanks!
Joep
function my_custom_add_to_cart_text() {
$custom_text = get_theme_mod('add_to_cart_text', 'Add to Cart');
return __( $custom_text, 'woocommerce' );
}
// Shop pages and singel pages
add_filter('woocommerce_product_add_to_cart_text', 'my_custom_add_to_cart_text');
add_filter('woocommerce_product_single_add_to_cart_text', 'my_custom_add_to_cart_text');
// Variable products
function my_custom_variable_add_to_cart_text($text) {
$custom_text = get_theme_mod('add_to_cart_text', 'Add to Cart');
return __( $custom_text, 'woocommerce' );
}
add_filter('woocommerce_product_variation_add_to_cart_text', 'my_custom_variable_add_to_cart_text');
// shop page
function my_custom_variable_shop_add_to_cart_text($text, $product) {
if ($product->is_type('variable')) {
$custom_text = get_theme_mod('add_to_cart_text', 'Add to Cart');
return __( $custom_text, 'woocommerce' );
}
return $text;
}
add_filter('woocommerce_product_add_to_cart_text', 'my_custom_variable_shop_add_to_cart_text', 10, 2);
]]>
Is there a way to hide the pricing for a product and also not show the “add to cart” button? We want top drive customers to ask for a quote.
]]>