I created a customized plugin that retrieves an image from an API based mostly on consumer enter. The image then reveals on my WordPress web site and can also be saved to a database. My plan is subsequent to create a few mockups with the printful mockup generator api after which use these photos to create a few merchandise.
Making merchandise with the WooCommerce CRUD is already going fantastic, nonetheless right here comes the problem:
How do I solely present merchandise to a consumer which might be particular to their enter?
Each time somebody makes use of the retrieval of a picture, a brand new set of merchandise is made however I solely wish to present those on the location particular to their request. I additionally would really like for the merchandise to nonetheless be there in the event that they by accident refresh the web page.
Any concepts on tips on how to clear up this? Many thanks for any ideas!