tlopfour Posted September 17 Share Posted September 17 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
Solution tuanphan Posted September 18 Solution Share Posted September 18 it is .product-price 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
BowmanLeather Posted October 3 Share Posted October 3 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
tuanphan Posted October 6 Share Posted October 6 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment