Jump to content

How to have more product labels?


Recommended Posts

Okay, in this case, say, in the product-list.tpl file (theme folder) you can locate the appropriate spot where to add the code (perhaps near the block with the on_sale class, and add things like

 

{if $product.reduction && $product.reduction_type == 'percentage'}

    <div class="redperc">

        {$product.reduction}%

    <div>

{/if}

 

(not sure these are the correct variables)

 

THen, in global.css (theme folder/css) you must style that redperc class so that it has an absolute position, some background etc. Kinda long to explain in detail in a single post! :D

  • Like 1
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...