Jump to content

available icon in cart summary


PEPPE83

Recommended Posts

Hello,
please help me to update this (modded) code from prestashop 1.4 (shopping-cart-product-line.tpl) to 1.6.0.14

{if $product.active AND $product.quantity <= $product.stock_quantity AND $product.available_for_order AND !$PS_CATALOG_MODE}
     <img src="{$img_dir}admin/enabled.gif" alt="{l s='Available'}" width="14" height="14" />
   {else}
     <img src="{$img_dir}icon/unavailable.gif" alt="{l s='Out of stock'}" width="14" height="14" />
{/if}

for prestashop 1.6.0.14, i think the code to edit is in the line #35 of shopping-cart-product-line.tpl but i'm not sure.

Please help me and sorry for my english ;)

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...