Jump to content

Currency Converter to change display pricing on squarespace.

Go to solution Solved by tuanphan,

Recommended Posts

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. 

Link to comment
  • Replies 3
  • Views 380
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...
On 9/17/2024 at 5:07 AM, tlopfour said:

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. 

How is your currency converter going? I'd be very interested to see it working!

Link to comment
On 10/4/2024 at 1:16 AM, BowmanLeather said:

How is your currency converter going? I'd be very interested to see it working!

I can't access this site, but I see another site with currency converter, they use a script code

When users click Currency on Header >> it will turn currency symbol + exchange current number value to corresponding value. The code will run on Shop, Product Detail, Cart Page, Summary Block, Product Block only

But when users add product to cart, it still show original currently in Checkout, Order Email..

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.