[Skip to main content](#vessel-content)

#   Display Regular and Sale Price

##

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 9 months ago [\#91158](#91158) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  *[Display Regular and Sale Price](/forum/4-how-to/78567-display-regular-and-sale-price#91158 "Display Regular and Sale Price  I set-up a section to reduce items by 30%. Currently the discount is displayed like this: -30%$420.00  I would like the prices to be shown like this: was $600 | Now $420 (30% off)  How can I get it to show as per above instead please?  Thanks in advance!!")* was created by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")*

Display Regular and Sale Price

I set-up a section to reduce items by 30%. Currently the discount is displayed like this:
-30%$420.00

I would like the prices to be shown like this:
was $600 &#124; Now $420 (30% off)

How can I get it to show as per above instead please?

Thanks in advance!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTY3LWRpc3BsYXktcmVndWxhci1hbmQtc2FsZS1wcmljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#91174](#91174) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Display Regular and Sale Price](/forum/4-how-to/78567-display-regular-and-sale-price#91174 "Display Regular and Sale Price  I set-up a section to reduce items by 30%. Currently the discount is displayed like this: -30%$420.00  I would like the prices to be shown like this: was $600 | Now $420 (30% off)  How can I get it to show as per above instead please?  Thanks in advance!!")*

Hi,

In the HikaShop configuration, in "Display / Default parameters for products" you have some options about the way to display the price, like "Show discounted price".

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTY3LWRpc3BsYXktcmVndWxhci1hbmQtc2FsZS1wcmljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 9 months ago [\#91175](#91175) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Display Regular and Sale Price](/forum/4-how-to/78567-display-regular-and-sale-price#91175 "Display Regular and Sale Price  I set-up a section to reduce items by 30%. Currently the discount is displayed like this: -30%$420.00  I would like the prices to be shown like this: was $600 | Now $420 (30% off)  How can I get it to show as per above instead please?  Thanks in advance!!")*

I already did that. Unless I'm missing something ![:(](/media/kunena/emoticons/22.png ":(")

I went to System &gt; Configuration &gt; Display. Then in the section "Default parameters for products" next to "Show discounted price" I choose "Display the price before the discount is applied".

It sure doesn't look anything like what I am suggesting.

Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTY3LWRpc3BsYXktcmVndWxhci1hbmQtc2FsZS1wcmljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#91268](#91268) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Display Regular and Sale Price](/forum/4-how-to/78567-display-regular-and-sale-price#91268 "Display Regular and Sale Price  I set-up a section to reduce items by 30%. Currently the discount is displayed like this: -30%$420.00  I would like the prices to be shown like this: was $600 | Now $420 (30% off)  How can I get it to show as per above instead please?  Thanks in advance!!")*

Hi,

Where do you need this display ? On the product page or/and in the listing ?

For the listing, you can change these parameters in the module options which is displaying the listing of products.
HikaShop &gt; Display &gt; Content modules &gt; "Show discounted price"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTY3LWRpc3BsYXktcmVndWxhci1hbmQtc2FsZS1wcmljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 9 months ago [\#91286](#91286) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Display Regular and Sale Price](/forum/4-how-to/78567-display-regular-and-sale-price#91286 "Display Regular and Sale Price  I set-up a section to reduce items by 30%. Currently the discount is displayed like this: -30%$420.00  I would like the prices to be shown like this: was $600 | Now $420 (30% off)  How can I get it to show as per above instead please?  Thanks in advance!!")*

Oh I see thanks.

Can you tell me how and where to add the discount. eg: (30% off). I would like it to automatically indicate what the savings is if possible.

Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTY3LWRpc3BsYXktcmVndWxhci1hbmQtc2FsZS1wcmljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#91322](#91322) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Display Regular and Sale Price](/forum/4-how-to/78567-display-regular-and-sale-price#91322 "Display Regular and Sale Price  I set-up a section to reduce items by 30%. Currently the discount is displayed like this: -30%$420.00  I would like the prices to be shown like this: was $600 | Now $420 (30% off)  How can I get it to show as per above instead please?  Thanks in advance!!")*

You want to display "30% off" in addition to the normal price and discounted price ?

So you have to edit the view "product / listing_price" and paste the line: Code:

echo -1*$this-&gt;row-&gt;discount-&gt;discount_percent_amount.'%';

just after: Code:

elseif($this-&gt;params-&gt;get('show_discount')==2){

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTY3LWRpc3BsYXktcmVndWxhci1hbmQtc2FsZS1wcmljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
