Jump to content

Latest Items remove add to basket button


stl314

Recommended Posts

For Foundation, please look in content.homepage.php.

There, you will find:

{* Remove comment if you want info button
<a href="{$product.url}" title="{$product.name}" class="button tiny secondary left">{$LANG.common.info}</a>
*}

To get a button to go to the product page, remove the first and third lines.

Then, to kill off all other buttons (Out of Stock, Add to Basket, Unavailable, etc):

{if $product.available <= 0}
... about 20 statments ...
{/if}

Wrap this entire group in a template comment:

{*
{if $product.available <= 0}
... about 20 statments ...
{/if}
*}

Similar edits for content.category.php.

Link to comment
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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