Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Premature end of data in tag html line 2 in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 QC: {TRIGGERED-EVENT-BLOCK-END}
Modular Merchant
QuickCode™ Glossary
{TRIGGERED-EVENT-BLOCK-END}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{EVENT-BLOCK-BEGIN}

{EVENT-BLOCK-END}

{IF-TRIGGERED-EVENTS-BEGIN}

{IF-TRIGGERED-EVENTS-END}

{NUMBER-OF-TRIGGERED-EVENTS}

{TRIGGERED-EVENT-BLOCK-BEGIN}

{TRIGGERED-EVENT-BLOCK-END}

Events > {TRIGGERED-EVENT-BLOCK-END}
<< {TRIGGERED-EVENT-BLOCK-BEGIN}
{TRIGGERED-EVENT-BLOCK-END} Updated: 07/8/2013
The {TRIGGERED-EVENT-BLOCK-END} QuickCode Tag may be used with the {TRIGGERED-EVENT-BLOCK-BEGIN} QuickCode Tag to create a block of content that is added to the page once for each public event that has been triggered by the current order.
 
Events are created using the Event Editor, and may be configured with a wide range of trigger types. In order for an event to be displayed in the storefront, its Public option must be set to YES. If the Public option is set to NO, the event may still be triggered and redeemed, but information about the event will not be displayed in the storefront.
Requirements / Prerequisites
The {TRIGGERED-EVENT-BLOCK-BEGIN} QuickCode Tag must be used in combination with the {TRIGGERED-EVENT-BLOCK-END} QuickCode Tag.
 
{TRIGGERED-EVENT-BLOCK-BEGIN} and {TRIGGERED-EVENT-BLOCK-END} are compatible with any storefront template.
 
Content between {TRIGGERED-EVENT-BLOCK-BEGIN} and {TRIGGERED-EVENT-BLOCK-END} will be added to the page once for each public event that is currently triggered.
 
It is recommended to place {TRIGGERED-EVENT-BLOCK-BEGIN} and {TRIGGERED-EVENT-BLOCK-END} between {IF-TRIGGERED-EVENTS-BEGIN} and {IF-TRIGGERED-EVENTS-END}, so that the triggered event block and its formatting will only be shown if at least one public event has been triggered.
Example of Use
1. Create an event with the following settings:
Example
Event Type Coupon Code When the customer enters the coupon code 10PERCENT
Event Name Discount Code
Public YES
Active YES
How to apply the Triggers below This event doesn't use triggers. (It's either ALWAYS applied, or uses a coupon code with no additional requirements.)
 
2. Create a second event with the following settings:
Example
Event Type Automated Event
Event Name Summer Sale
Public YES
Active YES
How to apply the Triggers below This event doesn't use triggers. (It's either ALWAYS applied, or uses a coupon code with no additional requirements.)
 
3. Create a third event with the following settings:
Example
Event Type Automated Event
Event Name Free Shipping
Public YES
Active YES
How to apply the Triggers below Match ALL the triggers below.
Trigger Type basket
Trigger Details The basket subtotal is greater than $49.99
 
4. Add the following code to a storefront template:
 
5. When the corresponding storefront page is viewed by a customer who has not yet added any products to the basket, and has not yet applied the coupon code, only the second event would be triggered, and so the following would display:
Example
Specials Applied To This Order: 1
Summer Sale
 
6. If the customer adds at least $50 worth of products to the basket, the third event would be triggered in addition to the second event, and so the following would display:
Example
Specials Applied To This Order: 2
Summer Sale
Free Shipping
 
7. If the customer applies the coupon code 10PERCENT to the order, the first event would be triggered in addition to the second and third events, and so the following would display:
Example
Specials Applied To This Order: 3
Discount Code 10PERCENT
Summer Sale
Free Shipping
Source Code Source Code Updated: Warning: date() expects parameter 2 to be long, string given in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 796
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {TRIGGERED-EVENT-BLOCK-END} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2019 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map