Jump to content

husseinhallak

Member
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    husseinhallak got a reaction from carrie1 in How To Display Currency Type (USD) After Price and In Cart   
    @nicktiang Thank you for sharing
    Really helpful and a lifesaver
    I was just about to move the whole store to Shopify and couldn't believe that they do not have that simple feature!
    Here is what I ended up using. Hope it helps someone else :)
    /* CSS for Product USD -------- /.sqs-money-native:before { content: $ !important; } .sqs-money-native:after { content: ' USD' !important; } / End of CSS for Product USD -------- */
    /* CSS for Cart USD -------- *///Cart.CartTableRow-itemPrice:before { content: $ !important; } .CartTableRow-itemPrice-26eXS:after { content: ' USD' !important; }
    //Cart subtotal.CartTable-subtotalPrice:before { content: $ !important; } .CartTable-subtotalPrice-2JFeD:after { content: ' USD' !important; } /* End of CSS for Cart USD -------- */
  2. Like
    husseinhallak reacted to tgtstudios in How To Display Currency Type (USD) After Price and In Cart   
    So I found this code that works to display the currency (USD) in the product page, although once you make a change to the product (ie: size, colour) it disappears again. I need to be able to show the currency in my pricing, both on the product page and in checkout, otherwise its very confusing to customers (I'm a Canadian business selling in USD).
    Here is the code I'm using to display USD in product pages, which works until you select modifiers:
    ".sqs-money-native:before { content: none !important; } .sqs-money-native:after { content: ' USD' !important; }"
    This is the version for cart currency display, but I haven't had any luck with it at all:
    .sqs-fullpage-shopping-cart-content .cart-container .item-price .price:first-letter, .sqs-fullpage-shopping-cart-content .cart-container .subtotal .price:first-letter { color: #fff; } .sqs-fullpage-shopping-cart-content .cart-container .item-price .price:after, .sqs-fullpage-shopping-cart-content .cart-container .subtotal .price:after { content: ' USD' !important; }
    Can anyone help amend this to display for all product variants, but even more importantly "in cart"? It seems completely ridiculous that Squarespace doesn't display currency in cart, its causing me a ton of problems. Any help is greatly appreciated!
×
×
  • 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.