Use Cases
Largely used in the Creative Suite with some uses in building Product Sets. This rule/code, once applied in a Custom Label field, allows for the user to tell the system that if “Sale Price” (if available) is lower than the standard “Price”, then label in the catalog as “On Sale”. If not, do nothing (no special label)
Uses 1: Applying a special overlay to each individual products in the catalog that are on sale
This is particularly useful when you have a client that wants to create a special overlay or design specifically for products that are “On Sale”. In practical use terms, if a customer sees a carousel ad from our client’s brand, then within the 10 card carousel ad, half of the ads (assuming half of the products are labeled “on sale”, will have the special design while the other half of the ad may just have their BAU overlay.
Use Case 2: Allows the creation of a Product Set labeled On Sale
Having this code labels each product in the catalog whether they are “on sale” or not. This indicator or label can then be created as a filter to create a Product Set exclusively and specifically for products that are indeed “on sale”
Example:
Costco Wholesale wants to create dynamic carousel ads where they want to make sure that products within the ad unit that are in their weekly sale flyer, has a special “SALE” badge while other products that do not will have this label will use the standard design treatment.
Solution is to apply the following Max code to CUSTOM LABEL FIELD in Product Catalog:
Copy and Paste this Code |
{{#if (num_in_range (percent_off price sale_price) 0.001 1)}}on sale{{else}}full price{{/if}}
|
Instructions to ADD Max Rule Yourself:
|
Comments
0 comments
Please sign in to leave a comment.