Has purchased
Check whether or not the current member has either purchased a specific product or just purchased anything at all.
Parameters
product
- The product you want to check against.
Example
You can check whether they’ve purchased a specific product by using the has_purchased
tag in a conditional.
{{ if {bison:has_purchased product="/products/t-shirt"} }}
You have purchased a t-shirt.
{{ else }}
You haven't purchased a t-shirt.
{{ endif }}
If you want to just check if they’ve placed an order, leave off the product parameter.
{{ if {bison:has_purchased} }}
You've placed an order.
{{ else }}
Nothing yet.
{{ endif }}
Problem with this page? Edit it on Github.