Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Max 28 posts 80 karma points
    Jul 04, 2014 @ 17:06
    Max
    0

    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.

  • Martin 181 posts 740 karma points
    Jul 05, 2014 @ 11:15
    Martin
    0

    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 

Please Sign in or register to post replies

Write your reply to:

Draft