fbpx
🤝  NEW YEAR SALE RETURNS - 50% OFF all plans! 🤝 Grab it Now

Swatch variation : single attribute problem

I bought swatch plugin yesterday from getwoos.

I am using teepro theme for this plugin.

I am trying to show single attribute but is not working – showing all attributes.

please help

Hakik Zaman

Hi Gyanesh,

Thanks for reaching out to us. Do you want to display a single attribute as a product on the shop/archive page?

If so, we have no such feature for that.

But if you want to display one attribute and hide the other. For example- you have color, size, and pattern attributes but you want to display only color and hide the rest of the attributes on the archive/shop page; then check this documentation: https://getwooplugins.com/documentation/woocommerce-variation-swatches/#set-single-attribute-for-shop-instead-of-many-special-attribute-catalog-setting

Hope to hear from you soon.

Thank You

Thank you for your reply.

We have already tried setting as per your documentations but that does not work, so is that problem.
We have sent  cPanel, FTP and all details of the site to you already,  could you please check and see why it is not working. If the function as per your documentation does not work for us, then the tool is not feasible for us.

pls check
https://plm.fxx.mybluehost.me/long-sleeve-t-shirts/
https://plm.fxx.mybluehost.me/product-category/products/performance-shirts/

i wanted to show colour, not size and it is not working

Hakik Zaman

Hi Gyanesh,

We need your site login credentials. Unfortunately, your given credentials are not working from my end: https://paste.pics/OCY0P

Please recheck your login credentials and let me know. So that I can check your settings.

Thank You

Hi,

I have already sent WP admin credentials to check yesterday in email as per your request, but not got any response. P

Here it is
https://plm.fxx.mybluehost.me/wp-admin
user: admin
pass: BlueHost123

Please check why – showing only one attribute option not working even if the setting are correct.

Hakik Zaman

Hi Gyanesh,

You have a theme-built feature of Swatches. The attributes were displayed from your theme.

So, I have disabled it from here: Appearance > Customize > Shop > Product Category > SWATCH STYLE ATTRIBUTES

Now if you hover over the product card, you can see the color swatches only: https://paste.pics/ODKME

I hope it will clear up your confusion.

Thank You

Hi,

I need to show the attributes below the product images as in plugin example documentation. Now its showing over the image, can it not be shown below the image?

Thanks

Hakik Zaman

Hi Gyanesh,

I have added a plugin called Code Snippets. Then added the following snippet to reposition the swatches:

add_action('woo_variation_swatches_pro_archive_page_loaded', function($wvs_pro){
remove_action('woocommerce_init', array( $wvs_pro, 'enable_swatches' ), 1);
add_action('woocommerce_after_shop_loop_item_title', array( $wvs_pro, 'after_shop_loop_item' ), 11);
}, 10, 1);

Please check now and let me know if you wanted it like this or not.

Thank You

Hakik Zaman

Hi Gyanesh,

You had added 5 here: https://paste.pics/OEIB2

I have changed the value from 5 to 0.

Please check now and let me know whether you wanted it like this or not.

Thank You