• Resolved vtrn

    (@vtrn)


    Hello, I want to transfer a large number of orders, but first I did tests, I found that through the orders section, the user cannot download his file, after further investigation, I found that when a purchase is transferred, your plugin Does not make order_key!

    A normal download link when a natural or manual order is created:
    site.com/?download_file=28092&order=wc_order_wrgr6sz89Kpfh...

    A download link when generated by your plugin:
    site.com/?download_file=28092&order=_order_key...

    I tried different ways, I created a column and put wc_order_wrgr6sz89Kpfh and other random stuff, I put “1” or left it blank, no matter what I did this order_key was not generated by your plugin! Is this a bug?

    WooCommerce version: 8.4.0 (I did not update WooCommerce to the latest version because I saw many bug reports)

    Order Export & Order Import for WooCommerce version: 2.4.7

    Im not getting any error in error_log

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter vtrn

    (@vtrn)

    my csv file:

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @vtrn,

    Thank you for reaching out to us.

    Could you share sample CSV files for the product and order after removing sensitive information so that we can take a look at it? You may share the CSV file by uploading it to Google Drive, WeTransfer, or any similar service and sharing the link with us.

    Thread Starter vtrn

    (@vtrn)

    Hi @webtoffeesupport thank you for helping me,

    I tested this on two sites (even on a new wordpress), what I think:
    This problem is from the plugin or from the csv file and its settings

    Download The csv file I want to import

    Download Product csv file with all fields

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @vtrn,

    We tried importing the CSV file you provided in our testing environment, but we were unable to replicate the issue. While importing in our testing environment, the product ID was the same as the import file. However, in your case, the products might have been imported with new product IDs due to post-ID conflict, hence the orders may not be linked properly with the products.

    To address this, you can try adding SKUs to your products on your export site, migrating the products, and orders again. When importing orders, you can use the option “Link products using SKU instead of product ID.” This way, even if the product IDs change during import, the orders will be correctly linked to the products based on their SKUs.

    Alternatively, you may check the current product ID of the products and update the order import CSV file with the new product IDs and then try updating the orders again.

    Thread Starter vtrn

    (@vtrn)

    you are saying that after importing the csv file of the order I gave, on the product that I gave the csv, the order_key was created? without any changes?

    We have no problem identifying the product with the product ID! As I said, I created a product on a new site and imported the csv file.
    Everything is right, the order is made, the product is right! The order is completely correct, only the order_key is not created!

    Of course, I must also say that we do not export orders from another WooCommerce site, we make them ourselves!
    I plan to transfer orders from an edd site to a WooCommerce site, I will receive the csv file from edd and upload it as your plugin accepts! It means exactly according to the sample csv file that I sent you!
    Products are manually and pre-imported!
    Are you sure that you only imported with the csv file I gave you and that the order_key was created for that order?
    To make sure that the order_key has been created or not, you can go to the orders section in my-account and download the purchased download file, and here you will encounter an error because the order_key has not been created!

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @vtrn,

    Yes, we were able to generate the order_key after importing the files provided by you. When importing an order, if there is no order_key present in the import CSV file, as in your case, the order key will be automatically generated by our plugin. Additionally, we were also able to download the product from the site.

    In order to replicate your environment, could you please share your system status log via support?

    Thread Starter vtrn

    (@vtrn)

    my system status log

    how i imported video

    If you need more, like access, let me know

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @vtrn,

    We tried replicating your environment and importing the file you shared, but we were unable to replicate the issue. Sharing your site access here is against the forum guidelines, and we do not recommend you sharing your site access here as this is a public forum.

    However, we have made a small change in how the order_key is generated. Since we cannot share the plugin zip file here, you may contact our support to get the plugin zip file.

    You can contact Supoort by clicking here.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘order_key problem’ is closed to new replies.