The {IF-REVIEWER-AUTHORIZED-END} QuickCode Tag must be used in combination with the {IF-REVIEWER-AUTHORIZED-BEGIN} QuickCode Tag. The {ELSE} QuickCode Tag may optionally be inserted between {IF-REVIEWER-AUTHORIZED-BEGIN} and {IF-REVIEWER-AUTHORIZED-END}.
{IF-REVIEWER-AUTHORIZED-BEGIN} and {IF-REVIEWER-AUTHORIZED-END} are compatible with the product template (product.tpl) only.
Content between {IF-REVIEWER-AUTHORIZED-BEGIN} and {IF-REVIEWER-AUTHORIZED-END} is shown if either of the following conditions are true:
- Require Purchase? is set to NO.
- Require Purchase? is set to YES, and the customer is logged into his or her customer account and has purchased the product.
Content between {IF-REVIEWER-AUTHORIZED-BEGIN} and {IF-REVIEWER-AUTHORIZED-END} is hidden if either of the following conditions are true:
- Require Purchase? is set to YES and the customer is not logged into his or her customer account.
- Require Purchase? is set to YES and the customer is logged into his or her customer account but has not yet purchased the product.
If {ELSE} is inserted between {IF-REVIEWER-AUTHORIZED-BEGIN} and {IF-REVIEWER-AUTHORIZED-END}, then content between {IF-REVIEWER-AUTHORIZED-BEGIN} and {ELSE} is shown if either of the following conditions are true:
- Require Purchase? is set to NO.
- Require Purchase? is set to YES, and the customer is logged into his or her customer account and has purchased the product.
Any alternate content between {ELSE} and {IF-REVIEWER-AUTHORIZED-END} is shown if either of the following conditions are true:
- Require Purchase? is set to YES and the customer is not logged into his or her customer account.
- Require Purchase? is set to YES and the customer is logged into his or her customer account but has not yet purchased the product.
It is recommended to always place any content related to product reviews between the {IF-USING-PRODUCT-REVIEWS-BEGIN} and {IF-USING-PRODUCT-REVIEWS-END} QuickCode Tags, so that the content will be shown when the store's Product Reviews Module is enabled, but hidden if the store's Product Reviews Module is disabled. |