Inserting serial in 2nd table
-
Hi everyone!
Perhaps a strange question, but can’t find the answers on this forum. Who can point me in the right direction?
I need the following: when a product is sold in WooCommerce, a serial code will be generated in the plugin WC Serial Numbers (a digital gift card). When the transaction is completed, I want a part of that data (the serial code and some static info) also inserted in another table in WordPress (a booking plugin). So when the purchase is completed, the sold code also has to be inserted in the booking plugin coupon section, to be used when actually creating the booking.
Hope there is a practical solution for this.
Thanks in advance!
- The topic ‘Inserting serial in 2nd table’ is closed to new replies.