Skip to main content

disount

More
14 years 6 months ago - 14 years 5 months ago #44583 by shiri
disount was created by shiri
Hi,
why when I set a discount for a product it shows like this(please see attached)? not like in your demo site?
Last edit: 14 years 5 months ago by shiri.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #44744 by nicolas
Replied by nicolas on topic Re: disount
Because you need to change the option "show discounted price" under the Display tab of the configuration (for the product page) and the same option of the hikashop options of your menus and modules (for products listings, via the menu Display->Content menus/modules).

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #44757 by shiri
Replied by shiri on topic Re: disount
Nicolas,

you mean changing to "Display the price before the discount is applied" because it was on "show discounted price" ..Thank you so much it works great..

One more thing I would like to have the words "on sale" close to it. Where can I do this?


I just love this software :)

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #44758 by nicolas
Replied by nicolas on topic Re: disount
You should be able to do that with a translation override (the strings related to the price display are at the top of the file):
www.hikashop.com/en/download/languages.html#modify

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago - 14 years 5 months ago #44763 by shiri
Replied by shiri on topic Re: disount
I did it..it works Thank you ...In case I like to change the color of "ON SALE" to Red what should I add?


For other users to see where I did it please see attached.
Last edit: 14 years 5 months ago by shiri.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago - 14 years 5 months ago #44796 by shiri
Replied by shiri on topic Re: disount
Actually "ON SALE" is strike through(see attached)
Last edit: 14 years 5 months ago by shiri.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #44799 by nicolas
Replied by nicolas on topic Re: disount
If you want it at the beginning, you can override PRICE_BEGINNING instead and it won't be stroked.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #44806 by shiri
Replied by shiri on topic Re: disount
It is no more striked but I got"on sale" on all my products' prices( whether they are on discount or not)

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #45020 by nicolas
Replied by nicolas on topic Re: disount
Then, if you only want it for discounted prices, you should use the key PRICE_DISCOUNT_START like that:
PRICE_DISCOUNT_START="<span style='text-decoration:none !important;'>On sale </span>"

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago - 14 years 5 months ago #45041 by shiri
Replied by shiri on topic Re: disount
Still not working..stay the same
Last edit: 14 years 5 months ago by shiri.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #45043 by nicolas
Replied by nicolas on topic Re: disount
Can you give a link so that we can see that ?

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago - 14 years 6 months ago #45050 by shiri
Replied by shiri on topic Re: disount
sorry website removed under construction
Last edit: 14 years 6 months ago by shiri.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #45194 by nicolas
Replied by nicolas on topic Re: disount
I see the problem. Even though the CSS is correctly applied, the browser still displays the stroke from the parent html element.
Then, you'll have to do differently.
Instead of that override, edit the file "listing_price" of the view "product" via the menu Display->Views and add the line:
echo 'On sale ';

after the line:
if(!empty($this->row->discount)){

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago - 14 years 6 months ago #45201 by shiri
Replied by shiri on topic Re: disount
THANK YOU :) yes it works
Last edit: 14 years 6 months ago by shiri.

Please Log in or Create an account to join the conversation.

Time to create page: 0.286 seconds
Powered by Kunena Forum