Forums / General Questions / update a product that's already in the cart -- ie: adding gift wrapping

update a product that's already in the cart -- ie: adding gift wrapping

Locked

Started by possum on 11 Nov 2007, 12:26 AM · Views: 810

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Nov 2007, 12:26 AM
#1
possum avatar

possum

New Zenner

Join Date:
Sep 2007
Posts:
58
Plugin Contributions:
0

update a product that's already in the cart -- ie: adding gift wrapping

Hi,

Is it possible to change the attributes of a product that's already in the cart? At the moment I seem to have to delete the existing product and re-add a new instance of the product to the cart.

The reason why I want to do this is that I'm trying to use attributes to enable gift wrapping of books. Intuitively it makes more sense for someone to think about gift wrapping after they've added the book to their cart, rather than before. And if they change their mind as to what colour of paper they want, it's not intuitive that they should delete the book.

The other place where I think it makes a lot of sense is when you have lots of attributes. If you were buying a PC with twenty plus configuration options, you'd like to be able to change your mind about one or two of those options without having to re-select all twenty.

Does anyone have any suggestions?

Thanks a lot for your help.

Possum

11 Nov 2007, 4:21 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: update a product that's already in the cart -- ie: adding gift wrapping

How about the gift wrapping mod?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

11 Nov 2007, 4:21 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: update a product that's already in the cart -- ie: adding gift wrapping

At this time, when a Product in the Cart has attributes and the same Product is added with changed or alerted attributes you will get 2 products in the cart ...

In a future release we will be working towards a distinction on Add to Cart and Update Cart for this ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Nov 2007, 4:23 AM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: update a product that's already in the cart -- ie: adding gift wrapping

Ajeh:

At this time, when a Product in the Cart has attributes and the same Product is added with changed or alerted attributes you will get 2 products in the cart ...

In a future release we will be working towards a distinction on Add to Cart and Update Cart for this ...

:cool: Nice!

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

11 Nov 2007, 9:25 AM
#5
possum avatar

possum

New Zenner

Join Date:
Sep 2007
Posts:
58
Plugin Contributions:
0

Re: update a product that's already in the cart -- ie: adding gift wrapping

Thanks Ajeh,

That's great news that this is on your roadmap.

In the meantime, am I right to assume that this change would require a strong skill level with PHP? Any thoughts on a quick-and-dirty workaround that would allow someone with only medium-level skills (ie me :blush:) achieve something comparable? I have no need for the option between "add-to" and "update" so I could quite happily override the current "add-to" functionality if that simplifies things. I also only have one attribute, in case that makes a difference to my options.

Any pointers would be great!!

Thanks also to afo for your feedback. I'm using it at the moment and it's very useful, but it is built on the current "add-to" functionality.

Cheers,

Possum.