Forked from tobymarsden/BEST Currency Converter (Doubly)
Created
June 28, 2021 09:55
-
-
Save aaliyan111/f1f24e1f8868f627190a46a534dcfb39 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
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