Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi.
So we have a scenario when we need a client to be charged a standard shipping price per item in the basket.
Each delivery country has it's own price, therefore I had to setup a payment provider for each country.
Now, if a delivery to France costs 60 EUR, and if a customer is buying 3 items, he should be charged 180 EUR for delivery.
Right now I can just manually add shipment to an order for each item, and the order will have several shipments to the same address.
It's a rather workaround then a good solution. Is there a better way for my requirenment you could adwise? Thanks.
hi Max,
If I was going to implement a solution for this I would create a new custom shipping method. You can take a look here: http://docs.ucommerce.net/ucommerce/v5/extending-ucommerce/shipping-method-service.html
In the shipping method you have access to OrderLines so it should be fairly easy to find out how many orderlines your basket contains and calculating the shipping cost.
Best regardsMartin
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Can I charge NumberOfItemsInBasket (times) Shipping price?
Hi.
So we have a scenario when we need a client to be charged a standard shipping price per item in the basket.
Each delivery country has it's own price, therefore I had to setup a payment provider for each country.
Now, if a delivery to France costs 60 EUR, and if a customer is buying 3 items, he should be charged 180 EUR for delivery.
Right now I can just manually add shipment to an order for each item, and the order will have several shipments to the same address.
It's a rather workaround then a good solution. Is there a better way for my requirenment you could adwise? Thanks.
hi Max,
If I was going to implement a solution for this I would create a new custom shipping method. You can take a look here: http://docs.ucommerce.net/ucommerce/v5/extending-ucommerce/shipping-method-service.html
In the shipping method you have access to OrderLines so it should be fairly easy to find out how many orderlines your basket contains and calculating the shipping cost.
Best regards
Martin
is working on a reply...