Blog

Magento : Dynamic comment loading for admin system config field (Part 2/2)

May 14th, 2014 by in Backend, Development, Magento 2
Magento : Dynamic comment loading for admin system config field (Part 2/2)

In the first part of this tutorial we have seen how a custom model that will render a comment for system configuration field can be defined. We have used this to render a comment depending on saved value of the field. That’s all nice, but what about changing the contents of the comment in real-time without having to save the configuration in order to preview the changes? In this post I will show you how to do exactly that.

Read more »

Magento: How to check if product is in the wishlist?

March 13th, 2014 by in Frontend, Magento 4
wishlist

If you need to check if a product is in the wishlist and display that information instead of the default Magento “Add to Wishlist” link, this article is for you. To simplify things I will explain how to detect if a product is in the wishlist on category and product page but the principle is the same for any other pager or block. You just need to be sure that you have the product id available. Everything else should work fine on any page.

Read more »
css.php