Jump to content

[solved]reduction percent over image


Recommended Posts

Hi there,

1. I want to show reduction percent on top of the image, so that it could be visible in category view(product list)

2. same thing, but in product view(reduction percent on top of the image)

 

 

attached a pic. so its more clear what i need.

 

 

its a style change i figured that out.but witch files must i change and how exactly i dont know. any help will be greatly appreciated.thanks.

Edited by laziali (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

anyway, after some digging found something similar that works for me. in the tpl file ive added

 

<p class="reduction_percent">

<span class="reduction_percent_display">

{if $product.specific_prices.reduction_type == 'percentage'}

-{$product.specific_prices.reduction*100}%

{else}

-{convertPrice price=$product.specific_prices.reduction}

combined with a few rows in the global.css worked for my "non-default" theme.thanks.

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