I want to add another shipping part for special delivery on Saturday, which cost an extra £2.00 on top of normal SD price, ive copied the two files from SD and renamed them, uploaded them, but do i need to adjust the DB?
thanks
Andy
Printable View
I want to add another shipping part for special delivery on Saturday, which cost an extra £2.00 on top of normal SD price, ive copied the two files from SD and renamed them, uploaded them, but do i need to adjust the DB?
thanks
Andy
As i understand it, you want to offer the Special Delivery Saturday service, which would cost an extra £2 ?
This would be difficult as you would have to turn it on every Thursday after 5 o'clock and then turn it off on Friday at 5 o'clock. I think maybe you should just add a £2 extra handling charge during these times and change the define text. Creating a new module entirely is a little trickier than copying the files over. The problem with turning on and off something is that say, they want to order on a Friday but have it delivered to a work address on Monday ? then you're a bit stuffed unless you have a unique Saturday delivery module to turn on and off.
To create a special Saturday delivery module, you would have to copy the files across to new names, rename the class inside the include file to the new names of the files, change all of the constants in the include file (which go into the database) and then add £2 somehow to the rates, change the text in the new define file and then either turn it on and off on a Thursday/ Friday or write a bit of php to do it for you.
It's not impossible, it's very easy for a normal php programmer, it's just a bit time consuming.
Philip (the bloke wot wrote the modules).
Don't know what its call but could you use the rountine that allow you to run scripts at set times? This rountine could than run the script which turn on seperate special delivery by Sat and still keep the others after 5pm on Thursday and turn it off at 4pm Friday.
side note they will still try and deliver normal special delivery on Sat.
I think I will just leave it on and call it saturday only, im not a script writter, I can just about edit the pages to look like i want them ;-)
thanks for the options
Andy
Yes it is possible as mentioned above, it would also only take a couple of hours if someone were familiar with the modules (that would be me). It would also require an override to test that it worked, or to display the option so that someone ordering from work on a Wednesday could get it delivered to their home address on Saturday. It also does depend on whether the server time is correct.
Hope you can help
Ive just added Taiwan to the zones and setup for no UK VAT, all this works ok, but when I check out on a test with an Taiwan address i get international signed for show up as expected, but also special delivery, but not special delivery 9.ooam
any ideas?
Andy
Have you added anything to the modules themselves ?
both of your international modules have TW already in, but cant see why SD comes up
Andy
In the module code, it looks for a valid country, in the case of the british ones it is only configured to looked for things with a country code of GB, the only way for special delivery to come up, is if somehow you've got Taiwan somewhere attached to England, the problem is going to be finding the little sucker. Now how did you create the taiwanese address ? as a guest, as a logged in person ? if you were logged in, there is a possibility that a british account then changed to a taiwanese one would trigger the country code, but it's unlikely because it's only triggered special delivery. Now with special delivery, is it giving a price, does your special delivery 9am have any pricing limits that may cause it not to display ? as the modules are virtually identical. There is another option, in that your session could be corrupt, recently I diagnosed an error in the zencart database setup for storing sessions, but it still does not explain why only one british option would be showing.