Same problem here on Drupal 10.3.2 + enabled settings tray + enabled layout builder:
Uncaught TypeError: closestSettingsTray is null
prepareAjaxLinks http://tc4.top-cloud/core/modules/settings_tray/js/settings_tray.js?v=10.3.2:171
prepareAjaxLinks http://tc4.top-cloud/core/modules/settings_tray/js/settings_tray.js?v=10.3.2:162
<anonymous> http://tc4.top-cloud/core/modules/settings_tray/js/settings_tray.js?v=10.3.2:191
jQuery 7
initContextual http://tc4.top-cloud/core/modules/contextual/js/contextual.js?v=10.3.2:136
attach http://tc4.top-cloud/core/modules/contextual/js/contextual.js?v=10.3.2:198
setTimeout handler*attach/< http://tc4.top-cloud/core/modules/contextual/js/contextual.js?v=10.3.2:197
attach http://tc4.top-cloud/core/modules/contextual/js/contextual.js?v=10.3.2:189
attachBehaviors http://tc4.top-cloud/core/misc/drupal.js?v=10.3.2:166
attachBehaviors http://tc4.top-cloud/core/misc/drupal.js?v=10.3.2:162
insert http://tc4.top-cloud/core/misc/ajax.js?v=10.3.2:1389
jQuery 2
insert http://tc4.top-cloud/core/misc/ajax.js?v=10.3.2:1381
commandExecutionQueue http://tc4.top-cloud/core/misc/ajax.js?v=10.3.2:1046
promise callback*Drupal.Ajax.prototype.commandExecutionQueue/< http://tc4.top-cloud/core/misc/ajax.js?v=10.3.2:1039
commandExecutionQueue http://tc4.top-cloud/core/misc/ajax.js?v=10.3.2:1036
success http://tc4.top-cloud/core/misc/ajax.js?v=10.3.2:1095
processReplacement http://tc4.top-cloud/core/modules/big_pipe/js/big_pipe.js?v=10.3.2:84
checkMutationAndProcess http://tc4.top-cloud/core/modules/big_pipe/js/big_pipe.js?v=10.3.2:110
processMutations http://tc4.top-cloud/core/modules/big_pipe/js/big_pipe.js?v=10.3.2:134
processMutations http://tc4.top-cloud/core/modules/big_pipe/js/big_pipe.js?v=10.3.2:133
MutationCallback* http://tc4.top-cloud/core/modules/big_pipe/js/big_pipe.js?v=10.3.2:150
<anonymous> http://tc4.top-cloud/core/modules/big_pipe/js/big_pipe.js?v=10.3.2:184
Hi everyone,
first of all sorry for my very bad english.
Our case is different, we are trying but without success to replicate the behavior of coupons as happened in Drupal 7 Commerce 1.
In fact, we would like to be able to negate a "Percentage off each matching product" type discount (ex: -10%) to certain product categories (e.g. CAT1) but without this preventing the application of the coupon: simply as in commerce 1, applying the coupon, all products in the cart in those negated categories (CAT1) must NOT be discounted, the others yes.
Is it possible to achieve this type of result today with Commerce 2?
In fact, we have around 40 product categories, and we should only exclude 3 or 4 of them, not be forced to include all the other 37 in every discount rules of every promotion with a coupon.
Even worse if you want to exclude specific products (we have almost 3,000 and would like to exclude 4 or 5 of them from the discount on certain coupons).
We also tried the " commerce conditions plus → " module with the patch to negate the condition rules, but these rules are based on the "Order contains specific products" or "Order contains product categories" logic, completely preventing the application of the coupon, and not limiting itself to applying the discount to (if any) discountable products.
Thanks in advance, unfortunately this is an e-commerce that for years has run on Drupal 7 and commerce 1 without problems, and only now we have realized that we are unable to replicate the discount/coupon rules on Commerce 2, and we are now in a very bad situation...
Patch #10 seems to have no effect on Commerce 2.36. The new select field "condition" doesn't works.
Hi Jon,
i fixed it applying this simple css rule:
.cart--cart-offcanvas {
overflow-y: scroll;
max-height: 100%;
}
Same here on 8.x-2.0-beta1.