Training Video:
Max Rules Name | Field Applied in Catalog | Detailed Instructions | Code (copy code template below) | |
|---|---|---|---|---|
Removing Specific Brands off Product Catalog off Ads | Availability | {{#if (icontains brand "Enter Brand Name Here")}}out of stock{{else}}{{"availability"}}{{/if}}
| ||
2. | Removing Google Product Category off Product Catalog off Ads | Availability | {{#if (icontains google_product_category "Enter Google Category Name Here")}}out of stock{{else}}{{{'availability'}}}{{/if}}
| |
3. | Removing Product IDs or SKUs off Ads | Availability | {{#if (is_any id "####" "####") }}out of stock{{else}}{{{'availability'}}}{{/if}}
| |
4. | Removing Brands AND Concurrently Removing select Google Product Categories | Availability | {{#if (any_true (icontains brand "FIRST BRAND NAME HERE") (icontains brand "SECOND BRAND NAME HERE") (icontains google_product_category "FIRST CATEGORY HERE") (icontains google_product_category "SECOND CATEGORY HERE")) }}out of stock{{else}}{{{'availability'}}}{{/if}}
| |
4.a. Add Additional Brand Supplemental Code | Availability | (icontains brand "ENTER BRAND NAME HERE") | ||
4.b. Add Additional Category Supplemental Code | Availability | (icontains google_product_category "Enter Another Google Category Here") | ||
4.c Add Product ID or SKU removal Supplemental code | Availability | (is_any id "####" "####") | ||
5. | Percentage Off Savings | Custom | {{#if (num_in_range (percent_off price sale_price) 0.001 1)}}{{ numeral (percent_off price sale_price) format='0%' }}{{else}}{{/if}}
| |
6. | Label a Product "ON SALE" | Custom | {{#if (num_in_range (percent_off price sale_price) 0.001 1)}}on sale{{else}}full price{{/if}}
| |
7. | Greater Than/Less than or Equal to by Price | |||
7.a Greater Than or Equal or Equal to by Price | Custom | {{#if (num_gte price '###')}}NEW MESSAGE{{else}}PRIMARY MESSAGE{{/if}}
| ||
7.b Less than or Equal to by Price | Custom | {{#if (num_lte price '1.00')}}NEW MESSAGE{{else}}PRIMARY MESSAGE Y{{/if}}
| ||
8. | Time Based Max Rule | |||
8.a Simple Time Based Max Rule for East Coast brands | Custom | {{#if (is_current_time_between 'YYYY-MM-DD 00:00 America/New_York' 'YYYY-MM-DD 23:59 America/New_York')}}YOUR TEXT HERE{{/if}}
| ||
8.b Simple Time Based Max Rule for UK/EMEA brands | Custom | {{#if (is_current_time_between 'YYYY-MM-DD 00:00 Europe/London' 'YYYY-MM-DD 23:59 Europe/London')}}YOUR TEXT HERE{{/if}}
| ||
8.c. Advanced Time Based Max Rule | Custom | {{#if ( is_current_time_between 'YYYY-MM-DD 00:00 America/New_York' 'YYYY-MM-DD 23:59 America/New_York') }}ENTER TEXT 1 HERE{{else}}ENTER TEXT 2 HERE{{/if}}
| ||
8.d. Complex/combined Time Based Max Rule | Custom | {{#if ( is_current_time_between 'YYYY-MM-DD 00:00 America/New_York' 'YYYY-MM-DD 23:59 America/New_York') }}ENTER TEXT 1 HERE{{else if ( is_current_time_between 'YYYY-MM-DD 00:00 America/New_York' 'YYYY-MM-DD 23:59 America/New_York' )}}ENTER TEXT 2 HERE{{else if ( is_current_time_between 'YYYY-MM-DD 00:00 America/New_York' 'YYYY-MM-DD 23:59 America/New_York')}}ENTER TEXT 3 HERE{{else}}ENTER ELSE TEXT HERE{{/if}}
| ||
Comments
0 comments
Please sign in to leave a comment.