Jump to content

[SOLVED]manufacturer in cart summary


Recommended Posts

  • 1 month later...

First you need to add the following at line 252 of classes/Cart.php (after the $row['features'] line):

$row['manufacturer_name'] = Manufacturer::getNameById(intval($row['id_manufacturer']));



Then you will be able to add the manufacturer name wherever you want in the shopping cart summary by writing the following in shopping-cart.tpl in your theme's directory:

{$product.manufacturer_name}

  • Like 1
Link to comment
Share on other sites

  • 6 years later...
×
×
  • Create New...