dimanche 1 mars 2020

WooCommerce Execute PHP Per Product in customer-processing-order.php

WooCommerce PHP experts I've added a few lines of code to create a link that includes the order id in the string and it is working great. I would now like to see if I could trigger it using an if statement based on a product purchased. The product ID I am working with is 18.

I've tried a variety of modifications to the script found here. WooCommerce Execute PHP Per Product On Successful Checkout with no success.

Any help would be greatly appreciated.

Aucun commentaire:

Enregistrer un commentaire