Wrong submit link with commerce ajax

Created on 5 April 2023, over 1 year ago
Updated 9 April 2023, over 1 year ago

Problem/Motivation

Using drupal commerce, it's impossible to add any product in the cart with the reloaded view. A similar issue was patched for the 7.x version of the module, but it seems not to be adapted for the 8.x version ( https://www.drupal.org/project/views_infinite_scroll/issues/2828100 🐛 Incompatible with ajax forms when loading several pages in a row Needs review )

Steps to reproduce

  1. Install the DC Ajax add to cart product : https://www.drupal.org/project/dc_ajax_add_cart
  2. Install the Views Infinite Scroll module
  3. Configure the view as suggested, go to the page and load more products.

Try to add any product on the cart, an error will be thrown because the called url is /views/ajax when it should be the current url.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024