Jump to content

[Solver]Checkbox of comparison is not checked in manufacture and supplier


Recommended Posts

Hi!

 

i got error with checkbox of comparison with default theme.

if you try to add product to compare in manufacture page, and click on compare button

Then you come back to view product in manufacture page.

you will see the checkbox ( add to compare) is not auto checked.

 

Prestashop coder for get add the code

 

 

if (isset($this->context->cookie->id_compare))

$this->context->smarty->assign('compareProducts', CompareProduct::getCompareProducts((int)$this->context->cookie->id_compare));

 

in function initContent() of 2 controllers

ManufacturerController.php

SupplierController.php

 

I hope, prestashop can fix it in new version !!!

Link to comment
Share on other sites

×
×
  • Create New...