This is working if you use the default links for the buy button (#229333: Update cart breadcrumb and continue shopping link support), but I'm using uc_cart_links, so I added $_SESSION['uc_cart_last_url'] = uc_referer_uri(); in uc_cart_links.pages.inc, rright before the drupal_goto() line

CommentFileSizeAuthor
#3 uc_cart_links_498390.patch303 bytesattiks
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rszrama’s picture

Good call. Can we get a patch?

rszrama’s picture

Issue tags: +Usability, +ubercamp sprint
attiks’s picture

Status: Active » Needs review
FileSize
303 bytes

Patch attached

rszrama’s picture

Status: Needs review » Needs work

Tested the patch; the first time I tried it, I didn't seem to have the correct path (i.e. the base path seemed to be missing). I tried tweaking it and lost any path at all. I don't know if it needs work or review, but I'm going to mark it needs work and ask Lyle to look at it.

Island Usurper’s picture

Status: Needs work » Fixed

It worked for me. Maybe you had some leftover session variables or something.

Committed.

Status: Fixed » Closed (fixed)
Issue tags: -Usability, -ubercamp sprint

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