Jump to content

[SOLVED] how to get cart's id products in a tpl file


Recommended Posts

Hmmm, Hope I don't mix up here:

:blink: Try this: (didn't test it. Let me know if it works. If not, I'll try tonight...)Assuming you have your $cart

 

 

{assign var=products value=$cart->getProducts()}

{foreach $products as $product}

{$product.id_product}

{/foreach}

 

pascal

 

 

EDIT: getProducts(), with big P

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...