Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
dancingPaul
dancingPaul
I'm selling workshop registrations through my ViArt store. I have a product in the store for "Workshop Registration", and I have the user select the date that gets added as an attribute. I'd like to create a coupon that can only be applied to a specific date of the workshop. Is there a way to have a coupon only be applied if one of the options matches a set of criteria?
 
I know that I could create a price adjustment if the user selects a specific option (i.e. the specific date), but I'd like to be able to use a coupon code in order to take the discount if possible
 
If this isn't possible with the current viart setup, can anybody recommend where I would start with a customization, or if any other forum threads deal with this?
 
vic140
vic140
dancingPaul -- Yes ViArt has an excellent way to make each of your dates a separate product. (There may be other angles, but here is how I do it).
 
Create a category that will not display so it won't show up on the menu, for instance "Workshop Dates Hidden". Add a product for each date. Only put in the required fields, all you really need will be the product names/identities.
 
Now for your product "Workshop Registration" put in a zero price unless they are all the same. (in product settings you can display either zero or leave price empty) When you create your Option for customer to choose dates you will see you can associate each one with one of the date-products you created. No need even to have given it a price, you can override each price here in the option box.
 
So now you have unique products that can be associated with unique coupons. I think that will work for your case.
 
Greg
 
dancingPaul
dancingPaul
Thanks Greg. Unfortunately I have a pretty expansive set of scripts, pages, admin and reports that I've already built that access and display the available registration dates the way it's set up now, and changing the logic behind that isn't really an option for me. I really need to keep the dates as an option that is assigned to the product.
 
vic140
vic140
I'm not certain, but I think you could leave all that intact and also associate it with a product id. Then all you would be doing is adding a product number to the option which is otherwise the same. the description and cost, etc. could be left as they are.
 
Maybe you could just upload a product name such as workshop2011-03-17 for each date? Good luck with it however you proceed.