updateProduct event - prestashop 1.7
On the product page, selecting a new combination will reload the DOM via ajax calls. After the update, this event is fired. |
prestashop.on( 'updateProduct', function(e) {
if (e.event &&
e.event.target &&
e.event.target &&
e.event.target.attributes &&
e.event.target.attributes.name &&
e.event.target.attributes.name.nodeValue) {
do someting
}
});
Comments
Post a Comment