Javascript parse error with commerce 2.36

Created on 12 July 2023, over 1 year ago

Since updating to commerce 2.36, my ajax add-to-cart implementation fails with a javascript parse error in the browser console.

Uninstalling this module fixes it.

Commerce 2.36 now includes a checkbox per order type to display the add to cart message, so I guess that's where the problem lies. It does not matter whether that checkbox is checked or not, I still get the parse error with this module enabled.

The ideal situation would be to leave that setting checked, and have this module disable the add to cart message for ajax carts only. It is desirable to display the message for non-ajax carts.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇳🇿New Zealand john pitcairn

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

Comments & Activities

Production build 0.71.5 2024