For the bigger packs it can be set up a hidden option.
IE:
Code:
<input NAME ="option|001|%%PRODUCT_ID%%" type="hidden" value="100-pack||15.00">
Then in the database, put 10.00 in the shipping field of the 100-packs, "0" for the singles.
Shipping logic:
Code:
$ship_method = $form_data{'Ecom_ShipTo_Method'};
if ($ship_method eq "Standard") {
$shipping_price = ($total_quantity * .79);
}
if ($ship_method eq "Priority") {
$shipping_price = ($total_quantity * .99) + $total_measured_quantity ;
$ship_logic_done = 'yes';
}
What this will do, is:
First, the shipping amount in the hidden option will bee applied. If the singles do not have this option, nothing will be added, but the ones that do have the option will add the $15.00
Then, the standard fee of the .79 or .99 per item will still be applied.
Finally, the value in the shipping field of the database is added.
So for 1 100-pack the shipping charges should turn out to be:
Standard: $15.79
Priority: $25.99
HTH!
_________________
God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership