Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
To reproduce the problem:
- add a new product class A
- add some new product class A
- create Views to list the product class A
- add a 'Buy it now button' as one of the field
The button will not work, redirect to same page, cart not update.
It does work with the default Product content type.
The form codes generated for both are similar.
Comments
Comment #1
ckngJust discover that Views caching was enabled.
Disabling the cache solves the problem.