Jump to content

Dimicology

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Dimicology

  1. On 8/27/2021 at 11:21 PM, creedon said:

    Please see Cart Prices Sqs-Money-Native Add. I basically had the core of the cart problem solved with my other code. I just had to rejigger the code and package it up.

    Let us know how it goes.

    Thanks Thomas for your code and your help, I highly recommend your expertise to anyone willing to fix this issue.

    Guys, just drop Thomas a line and he will be of great help.

     

    D.

  2. 10 hours ago, creedon said:

    The first thing you will want to check is to make sure that the currency setting is set properly for the site.

    Please see Changing your store's currency.

    If you use product variants your code will break. Please see the following for a little more detail on why.

    Now to possible solutions.

    Please see Store Product Detail Price Add Sqs-Money-Native for Variants.

    This code should maintain your CSS effect when a variant is selected.

    The Change Store Product Detail Price Text mentioned in the above code can be used to manipulate prices, it's documentation shows several examples.

    I'm not aware of Javascript code that manipulates the prices on the cart page. I don't think it would be all that hard. I don't think CSS alone can get the job done.

    Let us know how it goes.

    Thanks Thomas !

    I've been using your code and it seems to work well for variants as it keeps displaying the € symbol after the price even if a variant is selected.

    This is a nice improvement. Problem subsist in the cart though but I guess Ill leave it like that for now.

    Once again thanks for your help, I made a donation via Paypal.

     

    Dimitri.

  3. 21 hours ago, paul2009 said:

    Which EU law are you referring to? Placement of the € symbol varies among EU countries, with no official standards or standardisation across Europe. Each country has their own convention, so whilst many countries typically display the € symbol after the number, in Ireland it is placed before the number. There are also different conventions about thousand separators (comma, decimal point or space) and while number separators (decimal point or comma). For example:

    €9,876.54

    9 876,54 €

    9.876,54 €

    A custom JavaScript solution could be built to modify the formatting on product and cart pages, but it won’t be able to modify the checkout page, because Squarespace control this. If that’s an issue, I recommend contacting Squarespace Customer Care

    Hi Paul,

    https://publications.europa.eu/code/fr/fr-370303.htm

    it is true that its different depending on the country, for France and french language website it is explained in the link above.

    I have contacted Squarespace and they told me to post in this forum. Ill retry.

    Thanks.

  4. Site URL: https://pouvoirgourmet.fr

    Hi all,

    Im currently building a website for a french business that is based in European Union.

     

    As to obey to European Laws, I need to display the € currency symbol AFTER the price, something like this:

    12,50€

    And NOT:

    €12.50

    European laws needs a decimal (not a comma) and the currency symbol to be displayed after the price.

    With this code I managed to have it work on product pages but not on the cart page.

     

    /* --   CUSTOM SCRIPT / EUROPEAN CURRENCY / davidmazeau.com   -- */

    .native-currency-code-eur .sqs-money-native {    &:before {      content: '€';      display: none;    }    &:after {       content: '€';    }}

    /* --   CUSTOM SCRIPT / EUROPEAN CURRENCY / davidmazeau.com   -- */

     

    This is my first website I build for a European business and Im very surprised that this elementary thing is not implemented in Squarespace, but probably its my mistake and I couldnt find a solution for this issue.

     

    Any idea how to comply to European Laws in terms of pricing ?

    Thanks,

     

    Dimitri.

     

     

     

×
×
  • 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.