View Single Post
  #1  
Old 04-09-2012, 11:07 AM
 
zprint zprint is offline
 

Member
  
Join Date: May 2003
Location: West coast of New Jersey, USA
Posts: 10
 

Default Single charge independent of quantity

Here's what I'm trying to do: have an option to add a rush shipping charge to an item that only applies to the first box shipped, thus would not change when the item quantity increases.
Example: 1 box costs $5.00; rush shipping for first box costs $8.00. Order one box @ $5.00 w/ rush shipping @ $8.00 = $13. Order two boxes @ $5.00 per box w/ rush shipping for the first box @ $8 = $18, (rush shipping charge does not increase).

I know I can use variants and do the math first, but that obviously would be the hardest way to do it, and very labor intensive to update.


A formula along the lines of: if rushing shipping = none, then 0, otherwise divide $8 by quantity selected.
I assume that a few lines of PHP applied somewhere could divide the $8.00 rush shipping charge by the item quantity, but I'm not sure of the exact syntax and where to put it.

Can anyone help me with this?

Thanks!

Chris
__________________
Christopher Meyers
Zephyr Print
http://www.zprint.cc
X-Cart 4.4.3
Linux Server
Reply With Quote