• Resolved Nick Weisser

    (@openstream)


    The prices in the feed I’m working with has an apostrophe to group thousands, e.g. 1’799.00 CHF, but Meta wants it to be 1799.00 CHF instead. I’ve tried using the number_format output formatting command like this [number_format 2 space point], but it still shows with the apostrophe.

    Any ideas how I get rid of the apostrophe?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mansary

    (@mansary)

    Hi @openstream

    You can overrider thousand separator using our plugins Number Format feature. Please go to
    Make/Edit feed > Filter > Number Format > https://prnt.sc/c6pPz1pbnT9e
    Now, regenerate the feed and open the feed on a private window, and check if you are getting the correct price with correct separator. However, you need to make sure you haven’t added the apostrophe in the woocommerce price field while adding the price.

    Incase you have apostrophe added to the price field in WooCommerce, then you would need to use string replace to remove the string from price and here you can find the instructions on how to replace/remove strings. In you case, you have to replace ‘ with blank.

    Thank you,

    • This reply was modified 2 months, 1 week ago by mansary.
    Thread Starter Nick Weisser

    (@openstream)

    Thanks Mansary. Your screenshot is not fully visible, but I made the changes like this https://opnstre.am/47MMis1 and checked if prices are entered with apostrophe, which is not the case https://opnstre.am/4gvKXty. After re-generating the feed, prices are all 0.

    <g:price>0.00 CHF</g:price>
    <g:sale_price>0.00 CHF</g:sale_price>
    • This reply was modified 2 months, 1 week ago by Nick Weisser.
    • This reply was modified 2 months, 1 week ago by Nick Weisser.
    Plugin Support mansary

    (@mansary)

    That’s strange! Can you please reach us from here?

    Thread Starter Nick Weisser

    (@openstream)

    Done.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.