• Resolved coadr93

    (@coadr93)


    Oh my gutenberg editor even in comments section of wp.org? ?? Sorry… I just saw it and got triggered.

    Back to wp all export…

    So I have an issue with exporting some WooCommerce products.

    The affiliate network requires all fields to be wrapped in quotation marks.

    So “title”,”description”,”price” etc.

    Problem is… some fields are exported with quotation marks, and others without.

    If I try to add quotation marks, it will double them.

    So for example if price didn’t have quotation marks and it used to be

    “title”,”description”,price

    Then if I add the quotation marks inside the template around {Price} like this “{Price}” it will then export

    “title”,”description”,”””price”””

    I’ve tried a bunch of things… no success.

    I just need it with only one set of quotation marks, is that possible?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hey @coadr93,

    Forcing double-quotes on all fields isn’t possible out of the box because the fputcsv PHP function we use under the hood only wraps columns in double-quotes on certain conditions.

    The only way to make this work would be to use a custom PHP function (that leverages our “pmxe_after_export” hook) to wrap all fields in double quotes after creating the export file.

    Thread Starter coadr93

    (@coadr93)

    Ok, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Too many “””” quotation marks’ is closed to new replies.