• Resolved Bouke Koning

    (@boukekoning)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Owadud

    (@owadud655)

    Hi Bouke,

    Thanks for reaching out.

    This requirement can be addressed through custom development or integration between the WC Serial Numbers plugin and your booking plugin. The process you’re looking for is essentially an automated transfer of data from one plugin to another upon a completed transaction.

    One approach could involve creating a custom WordPress plugin or function that listens for completed transactions in WooCommerce. This custom solution would then extract the necessary information, such as the serial code, and automatically insert it into the booking plugin’s coupon section.

    It’s crucial to note that this would likely require good coding knowledge or the assistance of a developer experienced with WooCommerce and WordPress plugin development.
    Additionally, ensuring compatibility and maintaining data integrity between these two plugins is vital.

    Hi @boukekoning,

    Just checking on this. Do you still need assistance here? I’ll close this ticket for now but if you still need assistance with it, please reopen it and I’ll happily assist you.

    If you have other issues, you can open a new ticket and I’ll help you there too.

    Thanks for using WooCommerce Serial Numbers. Have a great day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inserting serial in 2nd table’ is closed to new replies.