How to display only the unit price only on the detail view

  • Posts: 159
  • Thank you received: 12
  • Hikashop Business
3 years 9 months ago #333144

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.27
-- PHP version -- : 7.4.19
-- Browser(s) name and version -- : Firefox Developer 90.0b1

Hello,

I have a product with different prices according the quantity ordered.
On the detail view, the title displays them all while I would like only the unit price to be displayed (so here only 10€)


I succeeded to have the unit price only on the category pages but not the detail view.

Could you tell me how I can do it?

Thanks in advance and enjoy the upcoming weekend!

Sandra

Attachments:

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

  • Posts: 83403
  • Thank you received: 13497
  • MODERATOR
3 years 9 months ago #333150

Hi,

There is indeed no option to hide the other prices on the product page.
However, it's easy to hide them with CSS.
You can add such CSS code:
.hikashop_product_price_with_min_qty{ display:none; }
You can add that CSS code either in your template if it provides that capability, or you can add it to HikaShop as explained here:
www.hikashop.com/support/documentation/1...ize-the-display.html

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

  • Posts: 159
  • Thank you received: 12
  • Hikashop Business
3 years 9 months ago #333171

Hi Nicolas,

Thansk for your answer.
I was thinking about hiding them with CSS but I wanted to be sure there wasn't a 'cleaner' way.

Let's go for CSS!

Thanks again.

Sandra

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

Time to create page: 0.062 seconds
Powered by Kunena Forum