View Single Post
  #3  
Old 03-10-2011, 10:38 PM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default Re: Best seller icon

Quote:
Originally Posted by qualiteam
You can create e.g. a Smarty modifier that will return the necessary HTML code when product is a Bestseller and further use it in the templates like this:

Code:
{$product.productid|is_bestseller}

hi i tried to put this next to the product title and it didnt work

Code:
{if $product.productid|is_bestseller} Image here {/if}

nothing shows up, and it breaks my template

im using 4.2.2
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
Reply With Quote