将WooCommerce订单保存到另一个数据库

时间:2018-12-03 10:34:53

标签: wordpress woocommerce

我有一个WooCommerce商店,它通常将订单数据保存在WordPress数据库中。我创建了一个单独的数据库to_char(sysdate - 730, 'yyyy'),我想在其中存储WooCommerce订单。

为此,我在+------------+------------+---------+ + Date | -730 day + -2 year + +------------+------------+---------+ | 2018-12-31 | 2016-12-31 + 2016 + | 2019-12-31 | 2017-12-31 + 2017 + | 2020-12-31 | 2019-01-01 + 2018 + ==> different year | 2021-12-31 | 2020-01-01 + 2019 + ==> different year | 2022-12-31 | 2020-12-31 + 2020 + | 2023-12-31 | 2021-12-31 + 2021 + | 2024-12-31 | 2023-01-01 + 2022 + ==> different year | 2025-12-31 | 2024-01-01 + 2023 + ==> different year +------------+------------+---------+ 中将一个单独的数据库定义为:

order_master

那么,可以使用外部数据库来保存WooCommerce订单详细信息吗?如果是,那么我将非常感谢您对此提供的任何帮助。

0 个答案:

没有答案