[checkout] Item Specific Coupons?

Soulcage

Joined: 2009-02-19
Posts: 6
Posted: Tue, 2009-02-24 00:07

Is there a way that to implement a coupon that only applies to a specific product type? I.e. if a user adds a download to the cart as well as a physical print, is it possible to have a coupon that discounts the download but charges the appropriate / full amount for the print?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2009-02-24 07:46

Yes, it's possible, as with all things in G2. But you'll need to write a (short) new module to do it.

The place to start is to think about how you want the user-interface to look; how do you want to configure this new feature?

 
Soulcage

Joined: 2009-02-19
Posts: 6
Posted: Tue, 2009-02-24 23:00

Couple of thoughts:

1) Global coupons are established within the Checkout Configuration within Site Admin. Ideally there would exist the ability to specify which product a coupon applies to, perhaps with a comma separated list, checkboxes, etc.

2) An option for local coupons also makes sense, configured at the album level, within the checkout module tab. The configuration options would be very similar to the global config.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2009-02-24 23:07
Quote:
etc

Quote:
An option for ... also makes sense

Weasel words. There's no php code for 'etcetera', and I don't know how to design an html page based around 'options that makes sense'. Who's going to choose between these sense-making options? Are you going to leave it down to negotiation between the browser and the webserver??

Quote:
Couple of thoughts:

You don't need 'thoughts' - you need specific, drafted, requirements, that you can produce mockups for in photoshop.
You can't sit down to write a module with 'options' and 'thoughts'. Specifics, not blather and flub, please.