Tagged: variable product
-
AuthorPosts
-
July 24, 2024 at 11:09 am #1462849
Hi,
I have a variable product, while selecting the variation screen freezes so unable to see the prices.
Please see the screen record https://www.awesomescreenshot.com/video/29838916?key=eeddceba092b1c3f1a18242870c7ed1d
If I logged in this issue is not happening.Another issue with variable product is When I select any make and the second select box should show variations with respect to the selected Make, but its showing all the Models. How can I show only corresponding Models depending upon selected Make?
If you need any further information please let me know.
Thanks.
- This topic was modified 3 months, 2 weeks ago by Gauravb77.
July 25, 2024 at 5:08 am #1462913Hi Team,
Any updates on this?
July 25, 2024 at 6:42 am #1462921Hi,
Thank you for the inquiry.
We can’t reproduce the same issue on our end. When we select Ford, model Ford Ranger MY22, and variant King Series Plus, the price displays as $3,460.00. It doesn’t freeze or get stuck. Is it still happening on your end? Please try a different browser or device.
Best regards,
IsmaelJuly 26, 2024 at 4:34 am #1463009Hi,
Thank you for having a look at it. Its because I have installed YITH WooCommerce Product Add-ons & Extra Options, after installing this plugin that issue is not coming, if I disable that one freezing issue is coming. Currently I have disabled YITH WooCommerce Product Add-ons & Extra Options so you see that issue.
What bout this issue?
Another issue with variable product is When I select any make and the second select box should show variations with respect to the selected Make, but its showing all the Models. How can I show only corresponding Models depending upon selected Make?July 26, 2024 at 7:56 am #1463021Hi,
Thank you for the update.
We’re seeing a few jQuery errors which might be related. Did you add this script?
<script type="text/javascript"> jQuery(function($) { jQuery('.dropdown_product_cat').on('change', function() { if (jQuery(this).val() != '') { var this_page = ''; var home_url = 'https://www.site.com.au/'; if (home_url.indexOf('?') > 0) { this_page = home_url + '&product_cat=' + jQuery(this).val(); } else { this_page = home_url + '?product_cat=' + jQuery(this).val(); } location.href = this_page; } else { location.href = 'https://www.site.com.au/4x4-accessories-shop/'; } }); if (jQuery().selectWoo) { var wc_product_cat_select = function() { jQuery('.dropdown_product_cat').selectWoo({ placeholder: 'Select a category', minimumResultsForSearch: 5, width: '100%', allowClear: true, language: { noResults: function() { return 'No matches found'; } } }); }; wc_product_cat_select(); } }); </script>
I have installed YITH WooCommerce Product Add-ons & Extra Options
You might have set up the product page while this plugin was enabled, so when you disabled the plugin, the custom variation switches stopped working. Why did you disable the plugin?
Another issue with variable product is When I select any make and the second select box should show variations with respect to the selected Make,
How did you create the variations? Image switching should work when Enfold > Shop Options > Product Gallery is set to the second option (WooCommerce 3.0 gallery). Also, the product variations should be set up as described in the documentation below.
// https://woocommerce.com/document/variable-product/#adding-a-variable-product
Best regards,
IsmaelJuly 29, 2024 at 1:14 pm #1463243Hi,
We’re seeing a few jQuery errors which might be related. Did you add this script?
No I didn’t added this code. May be previous developer, which file you see this code, I couldn’t find it anywhere.
Why did you disable the plugin?
I didn’t created product variations using YITH WooCommerce Product Add-ons & Extra Options, Before installing this plugin that freezing error was there, when I activate that plugin the freezing issue is not happening, that’s what i meant.
July 30, 2024 at 5:44 am #1463288Hi,
I didn’t created product variations using YITH WooCommerce Product Add-ons & Extra Options,
I don’t think you can create these types of products without an additional plugin. Unfortunately, we are not yet sure what’s causing the issue. Please keep the plugin enabled for now and contact the plugin developers for more info.
Best regards,
IsmaelJuly 30, 2024 at 6:48 am #1463293Hi,
I couldn’t find this script, where did you find this? If you give the path it will be better to troubleshoot.
Thanks.
July 30, 2024 at 6:51 am #1463295What bout this issue?
Another issue with variable product is When I select any make and the second select box should show variations with respect to the selected Make, but its showing all the Models. How can I show only corresponding Models depending upon selected Make?I am still waiting for answer for the above issue/question.
July 30, 2024 at 6:53 am #1463296If I enable the plugin it works fine(freezing issue is not happening) and if disable the plugin freezing issue starts. How is this become a plugin issue and on what basis you are asking to contact the plugin team?
July 31, 2024 at 4:41 am #1463392You can check this issue on this product
https://www.staging3.4x4gearaccessories.com.au/product/hamer-range-coming-to-4×4-gear/July 31, 2024 at 7:48 am #1463404Hi,
If I enable the plugin it works fine(freezing issue is not happening) and if disable the plugin freezing issue starts.
As mentioned above, it’s possible that products or variations are created while the plugin was enabled and include options that are only present when the plugin is active, which could be causing the freezing issue when the plugin is disabled. To test this, please try recreating the product while the plugin is disabled.
Regarding variable products, please note that this is the default behavior. The “make” and “model” are separate attributes, so selecting a specific make will not affect the selections in the model list, and vice versa. If you want to test this, you can import sample data or products from WooCommerce and check the variable products.
// https://woocommerce.com/document/variable-product/
Best regards,
IsmaelJuly 31, 2024 at 7:49 am #1463405Hi,
I couldn’t find this script, where did you find this? If you give the path it will be better to troubleshoot.
The script is added inline in the document. This might be a script from the plugin or one of its extensions.
Best regards,
IsmaelAugust 1, 2024 at 5:32 am #1463483As mentioned above, it’s possible that products or variations are created while the plugin was enabled and include options that are only present when the plugin is active, which could be causing the freezing issue when the plugin is disabled. To test this, please try recreating the product while the plugin is disabled.
Those products are created on 12th July 2024, and I have added that YITH plugin(currently deactivated) after 24th July 2024. So I can surely say that this freezing issue is not happening because i installed this plugin.
One more thing i have tried WP default Twenty Twenty four theme and this freezing issue is not happening.
https://www.staging3.4x4gearaccessories.com.au/product/hamer-range-coming-to-4×4-gear/
https://www.staging3.4x4gearaccessories.com.au/product/king-series-plus-bull-bar-for-ford-ranger-2022-present/Above two products was added on 12th July.
August 1, 2024 at 5:54 am #1463485Hey!
The issue is likely due to the script error that we mentioned above. Please try to temporarily disable all product extensions, then purge the cache. Have you tried creating a new variable product? Please provide the login details in the private field so that we can check the issue further.
Best regards,
IsmaelAugust 2, 2024 at 8:31 am #1463597Sure. Below are the login details
- This reply was modified 3 months, 1 week ago by Rikard.
August 3, 2024 at 5:13 pm #1463705Hi,
Thank you for your patience and the login, when I check your page I do not find an error like in your screen recording with either the “YITH WooCommerce Product Add-ons & Extra Options” disabled or enabled.
Perhaps it is an option in the plugin, or perhaps it is one of your other woo plugins?Best regards,
MikeAugust 5, 2024 at 5:08 am #1463805Hi,
If you log in and check any product, the freezing issue does not occur. It only happens when checking a variable product without logging in and the plugin is disabled. I have currently disabled the YITH plugin. Please check this product in an incognito window: https://www.staging3.4x4gearaccessories.com.au/product/efs-bull-bar-range-now-avaiable-at-4×4-gear-accessories/ to see the issue happening.
Please urgently look into this matter, as it has been over a week without a resolution.
Thanks
August 6, 2024 at 5:51 am #1463905Hi,
Thank you for the info.
The issue doesn’t occur when we deactivate the “Speed Optimizer” plugin. It might be related to a plugin option that disables jQuery or changes its location because the script errors don’t occur when the plugin is disabled. Please review the plugin options or check with the plugin developers.
Best regards,
IsmaelAugust 6, 2024 at 8:33 am #1463922Hi,
Thank you for the update. As suggested I have disabled JS minification settings from Siteground optimiser plugin, now freezing issue is not happening.
August 6, 2024 at 4:34 pm #1463960Hi,
Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Variable product is not working’ is closed to new replies.