Price Range Display

  • Posts: 59
  • Thank you received: 2
  • Hikashop Business
7 years 8 months ago #278489

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0

Hi,

I've set menu items and modules to display the price range for products as they all have a few variants. Currently it shows the range on 2 lines with a page break inbetween. I would like the range to show on one line with either a ~ or 'to' in between like:



Could you point me to where I need to add an override?

Last edit: 7 years 8 months ago by natselection.

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

  • Posts: 83935
  • Thank you received: 13598
  • MODERATOR
7 years 8 months ago #278504

Hi,

There is no view to override. You can do that with CSS:
.hikashop_product_price_1:before {
content: '~ ';
}
.hikashop_product_several_prices br {
display: none;
}
You can add the CSS either in HikaShop or your template.
For HikaShop: www.hikashop.com/support/documentation/1...ize-the-display.html

If nevertheless you want to use a view override, it will be the view file "listing_price" of the view "product". Note that you can now easily see which view file to edit by activating the "display view files" setting of the HikaShop configuration.

Last edit: 7 years 8 months ago by nicolas.
The following user(s) said Thank You: natselection, HadiTak

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

  • Posts: 59
  • Thank you received: 2
  • Hikashop Business
7 years 8 months ago #278545

Ah I didn't even think about using CSS. Thanks Nicolas.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum