Gift Wrapping in osCommerce

Chris writes;

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 ^

6 Replies to “Gift Wrapping in osCommerce”

  1. Did you evber get anyone to write this contribution? I’m fighting with the “dog’s dinner” of the original contribution. Any help?

  2. I am really struggling with this one, has anybody developed an updated version that isnt so confusing to implement ?

  3. 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 ^

  4. hi Gary,

    Any interest in making a contribution that allows for several options for the occasion ?
    Birthday
    Wedding
    Wedding Anniversary
    Sinterklaas (Saint-Nicolas Dec 6th)
    Christmas (Santa Claus 😀 Dec 25th)
    New Year

    We don’t charge for giftwrapping, but would like an easy way to know which paper to use.
    As you say, for gift messages we instruct people to use the comments box

  5. If the order is to have only 1 type of wrapping paper (for all products ordered), then the easiest way would be to do something like;

    1. install my delivery date contribution, but instead of inserting date, insert a dropdown of paper types.
    2. if need to charge, have an order total module to pick up if a paper type has been selected

    If the order needs individual products wrapped, the easiest way (as you know!, but pointing out for others) is to have it as a prpduct attribute (either charged for, or free).

Leave a Reply

Your email address will not be published. Required fields are marked *