This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
@@ -0,0 +1,4 @@
define(['jquery', 'mage/url', 'mage/cookies'], function ($, urlBuilder) {
'use strict';
return { apply: function (points) { return $.ajax({url: urlBuilder.build('reward/cart/apply'), type: 'POST', dataType: 'json', data: {form_key: $.mage.cookies.get('form_key'), points: points}}); } };
});