11

Does anyone know if it is possible to set up a promo code in Store that only applies to products in a certain category?

I am happy to use an extension (if one exists) to fill the gap if this isn't supported natively.

6

There are no existing extensions that I'm aware of that can handle this functionality. Currently promo code discounts are applied to a whole order, not individual items.

However, it would certainly be possible to write something in PHP to handle this using the extension hooks.

  • Thanks, I'll chat to the client and see if it is a necessity. – Jeremy Worboys Nov 17 '12 at 2:56
  • 3
    For what it is worth, I think it's a solid idea to be baked into the core of Store. – Mutual Nov 18 '12 at 13:05
  • 1
    Yep, we have plans to overhaul our promotions system (at some point in the indeterminate future) so will keep this in mind. – Adrian Macneil Nov 18 '12 at 23:35
  • Which hooks would you use to accomplish this and how would the add-on know what category to check against? It seems to me we'd have to modify Store itself. E.g. for my own uses I want to use Zoo Visitors & Categories to simular plural member groups, so I wouldn't want to just check if a Product has the category but if a particular member is of such and such category... – notacouch Feb 27 '13 at 23:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.