Push Order to DropShipper vai web or iphone

gaz

2010-02-25 13:54:54

After pestering Interspire for the feature for a year, I finally got around to coding this up myself, just in time for them to announce the feature for version 6.



When I receive an order, I check payment etc then copy/paste the shipping info into an email to my dropshipper.

That was ok, but now we receive so many orders a day this is impractical.



I added a new order.template file with just the shipping data then added a function to /admin/includes/classes/class.remote.php to parse the data into the new template.



Then a small mod to the order.quickview.tpl allows me to generate and send the order to my dropshipper with one click via web and not ipod / iphone.



See pic

[url=http://getitwright.co.uk/dropshipMod.png][url]http://getitwright.co.uk/dropshipMod.png



If anyone is interested in either the shipping ajax mod or the dropship mod drop me a msg

gaz

2010-03-01 13:19:11

I'm trying to migrate this to the iphone admin template but hit a snag.



Anyone know why calls to remote.php don't seem to work from iphone templates?



Update:



FYI:



For those calling remote.php? and fetching back anything with a template you need to create / copy the relevant template into the iphone dir.



Also worth noting ajax calls for iphone must be done with relative urls not absolute (hours to discover that :( )