• Resolved loopforever

    (@loopforever)


    Hi,
    The default comma (,) sign is used as the separator for product export or product import.
    Can I change it to semicolon (;) ?
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    For the most part, the comma (,) is the delimiter. To change this:

    * Go to WooCommerce > Products.

    * Select Import at the top. You will see the Upload CSV File screen.

    CSV delimiter
    Link to image: https://snipboard.io/ADnNRq.jpg

    It includes an option to select your CSV delimiter.

    Let us know if there are any questions.

    Thread Starter loopforever

    (@loopforever)

    Thank you for your answer. Yes I know that. However, I want the default value to always be semicolon (;). Is there a hook for this?
    Also in which php file is this being edited.
    Thank you again.

    Thread Starter loopforever

    (@loopforever)

    2-) I didn’t want to open a topic again. I would be glad if you help.
    Is there a hook that works during the product transfer phase?
    I don’t want to write data like attribute visibility and attribute global for variations as 1 at a time. I want to get it as 1 by default. That’s why I asked.

    That’s a good question,

    This is possible using this filter:
    woocommerce_product_export_delimiter

    If you are not familiar with hooks, you can start at:
    https://woocommerce.com/document/introduction-to-hooks-actions-and-filters/

    * Also, you can find more information at:
    Delimiter property with filter:
    https://github.com/woocommerce/woocommerce/pull/24759

    * To alter the default delimiter, you will need a custom snippet
    You can find the snippet here.

    I hope this helps.

    Thread Starter loopforever

    (@loopforever)

    Thank you so much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Export-Import Command’ is closed to new replies.