• Resolved riccardocrosa

    (@riccardocrosa)


    We use your plugin in the free version in the e-commerce of a haberdashery with 5 attributes for the variable product, in order: height (ribbons and fabrics), age (of the wearer), yarn count (thread thickness), shape, colour and generic variant (sku).
    The colour variant has a predefined palette of 8 colours in Color mode and the generic variant (sku) is in image mode while all others are in select mode and the general configuration of the plugin is to convert all Dropdown Swatches to Label Swatches.
    All is well with the use of the yarn title and colour buttons and the combination of them, but when we have the height variant we have an issue: selecting the ribbon height button in mm does not delete the subsequent variants (sku in image version) keeping only those of the selected height, but continues to show them all preventing the user from choosing the product with the selected height.
    Here you are the images of the problem (1 and 2) and the images of the working plugin (3-6) https://drive.google.com/drive/folders/1eMuFLMS3GeHuO7OW12l4CAAyET3vLZe7?usp=sharing
    We have carried out every possible test on our part, but cannot find a way to make it work.
    Do you have any suggestions?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Thanks for reaching out to us. Are you talking about this feature- https://prnt.sc/eXT2hWZI5DNu?

    Hope to hear from you soon!

    Thread Starter riccardocrosa

    (@riccardocrosa)

    Hi, certainly not, simply with that product the buttons and selector images do not work. I will explain the example in photos 1 and 2. I would like to select a double satin ribbon with a height of 25 mm and when I select the button all the images of ribbons with different heights normally disappear so that the user can only choose between the ribbons with a height of 25 mm. In our case all ribbons remain visible and it is not at all intuitive to be able to find the preferred 25 mm ribbon.
    Thank you

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi @riccardocrosa

    How many variations do you have where it is not disappearing at different heights?

    Thanks

    Thread Starter riccardocrosa

    (@riccardocrosa)

    We have tried with 2: belt height and variant image SKU and it does not work and we have tried 3: colour, ariant image SKU and it still does not work.

    You can see in the image folder the general configuration of the plugin (settings.jpg) that for every other product with variations works perfectly.

    Thread Starter riccardocrosa

    (@riccardocrosa)

    Thank you for the clue.

    Your question gave us the way to solve the problem. We had 301 database rows and the setting was on 300! We raised the Ajax Variations Threshold to 500 and solved it.

    Can you tell me how high we can go? Thank you

    I had the same problem with version 2.0.10. I tested it with different versions and the one that works is 1.1.19.

    Starting with 2.0 there is no option for the “Ajax variation threshold” and then I have the same problem as @riccardocrosa

    My WordPress version is 5.9.5, WooCommerce is 7.0.0 – is the old WordPress-versions the problem, @fizanzvai ?

    Plugin Support fizanzvai

    (@fizanzvai)

    @dermachacek

    How many variations do you have (for those specific products)?

    I tested it with 3 products, they have 40, 43 and 48 variations.

    Thank you for your fast reply!

    Plugin Support fizanzvai

    (@fizanzvai)

    @dermachacek

    Please add the following snippet using the Code Snippets plugin.

    Or,

    Keep it inside your current activated theme’s functions.php file

    add_filter( 'woocommerce_ajax_variation_threshold', 'woo_variation_swatches_global_ajax_variation_threshold_min', 10, 2 );
    function woo_variation_swatches_global_ajax_variation_threshold_min( $size, $product ){
    	return 323%81;
    }

    Then let me know if it resolves your issue or not.

    The problem is fixed, also in version 2.0.11 – so thank you for this @fizanzvai – but…

    There is another problem now: the colors are not shown. Here is a product detail page: https://www.filii.wien/shop/kinder-jugendmoebel/kindersofa-kindercouch/sofa-chilli-filii/

    Do you have an idea how I can fix this?

    • This reply was modified 2 years, 1 month ago by dermachacek.
    Plugin Support fizanzvai

    (@fizanzvai)

    @dermachacek

    Did you configure the color swatches correctly?

    Please check again the attribute type of Farbe.

    The color swatches are correct, they are working in version 1.1.19.

    I have no clue what is wrong. If it is not working with 2.0.11 the I have to step back to 1.1.19.

    Do you have another idea, @fizanzvai ? Thank you for your help till now!

    Plugin Support fizanzvai

    (@fizanzvai)

    @dermachacek

    In that case, we need to inspect it. It is a public forum and you can’t give sensitive data here.

    It will be great if you contact us through our site.

    Thanks

    I updated WordPress to the latest version, but as I expected it doesn’t fix the problem.

    I cannot spend more time at the moment on it. I will go with version 1.1.19 for now.

    I just can tell you that
    – with version 1.1.19 I see the image file name for the color swatches in the source code
    – with version 2.0.11 I don’t see the image file name – it’s not there, so it can’t be shown.

    Thank you for trying to help me – appreciate it!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘The buttons of an attribute do not work’ is closed to new replies.