Display discount price

  • Posts: 70
  • Thank you received: 0
7 years 5 months ago #283549

-- url of the page with the problem -- : grammashop.com
-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.1

Hi, I have some problem.
1. I want to change discount.jpg to this discount 2.jpg
For price before discount I add

display: block;
in css and it work.
I want price after discount stay on the same line of "Add to cart botton(เลือกรุ่น)".

2. Regularly, Discount price will show text same as price such as price 100 dollar us to price 80 dollar us.
Can I change text "price and dollar us" from price 100 dollar us to other text?

Many Thanks

Attachments:

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

  • Posts: 83894
  • Thank you received: 13581
  • MODERATOR
7 years 5 months ago #283571

Hi,

1. You need to also add a float on the price area.
For example: monosnap.com/file/7HNaU6tm3TTGLW7m0G7x9xiuPPGhed

2. I don't understand what you mean. If you want to change the way the price display, you might be able to use some of the settings in your currency settings page in the menu System>Currencies.
Otherwise, you can also use translation overrides to add text arround the prices:
www.hikashop.com/download/languages.html#modify

The following user(s) said Thank You: Bankthaworn

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

  • Posts: 70
  • Thank you received: 0
7 years 5 months ago #283643

Many Thanks
I almost finished but I have problem.
According to image, price in other product that don't have discount price don't stay on same line with add to cart.
Can I add css If don't have discount

.hikashop_product_block .hikashop_product_price_full {
  margin-top: 15px;
}
note: grammashop.com/index.php/th/shop/hikasho...for-products-listing

Attachments:
Last edit: 7 years 5 months ago by Bankthaworn.

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 5 months ago #283757

Hello,

I think that your issue is more a page structural problem, see my screenshot :



You must override the margin command, and with this your "add to cart" button will be aside your price in all case.
Hope this will help you.

Regards

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

Time to create page: 0.233 seconds
Powered by Kunena Forum
loading