Because there's no default plugin for a currency converter that works with Squarespace, I decided to undertake building one using Java, CSS, and a currency exchange API database. I wanted to ask, what's the class name or class attribute for the display price on Squarespace? The code works as intended so far (for example, if the price is $150, the code changes the currency into the currency selected from the dropdown menu); however, I can't find the class attribute for the display price on Squarespace. I am aware that I can not change the currency my customers check out in, which is why I intend to add a banner informing them that they will be checking out in my store's default currency (USD). I would only like to show them how much the product will cost in their currency of choice so I can decrease cart abandonment, bounce rates, etc. If successful, I plan on publishing the code publicly.
Currency Converter to change display pricing on squarespace.
in Customize with code
Posted
Site URL: https://www.mindlessarchive.com/
Because there's no default plugin for a currency converter that works with Squarespace, I decided to undertake building one using Java, CSS, and a currency exchange API database. I wanted to ask, what's the class name or class attribute for the display price on Squarespace? The code works as intended so far (for example, if the price is $150, the code changes the currency into the currency selected from the dropdown menu); however, I can't find the class attribute for the display price on Squarespace. I am aware that I can not change the currency my customers check out in, which is why I intend to add a banner informing them that they will be checking out in my store's default currency (USD). I would only like to show them how much the product will cost in their currency of choice so I can decrease cart abandonment, bounce rates, etc. If successful, I plan on publishing the code publicly.