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

#   Discount - Combine brand with category

##

- **[ddasios](/forum/user/36689-ddasios "View ddasios's Profile")**
- [![ddasios's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar36689.jpg)](/forum/user/36689-ddasios "View ddasios's Profile") Topic Author
- [ Offline](/forum/user/36689-ddasios)

Less More

- Posts: 17
- Thank you received: 1
-
-

10 years 7 months ago -  10 years 7 months ago [\#236192](#236192) by [ddasios](/forum/user/36689-ddasios "View ddasios's Profile")  *[Discount - Combine brand with category](/forum/25-install-update/883778-discount-combine-brand-with-category#236192 "please move to the appropriate section, sorry it was my mistake! -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.3  Hello. I want to implement the following type if discount: I want to add a discount (let's say 10%) to a single category, but only for the products that have a specific brand, not to all of the products of this category. Is it possible to make this work? If it is not could you send me some information of the files I will have to add some php code and modify to implement this? Thank you very much Dennis")* was created by *[ddasios](/forum/user/36689-ddasios "View ddasios's Profile")*

please move to the appropriate section, sorry it was my mistake!
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.3

Hello.
I want to implement the following type if discount:
I want to add a discount (let's say 10%) to a single category, but only for the products that have a specific brand, not to all of the products of this category.
Is it possible to make this work?
If it is not could you send me some information of the files I will have to add some php code and modify to implement this?
Thank you very much
Dennis

Last edit: 10 years 7 months ago by [ddasios](/forum/user/36689-ddasios "View ddasios's Profile"). Reason: inappropriate category

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4Mzc3OC1kaXNjb3VudC1jb21iaW5lLWJyYW5kLXdpdGgtY2F0ZWdvcnk/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: 86589
- Thank you received: 14327
-
-

10 years 7 months ago [\#236199](#236199) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount - Combine brand with category](/forum/25-install-update/883778-discount-combine-brand-with-category#236199 "please move to the appropriate section, sorry it was my mistake! -- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.3  Hello. I want to implement the following type if discount: I want to add a discount (let's say 10%) to a single category, but only for the products that have a specific brand, not to all of the products of this category. Is it possible to make this work? If it is not could you send me some information of the files I will have to add some php code and modify to implement this? Thank you very much Dennis")*

Hi,

There is no option to do that. But why not select the products you want the discount to apply on directly thanks to the corresponding option of the discount ?
If you want to modify the discount loading system to add restrictions, you would have to edit the functions getPrices and getListingPrices of the file administrator/components/com_hikashop/classes/currency.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4Mzc3OC1kaXNjb3VudC1jb21iaW5lLWJyYW5kLXdpdGgtY2F0ZWdvcnk/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.071 seconds

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