View Single Post
  #17  
Old 08-22-2012, 06:59 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Coupons Extension mod

Quote:
Originally Posted by cflsystems
This is how standard XC coupons work, if you want it to apply to all products you will have to comment out

if ($discount_coupon_data["apply_product_once"] == "Y")
break;

from func.cart.php
This appears to be a setting you can control for the coupon. It seems to only get set to "Y" if the coupon is absolute ($ off) and either "Cart contains the product," "Cart contains products from the category," or the new "Cart contains following product codes" (new) is selected. This causes the next section to appear "How to apply the discount" and the first radio button is selected for "Discount is applied once per order." Otherwise, the default is "N". If you don't choose "Discount is applied once per order" it should apply to all products.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote