This is reminding me of something ... hmmm ...
What version of Zen Cart are you runing?
Clean install or an Upgrade?
This is reminding me of something ... hmmm ...
What version of Zen Cart are you runing?
Clean install or an Upgrade?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
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!
thanks for reading my post Ajeh,
i was unable to get the config in the above screensnap to work. here's what i did:
for my client i have to mark or flag certain items being either HazMat One (incur a one time charge of $25 ) or HazMat Two (one time $49). in the above config, i was trying to create a separate option for each HazMat. that is an option with only one option value but for some reason, could not get the one-time charge factored into the cart total. so i deleted and reconfig'd as an option with 2 option values and the assign a product to have only one of then, thus forcing the product have that option and incur the one time charge.
well, it worked but the now the problem is this:
if client buys 3 Six-inch Electric matches, a one time $25 charge is incurred but, if in addtion he buys 2 Twelve-Inch Electric matches, that one time charge is incurred again, which is unacceptable.
so i have to create another mechanism to handle this, the one time charge needs to be a global variable. so perhaps i'll end up creating a HazMat plug-in ;-)
i'm a mid-level PHP programmer so it will be a challenge to say the least.
Are you saying you do NOT need a 1 time HazMat charger per Product but rather a 1 time HazMat charge per Order when any of the HazMat Products are on the order?
And are there 2 possible HazMat charges depending on the Product(s) in the Order?
And what happens if 2 Products are in the Order where one Product has the HazMat charge of $25 and one has the HazMat charge of $49?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
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!
Yes exactly, a one time charge per order.
at the moment i can't remember, they either both get calculated or the $49 overrides the $25 one. i'll find out ASAP,
but then to complicate matters, if the order total is $300 or above the charges get dropped.
i've already modified the products table with a HazMat column that contains either HazMat1, HazMat2 or Null.
i've also modified the product page to display to the customer that the product will incur a charge.
if a global HazMAt variable is the way to go where would i instantiate the variable?
$HazMat1 = false;
$HazMat2 = false;
huge thanks for any advice on this!
the $49 HazMat has to cancel out the $25 Hazmat fee.
i'm working on it
So if a Product(s) for HazMat1 is in the Order ... the HazMat Charge is $25.00 ...
then if a Product(s) for HazMat2 is in the Order ... then the HazMat Charge should be $49 ...
and if neither a HazMat1 or HazMat2 is in the Order ... then there should be NO HazMat charge, correct?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
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!