Update display settings for click to edit on cart form
2440media2 - July 28, 2009 - 22:47
| Project: | UC Node Checkout |
| Version: | 6.x-2.0-beta3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm adding an event product node with attribute options which then collects registrant profile information - adding to the cart which works perfect. It shows the Product name, my attributes, and the title of the registrant profile.
The bug is: From the cart page when you "click to edit", I am returned to the registrant profile information node - upon editing and clicking save, the product attributes no longer show up.
Thinking through this, on the view cart page, there should be 2 product edit links, one that links back to the actual product detail/attribute selection, and one that links back to the registrant profile information node (UC checkout node).

#1
I'm not having troubles with attributes being preserved through the cart in my test site. Make sure if you updated from a previous version that you ran update.php. Are you doing this logged in or not logged in?
Also, I did take your feedback into consideration and updated the behavior of two settings:
1. Change cart item titles into edit links for their associated nodes.
2. Display a "click to edit" message on the cart view form for node checkout products.
If both are disabled, the product titles will act like normal, as links to the product nodes.
If 1 is disabled and 2 is enabled, then the product title will be a link to the actual product node and there will be an additional edit link beside it where you can edit your own registration. For what it's worth, I think this will be awkward for end users.
If both are enabled, the product title will be a link to the customer's node and there will be a textual click to edit message beside it.
If 1 is enabled and 2 is disabled, the product title will be a link to the customer's node and there will be no click to edit message.
#2
#3
I just started last week with a fresh install of drupal, uc, and uc node checkout, so it's not an upgrade issue, though I did run update.php just to be sure. I tried as admin and anonymous and get the same result.
Looking closer, on the add node_checkout page it gets the querystring: ?product_nid=69&attr=1-2
Clicking edit from the cart page the querystring is: ?destination=cart
If manually make the edit page querystring: ?destination=cart&product_nid=69&attr=1-2
then it works fine when I resubmit.
I like your edit link behavior revision ideas.
#4
Hmm.. are you doing these things logged in or not? The reason it doesn't have the extra information when you go from the cart view form to the edit page is because it's been stored in the database and shouldn't have to be passed in via the URL any more.
#5
I've tried both logged in and out, but no difference.
#6
I updated to 6.x-2.0-beta4 and it's working now! :)))
#7
Automatically closed -- issue fixed for 2 weeks with no activity.