Oba-san
- Join Date:
- Sep 2003
- Location:
- Ohio
- Posts:
- 62,757
- Plugin Contributions:
- 1
Post #21 by ajeh
You would have to control how much is being charged in this section:
$chk_total_charge_constant = constant('MODULE_SHIPPING_ITEMCAT_COST' . $i);
$chk_total_charge += ($chk_total_charge_constant * ${$chk_cat_group});
$chk_total_count += ${$chk_cat_group};
The price is set in:
$chk_total_charge_constant
you would want to change that from the amount you set per sheet of 2.50 to the lower amount of 0.40 when the count:
$chk_total_count
is at the number of sheets where you want to charge less ...
Keep in mind that the count:
$chk_total_count
is set after the charge is calculated ... so when the first item is calculated the count is 0 ...
Plus, you have to decide if all of the item counts when > 1 get changed to 0.40 or if you want different charges for the groups as it could get complicated to figure out the:
$chk_total_charge_constant
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!