dnay76
Forum Replies Created
-
Thank you Tobias, I will contact support! That actually sounds awesome, and I am looking forward to TablePress 3!
This is great! Thank you so much for your help!!
Thank you for your quick response! Yes, we are using WooCommerce version 8.9.3
Let me know if there is any other information that you need.Darren Nay
I have yet to have found a solution to this. If you are able to find one then please post it back here? I will do the same.
Actually, after I posted this message I noticed that there was a newer version of the auto-import extension available and so updated that plugin. It seems to have fixed the problem! 🙂
Thank you for your response though!
Darren Nay
Actually, I was mistaken. It seems that your fix actually worked, but I wasn’t seeing the changes because of some caching issues with our CDN. Everything is good now, thanks so much for your help!
Thank you for your suggestion!
Unfortunately, however, that does not appear to work. When I added that line of code then the table is no longer being exported at all.
Here is what I added:
function tablepress_update_auto_export( $table_id ) { TablePress::$model_table = TablePress::load_model('table'); $exporter = TablePress::load_class( 'TablePress_Export', 'class-export.php', 'classes' ); // Load table, with table data, options, and visibility settings. $table = TablePress::$model_table->load( $table_id, true, true );- This reply was modified 4 years, 7 months ago by dnay76.
Another follow-up. This solution is working for me, except for one thing.
So, when I do an import through the wordpress web interface, or the table is updated any other way (from what I can tell) then the tablepress “auto export” extension is triggered and it creates the CSV file that I can access remotely.
However, when the tablepress “auto update” extension imports a table remotely from my URL it does not trigger the “auto export” function to update the CSV file.
Any help or suggestions?
Thanks so much!
Darren NayYes! That’s perfect. I will give it a try. Thanks so much!
So, as a follow-up. Is there a way that I can remotely read/export the tablepress table? Even if I could export the data directly from the MySQL database that would work.
I am thinking that if I can get the current table data, and add the new record to it, and then schedule it to be imported automatically at a set intyerval using the automatic import extension then that might solve my problem.
Thoughts or direction?
Thank you, I really appreciate your help!
Darren