Created
October 27, 2020 15:45
-
-
Save unlocomqx/bcd3b6f57be410523eec3a4408322c69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
if (+id_product_attribute === 3) { | |
$('#dsn-button, #dsn-product-footer').hide(); | |
} else { | |
$('#dsn-button, #dsn-product-footer').show(); | |
} | |
}); | |
prestashop.on('updatedProduct', function(data) { | |
if (+data.id_product_attribute === 3) { | |
$('#dsn-button, #dsn-product-footer').hide(); | |
} else { | |
$('#dsn-button, #dsn-product-footer').show(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment