Create variable in javascript that is currency convertable

New Member
1 0 0

Hey there,


I need help creating a variable in Javascript that acts as a target amount for my smart free shipping bar, that is also convertable by the default Shopify currency conversion selection. At the moment my target value is set at 25 EUR, but when I convert my currency to lets say USD the target is still set at 25, instead of changing accordingly. I think that the variable has to contain some sort of Liquid filter to be convertable, but I have had no luck trying. Your help is much appreciated!