WCMp Catalog Enquiry breaks variations in WC 4. Open
February 18, 2021 at 10:07 AM #115908
I’m about to update all plugins on a client website.
As it turns out, Catalog Enquiry breaks the variation-switch functionality.
How it’s supposed to work:
Catalog Enquiry Pro 1.1.5
How it behaves now:
WooCommerce 5.0 (or 4.x)
Catalog Enquiry Pro 2.0.2
Just try to toggle “Tageszeit” and “Zeitraum”, which should bring up the prices below.
February 18, 2021 at 5:38 PM #115939
The error lies within the file /plugins/woocommerce-catalog-enquiry/templates/woocommerce-catalog-enquiry-variable-product.php
<div class="single_variation_wrap"> <?php /** * woocommerce_before_single_variation Hook. */ do_action('woocommerce_catalog_enquiry_before_single_variation'); /** * woocommerce_single_variation hook. Used to output the cart button and placeholder for variation data. */ do_action('woocommerce_catalog_enquiry_single_variation'); /** * woocommerce_after_single_variation Hook. */ do_action('woocommerce_catalog_enquiry_after_single_variation'); ?> </div>Copy
<div class="single_variation_wrap"> <?php /** * Hook: woocommerce_before_single_variation. */ do_action('woocommerce_before_single_variation'); /** * Hook: woocommerce_single_variation. Used to output the cart button and placeholder for variation data. * * @since 2.4.0 * @hooked woocommerce_single_variation - 10 Empty div for variation data. * @hooked woocommerce_single_variation_add_to_cart_button - 20 Qty and cart button. */ do_action('woocommerce_single_variation'); /** * Hook: woocommerce_after_single_variation. */ do_action('woocommerce_after_single_variation'); ?> </div>Copy
February 18, 2021 at 6:31 PM #115952
can you please share a detailed video of the issue that you are facing so that we can understand the actual issue and guide you accordingly.
February 19, 2021 at 10:23 AM #115954
February 19, 2021 at 6:19 PM #116019
May I know if you have checked marketplace plugin with WooCommerce and standard theme (storefront/twenty). Please deactivate all your plugin, except WooCommerce and WCMp + addon. You can then check the flow. If everything is working fine, in order to detect which plugin is causing conflict- please activate each plugin consecutively and check the flow.
Similarly, for theme conflict- please deactivate the current theme and check with standard WooCommerce theme (storefront/twenty) It is suggested to please perform these tests on your staging website and keep us posted with the outcome.
February 25, 2021 at 10:01 PM #116532
I have checked it with twenty-theme, same issue. But why would I bother testing by disabling other plugins, when I already provided you the working code. You just have to implement it.
February 26, 2021 at 7:28 PM #116594
We have tested it at our end and its working fine as you can see here https://www.loom.com/share/144bfc5a0f574a05ab4f23e5de90bc34
Kindly let us know if you need any further assistance.
March 4, 2021 at 10:08 AM #116914
Sorry, but are you kidding me?
What exactly is your screen recording supposed to show me?
Do you see how the price of the variable product changes, when selecting a variation like here? This is, how it’s supposed to work.
However, if I enable your plugin, the price of the variation does not change, hence the variation is not selected correctly.
March 4, 2021 at 6:30 PM #116959
Kindly check if you have enabled the add to cart settings from the backend as you can see here (https://prnt.sc/10cvzsn).
We have tested it at our end and it is working fine as you can see here (https://www.loom.com/share/7e16d403bc80447993f55bda7a4cfb27)
March 9, 2021 at 6:43 PM #117238
Thank you! Now it’s working! But why did this setting got changed after an update?
March 9, 2021 at 6:54 PM #117244
Thank you for the update. In our latest version we have introduced some new settings so that might caused the changes.
Please LOGIN to reply to this topic