Multiple algorithms can be used at once using the ampersand algorithm “&”.
Define the number of days a shipping method takes
Enter this in the CSV file: D=Number of Days
E.g: Next Day takes 1 Day would be D=1, 3 Day would be D=3
Set shipping methods and/or prices for specific days of week
Enter in the CSV file: incl=day/s of week or excl=day/s of week
E.g: Make a rule apply to week days only would be incl=1,2,3,4,5
To exclude a shipping method from Monday-Wednesday would be excl=1,2,3
Increase shipping price per X lbs/kgs
Enter this in the CSV file: W=Amount of Weight @ Price Increase
E.g: Charge $10 per 50lbs would be W=50@10
This will not round the weight up. In the above example if the cart weight is 75Lbs then the price increase will be $15. If you need the weight to be rounded then use “WC” rather than “W”.
Increase shipping price per item
Enter this in the CSV file: I=Price per Item
E.g: Charge $5 for each item added to the cart would be I=5
It’s also possible to say for every X items, increase the cost by Y. This is done by entering IM=X@Y.
E.g: for every 5 items charge $15 would be IM=5@15
Define Non Delivery Days (Blackout Days)
Enter this in the CSV file: BD=Numeric Representation of Day/s
Monday is 1, Sunday is 7.
This overrides any blackout delivery days defined in the admin interface.
E.g: Paris receives deliveries on Tuesdays only would be represented with BD=3-7&BD=1. Notice how we can stack the range and single day options together.
Define delivery methods for specific time slots
Enter this in the CSV file: slot=slot number
E.g: If you have a slot called “AM” which is slot 1 and you want to offer a method called expedited only for AM deliveries you can do this by defining the rule in the CSV file as you usually would, but enter slot=1 in the algorithm field of that rule.
Set different cut off times for different destinations
Enter this in the CSV file: cut_off=24HR time
Once this rule is matched, it will apply to all shipping methods. If multiple cut off times are found the earliest one is used globally.
E.g: If orders for specific products can only be accepted up until 13:00 then enter cut_off=13:00 in the CSV file.
Set a specific shipping method code in your database
Enter this in the CSV file: C=New Shipping Method Code
E.g: Your backend system needs “Next Day Air” to be represented in the CSV file by “NDA” rather than the code Magento will store. Enter C=NDA into your CSV file.
Set a shipping method to only show next day or X number of days
Enter this in the CSV file: lock_delivery=Number of days after current day
E.g: If you want to show a method called next day delivery and only show that next day you would use lock_delivery=1.
Maximum Shipping Cost Algorithm
This algorithm enables you to set a maximum shipping cost for the order if the rule this algorithm is set on is matched.
E.g.: We offer a “Standard” shipping method that costs $10 for orders under $99 and $20 for orders over $99. We also have a special product which costs $10 to ship, if that item is added to the cart we want to say the maximum cost of shipping is $10 for the whole order.
You can also add a maximum shipping cost to the entire CSV file through the admin interface. Navigate toSystem->Configuration->Shipping Methods->WebShopApps Custom Shipping Calendar
and find the field called “Maximum Shipping Cost”. This applies to every rule in the CSV file and is on a per order basis.
Alternative Delivery Method Algorithm
This algorithm allows you to define an alternative delivery method.
You’d use this if you offer different delivery methods for different sets of products and need to define which method takes priority when multiple products are in the cart.
In this example, the rules we are implementing are:
- Set Ground and 2nd Day Air for Standard items
- Set Courier pricing for Large item shipping group
- If Large and Standard items are in the cart that display the Courier method
ALT= will take effect even if the Delivery Type cannot be matched across Shipping Groups. It will look at the alternate delivery type (in order of sequence of entry) and determine if it can match on each of them.