Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aaliyan111/f1f24e1f8868f627190a46a534dcfb39 to your computer and use it in GitHub Desktop.
Save aaliyan111/f1f24e1f8868f627190a46a534dcfb39 to your computer and use it in GitHub Desktop.
window.HYPERVISUAL_CALLBACKS = {
afterProductEmbed: function() {
$(this).find('.hypervisual__embed_product-price, .hypervisual__embed_product-compare-at-price').addClass('money');
if(typeof DoublyGlobalCurrency !== 'undefined') { DoublyGlobalCurrency.convertAll($("[name=doubly-currencies]").val()); }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment