Okay
  Public Ticket #2568006
Format of Price
Closed

Comments

  • Carla Jones started the conversation

    Good day

    When pulling the price field through the API, it uses a comma instead of a full stop to show the decimals.

    i.e. R130,40 instead of R130.40.

    I cannot see to find the setting as to where to change this. 

    Can you please assist?

    Thanks

  •  2,214
    WebWizards replied

    Hi Carla,

    Thank you for purchasing our plugin,


    The API is not my specialty but I'll try to help.

    Did you try to change the settings here in WooCommerce->Settings->General for the decimals/thousand separator?

    4749301270.png


    Best Regards,

    Stefan

  • Carla Jones replied

    Hi

    Thank you. I have checked that and it all looks good. 

    The strange thing is that on the back end of the site the B2B price is displayed with a comma. But on the front end it is a full stop. 

    See attachments. 

    I am not sure how to fix this, but as long as the full stop is on the front end, it should be fine.

    Thank you

  • Carla Jones replied

    Hi, Sorry, one last question. 

    Since I am using your plug in for the registration forms, the columns on my Woocommerce Account Page are not correct anymore. 

    See attached screenshot. 

    I need the login in one row, and the register part on the next row.

    Can you please assist?

    Thanks

  •  2,214
    WebWizards replied

    Hi,

    Regarding backend - frontend comma/dot it shouldn't be a problem. The reason it's different in the backend is that it uses the "number" field and that uses your browser's settings. Shouldn't have any impact.


    Regarding registration, yes I can help you with that. That's a styling problem (CSS):

    Give me a link to the registration page and I can give you some CSS code to add so that the style looks good.


    Usually it looks good with most themes, I wonder if you're using a less popular theme.