Jump to content

doua sau trei categorii


Recommended Posts

  • 2 weeks later...
  • 1 month later...

unde anume, poti fii putin mai explicit :)

acesta este fila product-list.tpl

Unde ar trebui sa adaug :) ?
Cu multa stima, Badita Florin

{if isset($products)}
<!-- Products list -->

  • {foreach from=$products item=product name=products}

  • {if $product.on_sale}
    {l s='On sale!'}
    {elseif ($product.reduction_price != 0 || $product.reduction_percent != 0) && ($product.reduction_from == $product.reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product.reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product.reduction_from))}
    {l s='Price lowered!'}

    {convertPrice price=$product.price}
    {if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}
    {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2}
    {l s='Add to cart'}
    {l s='Add to cart'}
    {l s='View'}


<!-- /Products list -->
Link to comment
Share on other sites

  • 3 weeks later...

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