Jump to content

$product.main_variants is empty


cocoblu
 Share

Recommended Posts

Hello!

I updated prestashop 1.6 to 1.7.5.1. Now, the product list (category) not show color snipets under product. Debuggin, i see that variable $product.main_variants is empty.

In the product page, is ok, the color snippets show.

Where should i continue to investigate. I´m lost...

 

Thanks so much.

 

Share this post


Link to post
Share on other sites

Well, it's already solved. apparently, there was a problem with the attributes. I had to activate the option " Show products with attributes not available on the product page " in the Configuration of products menu, and the color snippets showing!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More