Jump to content

"Instock" ir "add to cart" product liste rodymas


bivainis

Recommended Posts

Radau ir sutsitvarkiau, dėkui. Jei kam kiltų tas pats klausimas, product-list.tpl  faile ištrinti kelias eilutes:

 

<span class="price">{convertPrice price=$product.price}</span> //panaikina kainos rodyma

<span class="availability">{if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}</span> //panaikina likučio rodyma

{if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} <a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$base_dir}cart.php?add&id_product={$product.id_product|intval}&token={$static_token}">{l s='Add to cart'}</a> {else} <span class="exclusive">{l s='Add to cart'}</span> {/if} //panaikina mygtuka I KREPSELI

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