I've been trying to hack the module and uc_cart_block_content to create links to node edit forms in the cart block, as in the full cart. I haven't had any luck and was wondering if anyone else has done it?

CommentFileSizeAuthor
#7 uc_cart_block_links.tar_.gz2.52 KBfletch11

Comments

fletch11’s picture

Title: Cart block node edit link » Edit nodes from the block...?
Version: 6.x-2.0-beta4 » 6.x-2.x-dev
Component: Code » User interface
Issue tags: -cart block

I'd like to have the same feature in the block as appears in the full cart where you can click on the title to make edits but I can't get it working since the cart is a form and I'm having a hard time getting that to transfer to the block. Anyone else get this to work?

twistedindustries’s picture

I am also looking for this...

twistedindustries’s picture

Title: Edit nodes from the block...? » Cart block node edit link
Version: 6.x-2.x-dev » 6.x-2.0-beta4
Component: User interface » Code

Does anyone have this yet? It is one of the last parts to my project. Can someone please point us in the right direction?

(changing title and version for improved searching)

twistedindustries’s picture

Issue tags: +cart block

Somebody, anybody? This should be included in documentation as it isn't an easy fix that it seems a lot of people would need.

fletch11’s picture

I agree but have come to the conclusion that it's a lot more complicated than it sounds. I am going to post a bounty to see if anyone can help but if anyone is up to the task please let me know.

twistedindustries’s picture

Title: Edit nodes from the block...? » Cart block node edit link
Version: 6.x-2.x-dev » 6.x-2.0-beta4
Component: User interface » Code
Issue tags: +cart block

Yeah I ended up using JavaScript to replace the cart block with the table from the cart page. Not the nicest way to get it done but it works.

fletch11’s picture

StatusFileSize
new2.52 KB

I commissioned a module, as attached, that permits the user to edit the node from the checkout block. It appears to work great but please give it a try.

sgerbino’s picture

So far this thing saved me alot of time :]
Really appreciate this contribution right about now, thank you

aidanlis’s picture

Status: Active » Fixed
Issue tags: -cart block

Thanks for the contribution fletch, maybe create it as a sandbox project if you have time.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.