Content based on product bought
-
-
ThomasMaître des clés# il y a 3 années et 2 mois
Hi,
Sorry for the delay.
Not out of the box sorry. This would require a bit of custom development.
But, if you have some development knowledges, this could be an idea:
With the help of the Smart Groups add-on, I think you could be able to do something. I imagine that you can use the custom fields criteria query in order to create groups related to your products. Basically you’ll need to:
Create a code snippet hooked on a filter/action from WooCommerce, fired when a purchase is completed, and use the update_user_meta() function to create a user_meta including an array of the purchased products (an example here). Then simply use that user_meta in the custom fields criteria panel to automatically create groups.
Then you’ll be able to assign contents (your manuals and docs, but even projects, tasks, etc..) to the automatically generated groups of users that purchased a particular product.
For instance, if you own the conversations add-on, I imagine that you then create a generic community discussion page, assigned to a group containing all the users who purchased the same product.I hope that helps.
Regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂
The topic ‘Content based on product bought’ is closed to new replies.