I have the requirement that the shipping costs are displayed up front, when the user views the basket and not afterwards on checkout.
Where would I start on this? The SinglePriceShippingProvider is sufficient (fixed price per order) and not country dependent. When I look at other implementations I see the shipment is created at checkout, and then all orderlines are added to the shipment. I could customize the OrderContext to add a shipment up front, but would this require all orderlines should also be added to the shipment or is there already a pipelinetask setup for this?
So i guess you want to allways have the same shipment for every order? How many shipment methods do you have ? You can just add the shipment when the user adds a product to the basket, then the information will be set on the order to use.
Show shipping costs up front
I have the requirement that the shipping costs are displayed up front, when the user views the basket and not afterwards on checkout.
Where would I start on this? The SinglePriceShippingProvider is sufficient (fixed price per order) and not country dependent. When I look at other implementations I see the shipment is created at checkout, and then all orderlines are added to the shipment. I could customize the OrderContext to add a shipment up front, but would this require all orderlines should also be added to the shipment or is there already a pipelinetask setup for this?
So i guess you want to allways have the same shipment for every order? How many shipment methods do you have ? You can just add the shipment when the user adds a product to the basket, then the information will be set on the order to use.
Is this the way you want to go?
Best regards
Morten
is working on a reply...