Hi All,
I use flat rate shipping for my shop but expect this to be for only one item as that is what it costs to ship that item. Now, if a customer has more than one item in their shopping cart, how can I add an additional cost for shipping?
I know there is a per item shipping module but this is not suitable here as the cost per item will be exactly the same for all. I don't want to do this, I just want a way to top up the flat rate cost of shipping by adding a cost for additional items.
Thanks.
Quantity Based Shipping Cost
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Quantity Based Shipping Cost
There's a first item plus module floating around. One of the certified developers could quote you to update it for Phoenix. I'd suggest @raiwa, as he has access to an untested version. He'd just need to test it (and possibly fix it) and bundle it up.
Alternately, this pattern is something that people implement with table shipping and product weights. That's a pure configuration solution (no coding). Or simply include the per item shipping cost in the product price and make the flat rate equal to the premium over that. I.e. if you have $10 for the first item and $2 per item thereafter, increase all product prices by $2 and set the flat rate to $8.
Alternately, this pattern is something that people implement with table shipping and product weights. That's a pure configuration solution (no coding). Or simply include the per item shipping cost in the product price and make the flat rate equal to the premium over that. I.e. if you have $10 for the first item and $2 per item thereafter, increase all product prices by $2 and set the flat rate to $8.
You do not have the required permissions to view the files attached to this post.
-
KenSO
- Member
- Posts: 44
- Joined: Fri Mar 05, 2021 12:01 pm
- Phoenix Version:
- Has thanked: 37 times
- Been thanked: 4 times
Re: Quantity Based Shipping Cost
Thanks @ecartz
Though I've managed to get the tables shipping module to do what I want to some extent, I think I'll still look into that first item plus module. It's probably going will make it easier to manage.
Though I've managed to get the tables shipping module to do what I want to some extent, I think I'll still look into that first item plus module. It's probably going will make it easier to manage.
-
Xpajun
- Contributor
- Posts: 187
- Joined: Thu Mar 04, 2021 1:18 pm
- Phoenix Version: v1.0.9.0
- Has thanked: 3 times
- Been thanked: 6 times
Re: Quantity Based Shipping Cost
Can be done using zones:
Set country to where you ship
Set shipping table as follows: 1:2,2:4,3:6,4:8,5:10 - and so on (number of items:shipping cost)
In each product set the weight to 1
As each product is added the weight will add up and the shipping table will produce the correct shipping cost - e.g. 3 items = 1+1+1=3 3on the shipping table give a total of 6 (£,€,$ whatever)
Set country to where you ship
Set shipping table as follows: 1:2,2:4,3:6,4:8,5:10 - and so on (number of items:shipping cost)
In each product set the weight to 1
As each product is added the weight will add up and the shipping table will produce the correct shipping cost - e.g. 3 items = 1+1+1=3 3on the shipping table give a total of 6 (£,€,$ whatever)
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest
- php 8.2.18
Now working on taking a short rest
-
KenSO
- Member
- Posts: 44
- Joined: Fri Mar 05, 2021 12:01 pm
- Phoenix Version:
- Has thanked: 37 times
- Been thanked: 4 times
Re: Quantity Based Shipping Cost
Thanks @XpajunXpajun wrote: ↑Fri Mar 12, 2021 7:58 am Can be done using zones:
Set country to where you ship
Set shipping table as follows: 1:2,2:4,3:6,4:8,5:10 - and so on (number of items:shipping cost)
In each product set the weight to 1
As each product is added the weight will add up and the shipping table will produce the correct shipping cost - e.g. 3 items = 1+1+1=3 3on the shipping table give a total of 6 (£,€,$ whatever)
I don't use zone and only ship within the U.K - as I mentioned prior, the table rates is working for me.
-
Xpajun
- Contributor
- Posts: 187
- Joined: Thu Mar 04, 2021 1:18 pm
- Phoenix Version: v1.0.9.0
- Has thanked: 3 times
- Been thanked: 6 times
Re: Quantity Based Shipping Cost
Just as an addition to my post the weight box is not really weight - it can be anything to fit in with what you sell - e.g. bottles, items, metres, yards & etc.Xpajun wrote: ↑Fri Mar 12, 2021 7:58 am Can be done using zones:
Set country to where you ship
Set shipping table as follows: 1:2,2:4,3:6,4:8,5:10 - and so on (number of items:shipping cost)
In each product set the weight to 1
As each product is added the weight will add up and the shipping table will produce the correct shipping cost - e.g. 3 items = 1+1+1=3 3on the shipping table give a total of 6 (£,€,$ whatever)
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest
- php 8.2.18
Now working on taking a short rest
-
Xpajun
- Contributor
- Posts: 187
- Joined: Thu Mar 04, 2021 1:18 pm
- Phoenix Version: v1.0.9.0
- Has thanked: 3 times
- Been thanked: 6 times
Re: Quantity Based Shipping Cost
Yes it can be done exactly the same with tables as well
Something I don't use so wasn't sure but I've just looked
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest
- php 8.2.18
Now working on taking a short rest