Magento 2 - How to get wishlist data in custom js?

Magento 2 – How to get wishlist data in custom js?

We can get customer data by injecting “Magento_Customer/js/customer-data” using require function in our custom js/javascript component in Magento 2.


How to use jQuery in Magento 2?

How to use jQuery in Magento 2?

You can use the JQuery library in Magento 2 by adding code inside require function and you can also access it in the console by $ sign.


How to use ifconfig in layout xml Magento 2?

How to use ifconfig in layout xml Magento 2?

In Magento 2, we can use ifconfig in layout XML for the block to display or not based on the Magento / Config / Model / Config / Source / Yesno configuration…



Headquarter

191 Middleville Road,
NY 10001, New York
United States

Connections

Privacy Preference Center