How do I pick up if a product has been bought already? - ecommerce
PermalinkCan anyone assist me in the following? Or point me in the right direction.
I want to show a custom message in place of the Add to Cart Button if the product listed has been purchased already. If it hasn't then the Add to Cart button must appear.
This is for a gift registry. There will be multiple registries. so the function above needs to be specific to a registry.
