Friday, November 21, 2014

Magento to change update product image when a link button clicked

$j('.mytest').on('click', function(e){
  e.preventDefault();
  var target = '<img src="asdf.png">';
  ProductMediaManager.swapImage(target);
});

No comments: