Gift Wrap functionality

Posts: 5
Joined: 02/29/2008

Whats the suggestion for the simple gift wrap functionality? I have checked the contribs and the core and it seems we don't have it.

Functionality is simple on the cart page we can check which products will be wrapped and to those products we add for example extra 3 USD.

Does anyone have done it? Maybe some contributed modules put together will give such a functionality?

Thanks for any advise on that.

mac

Posts: 21
Joined: 02/19/2008

Not the prettiest solution, but you could add gift wrapping as an attribute to each individual product. This would also allow the customer to select only certain items to be giftwrapped.

Posts: 5
Joined: 02/29/2008

but we have already decided to make this simple functionality, cause forcing admin to remember each time to add the gift wrap option will sooner or later would lead to decision that it has to be done some other way.

We need to be able to define such attribute for the product type and not set it each time you are adding it to the inventory.

Anyway thanks for the response=)
Mac

Posts: 21
Joined: 02/19/2008

Not sure I quite understand your response, but you can add attributes to entire classes of products by default. This would certainly save some time in the creation of new products, as long as you aren't adding new classes very often.

Posts: 5
Joined: 02/29/2008

well this i guess is some solution, but taking into account we just want to have on a cart view page product with additional checkbox gift wrap... anyway we are done with it so thank you for update but we develop solution already which is clean and simple without overload of abstraction (we need to hand idiot proof solution so not IT person can maintain it and each abstraction added is additional hour of training =))

manatwo thanks for your time

Mac

Posts: 34
Joined: 02/04/2008

mac_perlinski: out of curiosity, what was your solution? I wrote a giftwrap module that uses attributes to represent giftwrap. One attribute for Giftwrap Yes/No, with a price modifier if Yes. Plus 3 other text attributes for Recipient, Message, and Sender for the Card.
This works, and it means that the Giftwrap information is provided through to the administration pages via the attributes, but I find that in many ways Giftwrap does not fit the attribute metaphor.

For one thing, it gets in the way when you are doing SKU variations, as it means you have to duplicate the SKU for Giftwrap and not wrapped. So for Size 14 Gumboot you need GUMBOOT14 as the SKU for both the wrapped and unwrapped variations.
Also, using attributes (especially the text attributes) means that this information gets serialised into the data field. Which means that comparisions based on data get more complex.

Other things, like the pricing of Giftwrap doesn't quite work too. Giftwrap price is usually something global to a store, so to change this globally for all products I've had to do a custom query to change this in the database.

Also discounts applied to products include the giftwrap price too; not really how you'd want it...

In an ideal world I'd want giftwrap cost to be itemised in the order, somewhat like a line item. But messages etc can't be really handled as a line item as they need to be attached to an item in the order.
I'm rambling now, but essentially I'm just trying to figure out the best way of representing Giftwrapping within ubercart.

Posts: 14
Joined: 04/07/2008
Bug Finder

mac_perlinski: Could you give more details of your solution. I tried with attributes, but I am not happy with that.

Posts: 12
Joined: 07/26/2008

I couldn't find it either so created a solution that works well for me. You can find it here: http://www.ubercart.org/contrib/7057