Discounts for certain Products Based on a Category

  • Posts: 77
  • Thank you received: 3
11 years 9 months ago #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

Last edit: 11 years 9 months ago by colpc. Reason: Solved some of this issue

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #88450

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 or Create an account to join the conversation.

  • Posts: 77
  • Thank you received: 3
11 years 9 months ago #88668

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`s options included is the issue.

Hope that helps explain better ?

Thanks

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #88853

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 or Create an account to join the conversation.

Time to create page: 0.036 seconds
Powered by Kunena Forum