CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Major Feature #4353

Selection of the delivery country in the basket

Added by Sebastian Böttger over 3 years ago. Updated over 2 years ago.

Status:New Start date:2009-08-27
Priority:Should have Due date:
Assignee:Sebastian Böttger % Done:

0%

Category:Feature request Spent time: -
Target version:1.1.x
Votes: 0

Description

I have now about 3 customers who wish to have different shipping costs dependig on the delivery address. Because of the given workflow in commerce this is not possible without changing the shipping costs in the finishing function. This is not very user friedly. I suggest a possibility to choose these options in the basket, hold it in the basket, and don't offer to set/change it in the delivery addresses.

History

Updated by Rik Willems over 3 years ago

This sounds like an interesting feature. I have a client who wants something similar.

Thing is that at basket level you don't know where the stuff needs to be shipped to. Only if a customer is logged in you (perhaps) have the information based on the default delivery address.

Zencart features something like this. They have a 'shipping estimator' at basket level. You can select a country so the shipping gets updated for that country. Then when you go into checkout the shipping amount gets final based on your given delivery country.

I'm willing to implement this. If we can combine my client's budget and a sponsorship I can get this working.

Updated by Sascha Egerer over 3 years ago

I've already implementet something like this.

I've added a "Country" field in the Shipping & Delivery Articles where you can chosse the allowed Countries for this Article. I've created an extension for this but there are also Core-Changes needed to get this working.

Updated by Rik Willems over 3 years ago

That is great! Thank you for responding.

Can you explain how it is handled in the shopping cart screen?

If you give an overview of the needed core changes we can implement these.

Updated by Michael Staatz over 3 years ago

There is a Hook in class.tx_commerce_pi3.php in Method handlePayment. You can implement an "alternativePaymentStep". So why do you not remove the markers for payment in the basket and if the customer go to checkout then grab his address and the display him a form with possible payments.

If you do so you have an loggt in user or a new user but you have the address at all and also the country.

Updated by Georg Schönweger over 3 years ago

I wrote a small extension which adds 2 new Markers that can be inserted in listing view of the basket. With these markers the delivery and payment article can be changed in the last step of checkout. I calculate then the shipping costs based on the country and the payment method. In the normal basketView i show only the subtotal price without delivery and payment prices. If somebody is interested in this i can upload the extension here as t3x file.

Updated by Uwe Steinmann almost 3 years ago

It's already some time ago, but did you ever publish your extension publicly? I'm interested in it.

Also available in: Atom PDF