Price and discounted price format

  • Posts: 174
  • Thank you received: 4
  • Hikashop Business
10 years 10 months ago #159410

-- url of the page with the problem -- : salsashoes.com.au
-- HikaShop version -- : 2.3.0 Essential
-- Joomla version -- : 3.2
Hi,
I was wondering how I am able to insert a line feed between the price of a product and the discounted one as in the link:
salsashoes.com.au/hikashop-menu-for-prod...ies-salsa-shoes.html
Also, I would like to be able to omit the "each" word.
Regards.

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

  • Posts: 83678
  • Thank you received: 13547
  • MODERATOR
10 years 10 months ago #159464

Hi,

1. You could add such CSS:

.hikashop_products .hikashop_product_price_before_discount{
display: inline-block;
border-bottom: 1px solid black;
width: 40%;
}
.hikashop_products .hikashop_product_price_with_discount{
display: block;
}
www.hikashop.com/support/support/documen...ize-the-display.html

2. To remove the each word, you can use a translation override:
hikashop.com/download/languages.html#modify

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

  • Posts: 540
  • Thank you received: 49
10 years 10 months ago #159891

hi i have a question:
i create few demo products in one category and set discount for this category (4euro) and set option show_full_price before discount. -
in product page all fine
in hikashop-menu-for-products-listing (default menu after hika installation) product listing show with discount amount (eg -4Euro 12.9euro) before price but must be full price (eg 16.9euro12.9euro) - its a bug or i something missed?

if i add my own menu item product_listing discount and price show ok


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 10 years 10 months ago by master_b.

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

  • Posts: 83678
  • Thank you received: 13547
  • MODERATOR
10 years 10 months ago #159917

Hi,

It's not a bug. It's just that your products listing has the same option that you want to change. You can edit your products listing menu/module via the menu Display>Content menus/modules and change that "show discounted prices" option there in a similar manner and you'll then see it like you want on the listing too.

The following user(s) said Thank You: master_b

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

  • Posts: 540
  • Thank you received: 49
10 years 10 months ago #160027

tnx now all fine)


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

  • Posts: 540
  • Thank you received: 49
10 years 10 months ago #160191

one more question - where is option for disable show discount before price in checkout form?


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

  • Posts: 83678
  • Thank you received: 13547
  • MODERATOR
10 years 10 months ago #160301

For the checkout, it uses the main setting of the configuration.
If you still want the main setting activated but not in the checkout, you need to edit the file "cart" of the view "checkout" via Display>Views and add the line below at the top:

<?php $this->params->set('show_discount',0); ?>

Last edit: 10 years 10 months ago by nicolas.
The following user(s) said Thank You: master_b, serbofleconcepts

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

  • Posts: 174
  • Thank you received: 4
  • Hikashop Business
10 years 10 months ago #160342

When you say "add" where do you mean?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #160360

Hi,

You can add it at the top of the file.
hikashop.com/support/support/documentati...ize-the-display.html

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

Time to create page: 0.085 seconds
Powered by Kunena Forum