Price Range Display

  • Posts: 59
  • Thank you received: 2
  • Hikashop Business
8 years 1 week 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: 8 years 1 week ago by natselection.

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

  • Posts: 84315
  • Thank you received: 13706
  • MODERATOR
8 years 6 days 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: 8 years 6 days 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
8 years 6 days 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.062 seconds
Powered by Kunena Forum