RealTimeDesigner Support Network
Wiki Forums Libraries Docs Support RealTimeDesigner Home

RealTimeDesigner WIKI

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rtd_manual_ch_18_discount_codes [2012/04/24 19:47]
mark created
rtd_manual_ch_18_discount_codes [2012/04/24 19:51] (current)
mark
Line 1: Line 1:
-This tutorial is about how to create a discount code off entire cart contents. +This tutorial is about how to create a discount code off entire cart contents.\\ 
- +\\ 
-Applying to entire cart contents means applying to every entry of your pricing matrix. +Applying to entire cart contents means applying to every entry of your pricing matrix.\\ 
 +\\
 So, the way is to create an external variable, create a discount rule, and apply that rule to all of your pricing matrix entries. So, the way is to create an external variable, create a discount rule, and apply that rule to all of your pricing matrix entries.
-A quick step-by-step guide: +A quick step-by-step guide:\\ 
- +\\ 
-1) go In PRODUCT CONFIGURATOR OPTIONS => Manage/Define External Variables +1) go In PRODUCT CONFIGURATOR OPTIONS => Manage/Define External Variables\\ 
-2) Add a new variable named "coupon_code" and set both Show in cart as coupon code and Expire With Submittal to yes +2) Add a new variable named "coupon_code" and set both Show in cart as coupon code and Expire With Submittal to yes\\ 
-3) click on top the Manage/Define External Variables Rules link +3) click on top the Manage/Define External Variables Rules link\\ 
-4) add a rule with: +4) add a rule with:\\ 
-Rule Name: discound_fullcart +Rule Name: discound_fullcart\\ 
-Rule Desc: 20% off +Rule Desc: 20% off\\ 
-Source Variable: coupon_code +Source Variable: coupon_code\\ 
-Checkvalue: MyCouponCode +Checkvalue: MyCouponCode\\ 
-Modifier: 0 +Modifier: 0\\ 
-% Modifier: -20 +% Modifier: -20\\ 
-5) open a product with PRODUCT OPTIONS => Configure Products => [your product] => Configure Pricing Structure +5) open a product with PRODUCT OPTIONS => Configure Products => [your product] => Configure Pricing Structure\\ 
-6) click the Apply External Variables Rules button +6) click the Apply External Variables Rules button\\ 
-7) enable the discound_fullcart rule for all of the visible values +7) enable the discound_fullcart rule for all of the visible values\\ 
-8) repeat 5-6-7 for all the products you want to be affected by the discount rule +8) repeat 5-6-7 for all the products you want to be affected by the discount rule\\ 
- +\\ 
-That's basically it. Once done, the customer will see in cart a coupon code area.+That's basically it. Once done, the customer will see in cart a coupon code area.\\
 If he will enter the MyCouponCode value, rule will become active and, with this setup, would apply a -20% to every used price value. If he will enter the MyCouponCode value, rule will become active and, with this setup, would apply a -20% to every used price value.
 If in future you want to change the discount, you can edit the rule and edit the modifier. If in future you want to change the discount, you can edit the rule and edit the modifier.
-If you think you'll want multiple discount codes (for example, one for -15% and one for -20%), just create another rule and assign that too to all of your products. +If you think you'll want multiple discount codes (for example, one for -15% and one for -20%), just create another rule and assign that too to all of your products.\\ 
 +\\
 For this reason, it could be a good idea to create a couple "zero rules" (so rules with ZERO modifiers that will not affect pricings) and assign them all when performing steps 5-6-7 the first time. For this reason, it could be a good idea to create a couple "zero rules" (so rules with ZERO modifiers that will not affect pricings) and assign them all when performing steps 5-6-7 the first time.
 In other words, have them already there as placeholders, so it will be very quick to add multiple codes in case you'll ever need them.  In other words, have them already there as placeholders, so it will be very quick to add multiple codes in case you'll ever need them.