News:

Support the VirtueMart project and become a member

Main Menu

shippingplugin with pickup-places

Started by welrachid, March 05, 2015, 18:55:50 PM

Previous topic - Next topic

welrachid

Hi
im developing a shippingplugin with certain pickupplaces. I want to make use of the "regular" ST-address etc. but im very confused on how to actually make it.

I already have the shipping-plugin html where i put in the "zip-code" and get some available pickup places. Now i want to force VM to use the address of the pickupplace and NOT give the user an option to put in his own address.

I've spent most of the day looking for a way to do it when "plgVmOnSelectedCalculatePriceShipment" is called and also tried to do it when "plgVmConfirmedOrder" is called

ofcourse i am trying to make it work in the newest available J! and VM.
currently running J!3.3.6 and VM 3.0.6.2

hopefully some of you guys can guide me in the right direction.

ps. i wish not to make extra shopperfields because i want the "shipping"-module be as modular as possible (taking advantage if other plugins rely on standard address-fields)

Thanks
Wel Rachid
Best regards,
Wel