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

plugin not displaying color variations on home page

Julio Andral

hi,

I hope you are doing well. I want to show my products on the homepage with color variations. For this, I bought a premium version of your plugin. But there is no color variation on the home page. Here is a link to the reference website.

https://www.vitalydesign.com/

Please help me fix this issue

 

 

 

Hakik Zaman

Hi Julio,

Thanks for reaching out to us. How do you bring the products to the homepage?

From my inspection, you are using Essential Addons to display the product grid on the homepage.

Unfortunately, they didn’t keep any WooCommerce hook to push the swatches. So, you have to override their template file. To override the template file, please carefully follow the below steps:

=> [Recommendation] We are assuming you are using a child theme. If you are using a parent theme, this custom work will be erased once you update your theme.

=> Create a folder ‘Template‘ inside your current theme. Inside the ‘Template’ folder create another folder called Woo-Product-Gallery

=> Then add this file: https://gist.github.com/hakikz/cf6ba10032dad5008f2f38cf332a129d to the Woo-Product-Gallery folder.

=> The file name should be default.php

Then check again. Before checking, don’t forget to clear the caches like- browser cache, caching plugin cache, and server-side cache.

Hope to hear from you soon.

Thank You

Julio Andral

Thanks for reply.

This code is not working now.

can you check the reason?

Hakik Zaman

Hi Julio,

I have added the product wrapper as per your theme markup here: https://i2.paste.pics/NAV7O.png

Please check now and don’t forget to clear your caches before checking.

Hope to hear from you soon.

Thank You

Julio Andral

Thanks for Your Great Support.

Product page

Shop Page

Home Page

I really appreciate your quick support.

But there is a problem with variations on home page.

I have attached all three images product page, shop page and home page as reference.

You can see color variation box on product page and shop page is filled with color but on home page it is half empty which is not as our website design. Please help me to fix this issue.

Regards

 

Hakik Zaman

Hi Julio,

The Essential Addons plugin is overwriting our CSS: https://prnt.sc/4Ne9d5z6nB6E

Please add the following CSS at Appearance > Customize > Additional CSS:

.woo-variation-swatches .variable-items-wrapper .variable-item img {
height: 100% !important;
}

Then check whether it behaves as it should or not.

Thank You

Julio Andral

It worked.

You are really amazing. Bundle of thanks

Julio Andral

Thanks for your support at every step.

Current order of variation swatches is Gold, Black and silver.

Is there a way to order these variations as Silver, Gold and Black?

I shall be very thankfull to you for this help.

Julio Andral

=> Create a folder ‘Template‘ inside your current theme. Inside the ‘Template’ folder, create another folder called Woo-Product-Galler

Is this only for woo product gallery widget?

what if we want to use product grid of essential add-ons on our website?

Julio Andral

I had left my review with 5 star on link provided.

Please reply my query regarding product grid widget of essentials add-ons.

Hakik Zaman

Hi Julio,

Please reply my query regarding product grid widget of essentials add-ons.

We sincerely apologize for any inconvenience you may have experienced. If you don’t mind, could you please let us know if you are currently experiencing any issues with the product grid? Additionally, have you already attempted to use it? Your response will enable us to better understand and resolve any issues you may be encountering.

I had left my review with 5 star on link provided.

Unfortunately, I didn’t find any reviews here: https://wordpress.org/support/plugin/woo-variation-swatches/reviews/?filter=5 😞

Thank You

Julio Andral

If I display my products using product grid widget, variation swatches not appear with these products. The swatches are only displaying when we use woo product gallery.

 

Julio Andral

grid widget does not show swatches on home page

 

 

Hakik Zaman

Hi Julio,

As I said before, they didn’t keep any standard WooCommerce hook to push the swatches.

You can try this setting for Product Grid: https://paste.pics/NNGCX to get swatches.

Thank You