electron10
Forum Replies Created
-
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] regular price updating issueHi,
Thank you very much! I finally fixed it a few days ago.
kind regards,Hi Friend,
Thank you very much for all the help. I finally found that I was making a mistake in the uploading / updating process.I could upload the csv file with woocommerce plugin by adding this line (define(‘ALLOW_UNFILTERED_UPLOADS’, true);) to the wp-config.php. but this methode didn’t fixed the prices. so I deleted this line from the php.
Finally the prices were fixed when I included not only the “regular price” but also the “price” on the updating process. which apparently they are not the same. and when we update one of them the other one is not updated automatically.
so thank you again guys.
cheersHi Zach, Thank you for your answer,
I had previously tried to upload my CSV file by the import products option but an error message appeared “Sorry, for security reasons this kind of file is not allowed” it said that in spanish, I just translated it.
I have just checked the woocommerce>status>log and in fact I found these Fatal errors.
2019-01-21T17:30:30+00:00 CRITICAL Uncaught Exception: Undefined field id. in /home/galaxiacma/www/wp-content/plugins/wp-all-import/models/model/record.php:148
Stack trace:
#0 /home/galaxiacma/www/wp-content/plugins/wp-all-import/controllers/admin/import.php(2413): PMXI_Model_Record->__get(‘id’)
#1 /home/galaxiacma/www/wp-content/plugins/wp-all-import/plugin.php(583): PMXI_Admin_Import->process()
#2 /home/galaxiacma/www/wp-includes/class-wp-hook.php(286): PMXI_Plugin->adminInit(”)
#3 /home/galaxiacma/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /home/galaxiacma/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#5 /home/galaxiacma/www/wp-admin/admin.php(156): do_action(‘admin_init’)
#6 {main}
thrown en /home/galaxiacma/www/wp-content/plugins/wp-all-import/models/model/record.php en la línea 1482019-01-21T18:13:32+00:00 CRITICAL Uncaught Exception: Undefined field id. in /home/galaxiacma/www/wp-content/plugins/wp-all-import/models/model/record.php:148
Stack trace:
#0 /home/galaxiacma/www/wp-content/plugins/wp-all-import/controllers/admin/import.php(2413): PMXI_Model_Record->__get(‘id’)
#1 /home/galaxiacma/www/wp-content/plugins/wp-all-import/plugin.php(583): PMXI_Admin_Import->process()
#2 /home/galaxiacma/www/wp-includes/class-wp-hook.php(286): PMXI_Plugin->adminInit(”)
#3 /home/galaxiacma/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /home/galaxiacma/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#5 /home/galaxiacma/www/wp-admin/admin.php(156): do_action(‘admin_init’)
#6 {main}
thrown en /home/galaxiacma/www/wp-content/plugins/wp-all-import/models/model/record.php en la línea 148I am not an expert on this so I would appreciate any information that can help.
Thank you in advance.Hi lorro,
Thank you for your answer. I’ve just tried it. however, nothing has changed.