Hello,
Is there a way in volume discount set something like: "When you buy more than US$1000,00 you have FREE SHIPPING" A FREE SHIPPING checkbox or something...
I know it needs customization, but can someone point us where to start?
Thanks
Volume Discount - > Free Shipping
Re: Volume Discount - > Free Shipping
One quick way could be to first create one free shipping method along with the other non free ones. Then upon the checkout process where multiple methods are shown for the shipment you can hide/show the free shipment method depending upon the basket total by giving the user ability to select free shipping. For this edit the ConLib/OnePageCheckout.ascx.cs file and locate the following line of code in it.
and make it look like
Code: Select all
localQuotes.Add(new LocalShipRateQuote(quote.ShipMethodId, methodName, formattedRate));
Code: Select all
if (methodName == "Free Shipping")
{
if(Token.Instance.User.Basket.Items.TotalPrice() > 1000)
localQuotes.Add(new LocalShipRateQuote(quote.ShipMethodId, methodName, formattedRate));
}
else
localQuotes.Add(new LocalShipRateQuote(quote.ShipMethodId, methodName, formattedRate));
- William_firefold
- Commander (CMDR)
- Posts: 186
- Joined: Fri Aug 01, 2008 8:38 am
Re: Volume Discount - > Free Shipping
Is there any way to change something so that there is another boolean on certain items for free shipping.
Obviously we would have to write a bunch of rules on checkout for when items w/ free ship are mixed with regular items, but can it be done without changing the core source?
Obviously we would have to write a bunch of rules on checkout for when items w/ free ship are mixed with regular items, but can it be done without changing the core source?
Re: Volume Discount - > Free Shipping
Code: Select all
Is there any way to change something so that there is another boolean on certain items for free shipping. Obviously we would have to write a bunch of rules on checkout for when items w/ free ship are mixed with regular items, but can it be done without changing the core source?
