Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #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.
    #1462913

    Hi Team,

    Any updates on this?

    #1462921

    Hi,

    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,
    Ismael

    #1463009

    Hi,

    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?

    #1463021

    Hi,

    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,
    Ismael

    #1463243

    Hi,

    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.

    #1463288

    Hi,

    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,
    Ismael

    #1463293

    Hi,

    I couldn’t find this script, where did you find this? If you give the path it will be better to troubleshoot.

    Thanks.

    #1463295

    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?

    I am still waiting for answer for the above issue/question.

    #1463296

    If 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?

    #1463392
    #1463404

    Hi,

    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,
    Ismael

    #1463405

    Hi,

    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,
    Ismael

    #1463483

    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.

    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.

    #1463485

    Hey!

    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,
    Ismael

    #1463597

    Sure. Below are the login details

    • This reply was modified 3 months, 1 week ago by Rikard.
    #1463705

    Hi,
    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,
    Mike

    #1463805

    Hi,

    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

    #1463905

    Hi,

    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,
    Ismael

    #1463922

    Hi,

    Thank you for the update. As suggested I have disabled JS minification settings from Siteground optimiser plugin, now freezing issue is not happening.

    #1463960

    Hi,
    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

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Variable product is not working’ is closed to new replies.