Ajaxify update cart button

Created on 1 September 2020, over 4 years ago
Updated 18 August 2023, over 1 year ago

For usability I would like to ajax refresh the cart page when a user hits 'update cart'

Feature request
Status

Closed: won't fix

Version

2.0

Component

Cart

Created by

🇦🇺Australia au_dave Adelaide

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India sorabh.v6 Indore

    This still needs work.

    The file path in the patch was not right. I have corrected it.

    We need to discuss about the solution because this patch takes care of single cart. It takes the carts and then filter and reset the carts array to get the single cart. And then work on it.

    I am proposing a way to get the cart only from the cart id.

    Will be uploading the patch with updated code.

    Thanks

  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 8.0 & MySQL 5.7
    last update over 1 year ago
    785 pass
  • 🇮🇳India sorabh.v6 Indore

    Uploading patch with the code that filters out the current cart from carts variable. Please review.

    Thanks

  • Status changed to Closed: won't fix over 1 year ago
  • 🇮🇱Israel jsacksick

    This can be addressed in contrib, don't really want to introduce a change to existing sites without notice.

Production build 0.71.5 2024