WCMp Catalog Enquiry
-
AuthorPosts
-
-
February 18, 2021 at 10:07 AM #115908Adis DurakovicParticipant
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:
WooCommerce 3.8.1
WordPress 5.2.9
Catalog Enquiry Pro 1.1.5https://ikivienna.at/deutschkurse/deutsch-intensivkurse/
How it behaves now:
WooCommerce 5.0 (or 4.x)
WordPress 5.6.2
Catalog Enquiry Pro 2.0.2https://client-ikivienna.dnmc.in/deutschkurse/deutsch-intensivkurse/
Just try to toggle “Tageszeit” and “Zeitraum”, which should bring up the prices below.
-
February 18, 2021 at 5:38 PM #115939Adis DurakovicParticipant
The error lies within the file /plugins/woocommerce-catalog-enquiry/templates/woocommerce-catalog-enquiry-variable-product.php
I swapped
<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>
Copyfor
<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 #115952MVX Support NinjaKeymaster
Hello,
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 #115954Adis DurakovicParticipant
How it should work
https://i.imgur.com/uWV89Ai.gifHow it behaves
https://i.imgur.com/k1Thpzc.gif -
February 19, 2021 at 6:19 PM #116019MVX Support NinjaKeymaster
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 #116532Adis DurakovicParticipant
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 #116594MVX Support NinjaKeymaster
Hello,
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 #116914Adis DurakovicParticipant
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.
https://i.imgur.com/uWV89Ai.gifHowever, if I enable your plugin, the price of the variation does not change, hence the variation is not selected correctly.
https://i.imgur.com/k1Thpzc.gif -
March 4, 2021 at 6:30 PM #116959MVX Support NinjaKeymaster
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 #117238Adis DurakovicParticipant
Thank you! Now it’s working! But why did this setting got changed after an update?
-
March 9, 2021 at 6:54 PM #117244MVX Support NinjaKeymaster
Thank you for the update. In our latest version we have introduced some new settings so that might caused the changes.
-
-
AuthorPosts
The topic ‘WCMp Catalog Enquiry breaks variations in WC 4.’ is closed to new replies.