I need to add custom shipping method.Carrier Packeta.com we want to use provide scrip to enable selecting pick up points.After customer select point,it returns various variable,I need one - just address of the point to send with the order.Need some simple way,maybe add to order note or if possible as extra field with shipping method,so it is able to be printed on invoice.Thank you for any help or advice.David
Here is link to this script/widget sample how it works:
I just implemented something similar for our local EasyBox locker delivery service. It works very well.
I designed a very simple addon and I used hook shipping_rates.post.tpl to add the custom field and the button for locker selection popup form.
/design/themes/responsive/templates/addons/easy_box/hooks/checkout/shipping_rates.post.tpl
for javascript I used hook scripts.post.tpl
design/themes/responsive/templates/addons/easy_box/hooks/index/scripts.post.tpl
To have locker point info I added a custom profile field.
Here is the tpl:
One simple way could be to add the pick-up point address as a note within the order details. This note can be easily accessible and printed on the invoice if needed. Another option, if possible, could be to create an extra field specifically for the shipping method, where the pick-up point address can be entered and stored along with other shipping details.