Skip to content
Code-Schnipsel Gruppen Projekte

Next 2.x

Zusammengeführt Henning Leutz schlägt vor, next-2.x in main zu mergen.
1 Datei
+ 6
1
Änderungen vergleichen
  • Nebeneinander
  • In der Reihe
@@ -136,6 +136,11 @@ define('package/quiqqer/coupons/bin/frontend/controls/CouponCodeInput', [
if (SimpleCheckoutNode) {
const SimpleCheckout = QUI.Controls.getById(SimpleCheckoutNode.get('data-quiid'));
let orderHash = window.location.hash.substring(1);
if (!orderHash || orderHash === '') {
orderHash = SimpleCheckout.getAttribute('orderHash');
}
QUIAjax.get('package_quiqqer_order-simple-checkout_ajax_frontend_getOrder', (response) => {
CouponCodes.addCouponCodeToBasket(code, response.order.uuid).then(() => {
@@ -158,7 +163,7 @@ define('package/quiqqer/coupons/bin/frontend/controls/CouponCodeInput', [
});
}, {
'package': 'quiqqer/order-simple-checkout',
orderHash: window.location.hash.substring(1)
orderHash: orderHash
});
return;