Jump to content

We cant see product color in product list view


Recommended Posts

Dear Prestashop Community,

 

Product color on list view is not visible, but only on 1 product is visible.

 

post-1222929-0-31864800-1484249699_thumb.jpg

 

Please see attached file.

 

 

When we edit any product's color combinations and save, then in the product list view it shows colors only for that last edited one, like in the example picture.

 

 

 

Edited by Lala-croatia (see edit history)
Link to comment
Share on other sites

Hi Lala, 

 

I had the same problem. It is the solution: 

 

 

Go to:

classes/controller/FrontController.php

 

Find the following lines and comment them with //

 

$products_need_cache = array();
foreach ($products as &$product) {
//if (!$this->isCached(_PS_THEME_DIR_.'product-list-colors.tpl', $this->getColorsListCacheId($product['id_product']))) {
$products_need_cache[] = (int)$product['id_product'];
//}
}

 

Lili,

Regards from Colombia

  • Like 1
Link to comment
Share on other sites

Guys, we solve this problem.

 

 When I enter in any combination of product (see pic 1 in att) and just save and stay colors apear on front (list view products) and it is ok now. ( pic 2)

 

  My opinion is that I delete maybe some cash memory or what and now I have to enter in each product and any combination and just save and stay and will be fine.

 

 

 Lili from Columbia and NemoPS many thanks for your reply ! :) Stay positive and humble ! :)

 

 Cheers from Croatia !

 

  :)

 

 

 

 

post-1222929-0-07518900-1484406997_thumb.jpg

post-1222929-0-05687300-1484407014_thumb.jpg

Edited by Lala-croatia (see edit history)
Link to comment
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
×
×
  • Create New...