Magento 2 display simple product image of configurable product in cart and mini cart

If you are looking for a way to display configurable product selected options images on the cart and mini cart page in Magento 2 then it can be done by changing one setting from the Magento 2 admin. Magento 2 by default provides a way to display simple product images of the configurable product on the cart and min cart page.

Continue reading “Magento 2 display simple product image of configurable product in cart and mini cart”

Magento 2 Transfer Ordered Downloadable Product from One Customer to Another

As e-commerce merchants sometimes we got called from customer to transfer their purchased downloadable products from one account to another account and unfortunately, there is no way to do this in native Magento. As Magento 2 developer we got the same requirements like one customer purchased a downloadable product from the Magento 2 website from their email ID and that customer no longer works with that company and their email ID also no more exist, so that company manager contact us to transfer that downloadable product link to another active customer account and we did in Magento directly updating the customer ID from the database.

Continue reading “Magento 2 Transfer Ordered Downloadable Product from One Customer to Another”

Magento 2 Add JavaScript with Tag Attribute From Block File

If you are looking for a way to include JavaScirpt with a tag attribute from the block file in Magento 2 then this blog post shows you exactly what you are looking for. Sometimes the JavaScript link is different as per admin config values. Also, JavaScript has different data tag values as per admin config values, at that time, this is the best way to include JS from the Block file to the front end.

Continue reading “Magento 2 Add JavaScript with Tag Attribute From Block File”