fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

All options are clickable at the front end, even if there are no variations for them at the backend.

Sashko Predarski

Hi support team,

We have one product built with a large number of variations of different sizes and colors and other options.
This is the link to the product.

https://trisontarps.com/product/shurlok-replacement-rollover-tarps-for-grain-trailers/

When the 22oz Super Duty is clicked in the material options only black, blue, and red colors should be available. Now all 6 colors are available and when some of the other colors (green, gray, and white) are selected, no prices are showing up for the variation.

Can you please help fix this?

Thank you!screenshoteasy (10).pngscreenshoteasy (9).png

Hakik Zaman

Hi Sashko,

Thanks for reaching out to us. How many variations do you have with this product?

Hope to hear from you soon.

Thank You

Sashko Predarski

Hi Hakik,

The Variations are made based on the Tarp length (ft) and the Tarp material (18 oz or 22oz).

For the 18 oz material, all six colors are available, and there are 45 variations at the back end, made based on the Tarp length (ft) and 18 oz material.

For the 22 oz, only three colors are available, and the variations are set up for every color.
In total, for the 22 oz, there are 135 variations.
45 variations for every color (black, blue, and red)
They are set up at the back end based on the Tarp length (ft), tarp material (22 oz), and colors (black, blue, and red).
In total, there are 180 variations.

Thank you for your help!

Hakik Zaman

Hi Sashko,

You can try the following snippet using the Code Snippets plugin:

add_filter( 'woo_variation_swatches_global_ajax_variation_threshold_max', 'woo_variation_swatches_global_ajax_variation_threshold_max_edit', 10, 2 );
function woo_variation_swatches_global_ajax_variation_threshold_max_edit( $size, $product ){
return 700;
}

Then check whether it resolves your issue or not.

Thank You

Sashko Predarski

Thank you Hakik!

I will need to ask our developer to do this, which may take a few days.

I will give you an update when I have one.

Sashko Predarski

Hi Hakik,

We have fixed this, and it’s working well now.

I have a question about the images not switching at the front end even though they are set at the level of the variation.

What could be causing this issue and how can it be resolved?

Thank you!

Hakik Zaman

Hi Sashko,

We have fixed this, and it’s working well now.

I am very glad that it is working as expected.

I have a question about the images not switching at the front end even though they are set at the level of the variation.

Changing images is not a feature of our plugin, is a feature of WooCommerce itself.

Could you disable our Swatches plugin and check if is it working without our plugin or not?

Thank You

Sashko Predarski

Hi Hakik,

I tested this and with disabled plugin is not working as well.

Hakik Zaman

Hi Sashko,

Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except the WooCommerce Plugin.

=> See if the problem persists.

=> If the problem is resolved, you will understand which plugin might be the culprit of this error by activating your additional plugins one by one.

Thank you

Hakik Zaman