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

#   Discounts

##

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

Less More

- Posts: 28
- Thank you received: 2
-
-

14 years 5 months ago [\#53175](#53175) by [bendraper](/forum/user/6360-bendraper "View bendraper's Profile")  *[Discounts](/forum/3-bug-report/53175-discounts#53175 "I've just upgraded to 1.5.8 and the discounts appear to no longer work.  I can select a sub-category and the discounts show, but when I select a category and tick the &quot;include sub-category&quot; box this does not include the sub-categories - the discount disappears! Any thoughts?  I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category &quot;sale items&quot; and assigning those items to that category?  Kind regards  Ben")* was created by *[bendraper](/forum/user/6360-bendraper "View bendraper's Profile")*

I've just upgraded to 1.5.8 and the discounts appear to no longer work.

I can select a sub-category and the discounts show, but when I select a category and tick the "include sub-category" box this does not include the sub-categories - the discount disappears!
Any thoughts?

I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category "sale items" and assigning those items to that category?

Kind regards

Ben

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 5 months ago [\#53259](#53259) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Discounts](/forum/3-bug-report/53175-discounts#53259 "I've just upgraded to 1.5.8 and the discounts appear to no longer work.  I can select a sub-category and the discounts show, but when I select a category and tick the &quot;include sub-category&quot; box this does not include the sub-categories - the discount disappears! Any thoughts?  I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category &quot;sale items&quot; and assigning those items to that category?  Kind regards  Ben")*

1. Thank you for the report. We found the problem and corrected it. Please download again the latest version from our website and install it and it will work.

2. There is no other option for now.

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

- **[garstud](/forum/user/2505-garstud "View garstud's Profile")**
- [![garstud's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2505.jpg)](/forum/user/2505-garstud "View garstud's Profile")
- [ Offline](/forum/user/2505-garstud)

Less More

- Posts: 35
- Thank you received: 4
-
-
-
-

14 years 5 months ago [\#53264](#53264) by [garstud](/forum/user/2505-garstud "View garstud's Profile")  Replied by *[garstud](/forum/user/2505-garstud "View garstud's Profile")* on topic *[Re: Discounts](/forum/3-bug-report/53175-discounts#53264 "I've just upgraded to 1.5.8 and the discounts appear to no longer work.  I can select a sub-category and the discounts show, but when I select a category and tick the &quot;include sub-category&quot; box this does not include the sub-categories - the discount disappears! Any thoughts?  I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category &quot;sale items&quot; and assigning those items to that category?  Kind regards  Ben")*

> bendraper wrote: I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category "sale items" and assigning those items to that category?

Hello,

It seems that i have a similary need ... how do you thinking about this need ?
- a new MENU link type that will display a discount product list ?
or
- a MODULE that will display a list of n discount product ?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 5 months ago [\#53267](#53267) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Discounts](/forum/3-bug-report/53175-discounts#53267 "I've just upgraded to 1.5.8 and the discounts appear to no longer work.  I can select a sub-category and the discounts show, but when I select a category and tick the &quot;include sub-category&quot; box this does not include the sub-categories - the discount disappears! Any thoughts?  I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category &quot;sale items&quot; and assigning those items to that category?  Kind regards  Ben")*

What I want to do:

In the menus and modules forms views of the back end, in the products parameters area, add a new yes/no option called "only discounted products".
Then, in the listing function of the components/com_hikashop/views/product/view.html.php file, I'd like to add a block of code in order to add a condition in the $filters array of conditions so that the main query used in the listing of products would not display non discounted products when that option is activated.
The tricky part will be to handle all the restriction options of discounts: a discount could be only for some user groups, a discount could be only for a product, or only for the products of a category, or only for the products of a category including its sub categories. So would get quite complex to do that properly.

Another simpler approach would be to have a dropdown of the discounts instead of the yes/no option so that the code in the listing view would only base itself on the options of one discount. But that's still complex to handle.

So that's why it's not done yet... It's possible, but not easy, and with the category trick you can already kind of do that...

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

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

Less More

- Posts: 28
- Thank you received: 2
-
-

14 years 5 months ago [\#53295](#53295) by [bendraper](/forum/user/6360-bendraper "View bendraper's Profile")  Replied by *[bendraper](/forum/user/6360-bendraper "View bendraper's Profile")* on topic *[Re: Discounts](/forum/3-bug-report/53175-discounts#53295 "I've just upgraded to 1.5.8 and the discounts appear to no longer work.  I can select a sub-category and the discounts show, but when I select a category and tick the &quot;include sub-category&quot; box this does not include the sub-categories - the discount disappears! Any thoughts?  I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category &quot;sale items&quot; and assigning those items to that category?  Kind regards  Ben")*

the category trick works just fine - I have set up a discount category and then percentage sub categories with the discount applied to the relevant sub-category.

You then just set a link to the category to show all sub-elements and then assign the sub-category to each product that you want to have a discount applied to - works fine.

I would like to change the way that the discount is displayed.
It looks find in the product page "£ 22.50(strikethrough)£ 20.25 each"
but it is "-10%£ 20.25 each" on the product listing page.

Ideally I would like it to show "original price (strikethrough) -(discount %") final price - on both product listing (categories page) and the product detail page

could you point me to the file that I need to amend to do this please? Hikashop is such a great product it's got that many options and files it's hard to know where to look sometimes!!

Thanks

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 5 months ago [\#53364](#53364) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Discounts](/forum/3-bug-report/53175-discounts#53364 "I've just upgraded to 1.5.8 and the discounts appear to no longer work.  I can select a sub-category and the discounts show, but when I select a category and tick the &quot;include sub-category&quot; box this does not include the sub-categories - the discount disappears! Any thoughts?  I would also lke to create a link to all items which have a discount applied to them - is there a way of doing this (other than creating a category &quot;sale items&quot; and assigning those items to that category?  Kind regards  Ben")*

Regarding the way discounted prices are displayed, I invite you to read that thread:
[ www.hikashop.com/en/forum/4-how-to/46230...iscounted-price.html](http://www.hikashop.com/en/forum/4-how-to/46230-move-price-before-discount-above-discounted-price.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81MzE3NS1kaXNjb3VudHM/dG1wbD1tYXJrZG93bg==) 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.081 seconds

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