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

#   Discounts for certain Products Based on a Category

##

- **[colpc](/forum/user/6409-colpc "View colpc's Profile")**
- [![colpc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6409.gif)](/forum/user/6409-colpc "View colpc's Profile") Topic Author
- [ Offline](/forum/user/6409-colpc)

Less More

- Posts: 77
- Thank you received: 3
-
-
-
-

13 years 9 months ago -  13 years 9 months ago [\#88256](#88256) by [colpc](/forum/user/6409-colpc "View colpc's Profile")  *[Discounts for certain Products Based on a Category](/forum/4-how-to/77978-discounts-for-certain-products-based-on-a-category#88256 "Hey guys .. We have a need to offer free downloads for paying members. These files are part of the regular store, but on a revolving basis we need to place some products(files) in a free area.  Is there a way to tell Hika, When you have Options for products, to ALSO include those along with the main product. As opposed to having to change the category for each and every product and their options ?  Am sure we missed something ... any suggestions ?  Thank You")* was created by *[colpc](/forum/user/6409-colpc "View colpc's Profile")*

Hey guys ..
We have a need to offer free downloads for paying members.
These files are part of the regular store, but on a revolving basis we need to
place some products(files) in a free area.

Is there a way to tell Hika, When you have Options for products, to ALSO include those along with the main product.
As opposed to having to change the category for each and every product and their options ?

Am sure we missed something ... any suggestions ?

Thank You

Last edit: 13 years 9 months ago by [colpc](/forum/user/6409-colpc "View colpc's Profile"). Reason: Solved some of this issue

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3OTc4LWRpc2NvdW50cy1mb3ItY2VydGFpbi1wcm9kdWN0cy1iYXNlZC1vbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) 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: 86580
- Thank you received: 14322
-
-

13 years 9 months ago [\#88450](#88450) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discounts for certain Products Based on a Category](/forum/4-how-to/77978-discounts-for-certain-products-based-on-a-category#88450 "Hey guys .. We have a need to offer free downloads for paying members. These files are part of the regular store, but on a revolving basis we need to place some products(files) in a free area.  Is there a way to tell Hika, When you have Options for products, to ALSO include those along with the main product. As opposed to having to change the category for each and every product and their options ?  Am sure we missed something ... any suggestions ?  Thank You")*

Hi,

To make a product free, you need to change its price (and its options' price) to 0. To make a product files free for download, you need to untick the checkbox for the files of the product (and its options files).

So I don't see why you're talking about changing the category of the products ? How is that related to having free products ?

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

- **[colpc](/forum/user/6409-colpc "View colpc's Profile")**
- [![colpc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6409.gif)](/forum/user/6409-colpc "View colpc's Profile") Topic Author
- [ Offline](/forum/user/6409-colpc)

Less More

- Posts: 77
- Thank you received: 3
-
-
-
-

13 years 9 months ago [\#88668](#88668) by [colpc](/forum/user/6409-colpc "View colpc's Profile")  Replied by *[colpc](/forum/user/6409-colpc "View colpc's Profile")* on topic *[Discounts for certain Products Based on a Category](/forum/4-how-to/77978-discounts-for-certain-products-based-on-a-category#88668 "Hey guys .. We have a need to offer free downloads for paying members. These files are part of the regular store, but on a revolving basis we need to place some products(files) in a free area.  Is there a way to tell Hika, When you have Options for products, to ALSO include those along with the main product. As opposed to having to change the category for each and every product and their options ?  Am sure we missed something ... any suggestions ?  Thank You")*

We have thousands of products.. each of those have options.
to edit each that we intend to put on sale(free) would be a task.
However to add them to a category would be somewhat easier.
Therefore, making a new category than adding the product(s) to that category, would be better.

Making that category discounted so that only a certain usergroup would get the discount.
By adding the main product, than having it&#96;s options included is the issue.

Hope that helps explain better ?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3OTc4LWRpc2NvdW50cy1mb3ItY2VydGFpbi1wcm9kdWN0cy1iYXNlZC1vbi1hLWNhdGVnb3J5P3RtcGw9bWFya2Rvd24=) 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: 86580
- Thank you received: 14322
-
-

13 years 9 months ago [\#88853](#88853) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discounts for certain Products Based on a Category](/forum/4-how-to/77978-discounts-for-certain-products-based-on-a-category#88853 "Hey guys .. We have a need to offer free downloads for paying members. These files are part of the regular store, but on a revolving basis we need to place some products(files) in a free area.  Is there a way to tell Hika, When you have Options for products, to ALSO include those along with the main product. As opposed to having to change the category for each and every product and their options ?  Am sure we missed something ... any suggestions ?  Thank You")*

Options are considered as separate products. That allows you to have discount on the main product without having discounts on the options and vice versa. It's quite useful to have such granularity.
That means that in your case, if you want that both the main product and the options become free, you will have to move both the product and the options to a category (or sub categories of a category) where the 100% discount applies.

It's not impossible to change the behavior to what you want, but it will require you (or your developer) to at least rewrite the whole selectDiscount function of the file administrator/components/com_hikashop/classes/currency.php in order to not only match the discounts and products based on the product_id but also based on the product_id of the products to which they belong to as options.

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

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