disount

  • Posts: 83
  • Thank you received: 0
12 years 1 month ago #44583

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: 12 years 2 weeks ago by shiri.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 1 month ago #44744

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.

  • Posts: 83
  • Thank you received: 0
12 years 1 month ago #44757

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.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 1 month ago #44758

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.

  • Posts: 83
  • Thank you received: 0
12 years 1 month ago #44763

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: 12 years 2 weeks ago by shiri.

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

  • Posts: 83
  • Thank you received: 0
12 years 1 month ago #44796

Actually "ON SALE" is strike through(see attached)

Last edit: 12 years 2 weeks ago by shiri.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 1 month ago #44799

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.

  • Posts: 83
  • Thank you received: 0
12 years 1 month ago #44806

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.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 1 month ago #45020

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.

  • Posts: 83
  • Thank you received: 0
12 years 1 month ago #45041

Still not working..stay the same

Last edit: 12 years 2 weeks ago by shiri.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 1 month ago #45043

Can you give a link so that we can see that ?

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

  • Posts: 83
  • Thank you received: 0
12 years 1 month ago #45050

sorry website removed under construction

Last edit: 12 years 4 weeks ago by shiri.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 4 weeks ago #45194

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.

  • Posts: 83
  • Thank you received: 0
12 years 4 weeks ago #45201

THANK YOU :) yes it works

Last edit: 12 years 4 weeks ago by shiri.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum