Skip to content

Instantly share code, notes, and snippets.

@unlocomqx
Created October 27, 2020 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unlocomqx/cc95470e5553d9a467535193714b2b6e to your computer and use it in GitHub Desktop.
Save unlocomqx/cc95470e5553d9a467535193714b2b6e to your computer and use it in GitHub Desktop.
$(window).on("load", function () {
dp_calc.subscribe(function (data) {
if (data && data.final_prices && data.final_prices.price_ht == 0) {
$(".price-error").fadeIn();
} else {
$(".price-error").fadeOut();
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment