Linked Questions

0
votes
1answer
30 views

How to upgrade a jQuery library version?

The version of jQuery in lib is 1.14.0. I want to upgrade to 3.0.0.Tried making changes in theme require.js and keeping the new version file in web/js folder of theme, but, it's affecting other js ...
4
votes
2answers
718 views

When change a swatch option how to get a selected simple product in category product listing page in magento 2

When change a swatch option how to get a selected simple product id from configurable in category product listing page in Magento 2 when I select a swatch option, I was get a option id, from the ...
2
votes
4answers
245 views

How to override both shipping.html and shipping.js file in custom module magento 2

override both shipping.html and shipping.js I am trying to override shipping.js file in magento 2 but can not working. requirejs-config.js var config = { paths: { 'Magento_Checkout/template/...
1
vote
2answers
126 views

How to override js file of base folder in Magento_Ui?

I want to override the sizes.js in location: /vendor/magento/module-ui/view/base/web/js/grid/paging/sizes.js I want to remove "Custom" and "200" options from admin grid per page dropdown.
1
vote
2answers
49 views

How to override the js in magento2

I want to override core js in custom module. define([ 'quickSearch', 'jquery', 'underscore', 'mage/template', 'mage/translate', 'jquery/ui' ], ...
0
votes
1answer
679 views

Override Magento UI js file

How can I override this file on my theme? /vendor/magento/module-ui/view/frontend/web/js/view/messages.js I'm a newbie to M2
0
votes
1answer
63 views

Custom options not loading after saving the product in admin - Magento 2.1.7

I tried creating few custom options for a product. A field type and dropdown type. After saving the product getting a javascript error in the console as shown in the screenshot data.forEach is not a ...
0
votes
3answers
1k views

How to override .js file in Magento 2 via require-JS? [duplicate]

I need to override Magento\Sales\view\adminhtml\web\js\order\create\scripts.js via requirejs-config.js in Magento 2?
3
votes
2answers
2k views

Magento 2 update progress bar in check out page

What I've tried: i18n/en_GB I've changed this line "Review & Payments,Reviewssss & Paymentsssss" I've also changed this Shipping Methods, This Is my shipping methods and I was surprised to ...
5
votes
1answer
2k views

Override js core function in Magento 2 [duplicate]

in backend there is module-sales/view/adminhtml/web/order/create/scripts.js, and inside that js there is a function like this : loadShippingRates : function(){ this....
7
votes
2answers
10k views

How can I extend a UI component JavaScript in Magento 2?

I know there is already a topic about this, as well as a documentation, but I just can't get it to work: How can I extends a UI Components' JavaScript in Magento 2? I'm trying to extend Magento_Ui/...
2
votes
2answers
4k views

How to change jQuery version in Magento2

Magento 2.1.2 bundled with jQuery 1.11. How it possible to replace it with jQuery 2.1?
3
votes
2answers
6k views

How to add custom js on checkout page Magento 2?

When customizing checkout page, I want to add new custom js to check when a specific Payment is checked. Can I use Knockout Js or re-use exist js functions of payment? And, what's the best practice ...
2
votes
2answers
669 views

how to extend .js and .html files in Magento 2

I'm extending customer address for these I have to modify/extend vendor/Magento/module-ui core files. i.e root/vendor/magento/module-ui/view/base/web/js/form/components/collection.js and root/...