News:

Looking for documentation? Take a look on our wiki

Main Menu

Shipment method with dropdown

Started by sandomatyas, July 12, 2014, 21:26:25 PM

Previous topic - Next topic

sandomatyas

Hello,
I want to write an own virtuemart shipment plugin and I need some help.
The webshop has a contract with a company who has many offices around the country. I want to append a dropdown list to the shipment method and the customer can select a nearby office to pick up the order.
The list of the offices is on a fixed exter url, in XML format so the company can change it.
I have some PHP skills, getting and processing the XML is no problem, my questions are about the Virtuemart integration.

  • How can I append a dropdown list to a payment method? Of course the field is requested but only if this is the active shipment method.
  • How can I pass, store and display the selected office during the checkout process and the database
  • How can I add this data to the confirm emails?
  • Can I pre-select an item based on the selected zip-code of the customer's address?
  • What if there are multiple shipment methods with this plugin. E.g. "office pick up 3 days", "office pick up 7 days"
  • Can it works well even if I have one page checkout or not?

I appreciate all kind of hints or maybe a downloadable similar plugin.
Thanks

something like this:

Milbo

There are a lot Paymentplugins available. The shipment plugin works analog, so you can see there how todo all that.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Djirko

Quote from: Milbo on July 15, 2014, 08:51:17 AM
There are a lot Paymentplugins available. The shipment plugin works analog, so you can see there how todo all that.
Could you point me to one of them?

alatak

Hello
have a look at sofort ideal. They have a dropdown to select the bank.