kobra:
I suspect that you have other types of items???
What will show if there are one of each type in the same order?
You can google for zencart advanced shipper
The zencart advanced shipper seems too complicated. I need something I will be able to modify without too many parts to worry about.
I already have a few shipping modules in place (trackable), but I would like to be able to offer to ship small, flat and cheap items with normal stamps.
I have looked at quite a few shipping modules already, but they tend to have zones and other things included, and that makes them too complicated for me to understand and modify.
I know how to program, but not in PHP, so a tiny shipping module to modify would be nice :)
It's fine to order different things in one order - if one of the items doesn't have weight added, it means that it is too big to be shipped with stamps, and the stamps-module should not show at all for that order.
If the customer orders different small items that all have a weight attached, but where the sum of all weight does not go above 340 g, and the total order amount does not go above a certain dollar amount, that's also fine, those products can then be put into one envelope.
only small items will have a weight and height attached).
I want to program something like:
loop for each product:
if (product weight = 0 or NULL): // That is, it is enough that one of the products in the order does not have a weight added, most of the products are too big to be sent by stamped mail anyways
do not show stamped mail alternative
end loop
//that is if all the products in the order have a weight:
if total weight of all products ordered > 340 g
do not show stamped mail alternative
else
if total order amount > $50 // I don't want the hazard of sending them by stamped mail and not knowing if they arrive or not
do not show stamped mail alternative
else
show stamped mail alternative