I’m developing a gift card sale for the company I’m working for and I need to be able to restrict the lifetime purchase values of a product per customer.
Example:
The maximum cumulative value per customer I want to set is $500. The customer should be able to purchase as many gift cards as they want until they reach the $500 limit. They could do this by buying five $100 gift cards, all on different occasions. The system then should show a message if they try and purchase this specific product again.
I haven’t found any plugins that can achieve this so I’m looking for a code snippet or paying someone to write the code that’s also future-proof.
[ad_2]