Jump to content

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

Recommended Posts

Sveiki. Gal kas galite padėti šiuo klausimu? Noriu panaikinti šiuos mygtukus produktų katalogo puslapyje, niekaip nerandu kur ir kaip tai padaryt.


Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More