Adding coupon code
How would I apply a discount to the entire cart (Grand Total) not just the total price. I have other charges added after total price based on certain options but I need to apply the discount to the Grand Total
thank you.
How would I apply a discount to the entire cart (Grand Total) not just the total price. I have other charges added after total price based on certain options but I need to apply the discount to the Grand Total
thank you.
since the grand total is calculated as :
(subtotal + shipping + tax + charges) - discounts
you cannot include the grand total in a discount rule, it would cause an endless loop. because the grand total would change every time the discount where applied.
however, set the discount rul cacluation to a flat rate of:
($this->GetTax() + $this->GetCharges() + $this->GetShipping() + $this->TotalColumn("TotalPrice")) * 0.1
where 0.1 is a 10 percent discount on
subtotal + shipping + tax
not including the discount.
Thank You Jason for the quick reply. I will try this and get back to you.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.