Create Private Folder per WooCommerce Purchase
-
Hi,
I am attempting to integrate this plugin with WooCommerce. I would like to create a folder per-user per-purchase. Investigating the plugin’s source, I see that the template tags should support options for %wc_order_id%, but I’m not sure how to take advantage of it to get the behavior I’m looking for. Something like “%user_login% Order: %wc_order_id%”. I see that there are fields for %wc_product_id%. Maybe this is what I’m looking for, but I’m not sure how to take advantage of those either to get the behavior I want.
For example, if a user buys a product, they should be shown the private folder “user@example.com Order: 1234”. If they buy a second product (same or different product), I also want to show a second folder “user@example.com Order: 4567”.
- The topic ‘Create Private Folder per WooCommerce Purchase’ is closed to new replies.