I was thinking that it would be great if you make a constribution that It will add a checkbox on the checkout about a giftwrap. Also under this option it would be good a textbox so the customer can leave a message to be in the card outside of the giftwrap.. you can make the constribution to work with extra cost or free.. At this time there is one too old constribution about giftwrap but it is too bad made..
The old contribution that Chris is referring to is this one – having looked at it, I can see that it’s a real dogs dinner of coding. No wonder there is a need for a new, cleaner version!
My idea would be to create a new, lean and mean order_total module which you can set up in Admin and insert a price (maybe a fixed price or a percent of order sub-total price). Somewhere in the checkout procedure have a checkbox that asks if you would like to “gift wrap” the order which triggers the module. I believe it is pointless to have a comments box attached to this, as there is already a very usable comments box on each checkout page!
Also it is old the constribution I am talking about and it doesn’t work correctly with the languages.. So it would be good if you make a new one for RC2..
With my idea there would be only 1 language file (per language) so it would be easy to set up…
I like the way you make the constributions because you don’t affect to many files from the standard oscommerce files..
Thank you – that’s the whole idea of my contributions – pack as much as possible into the smallest codebase and try not to amend base files very much. As an example, in the existing giftwrap contribution there is a whole class file! What on earth for? Does not make any sense at all.
I believe that with my idea for the codebase, I can make 1 order_total module, it’s language file, and then a couple of small code additions in the checkout pages. Job done – install time on a shop would be a maximum of 5 minutes.
So, this leads me to getting someone to pay for my time to make it. If anyone is interested to do so, I suspect that I can get this coded up for $50 (if you are willing to donate the code back to the osCommerce project) or $100 (if you want the code all to yourself). Should anyone be interested enough, please email me, my email address is up there ^