| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Single charge independent of quantity | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Single charge independent of quantity
We've done this in the past by creating a hidden product then adding code to the cart that a customer can add it if they like and this adds the hidden product to the cart.
|
|||||||||
#3
|
|||||||
|
|||||||
Re: Single charge independent of quantity
Hi Cherie-
Thanks for your reply. I'm afraid you've lost me though. Can you give me another hint? thanks! Chris |
|||||||
|
|||
X-Cart forums © 2001-2020
|