Pages
Page History
...
- In the Control Panel, select Triggers.
- Click Create trigger.
- Enter the trigger name as "Shopping cart content changed".
- In Evaluation point, select Custom Core event.
In Event, select Other predefined event. Enter the event name as "TRIGGER_CART_LINK_DESKTOP".
This means that you can show the modification using the
frosmo.easy.events.trigger('TRIGGER_CART_LINK_DESKTOP')
function.- When you're done, click Save.
...
- In the Control Panel, select Modifications > Placements.
- Select Create placement.
Define the following settings:
- Name: Enter a descriptive name, such as "Shopping cart - after product list - campaign countdown".
- Target element: Select CSS selector, and enter the value ".site-cart-product-list" (or whatever is the selector for the target element on your site).
- Display method: Select After element. This means that the modification content is displayed below the original content of the target element.
Click Select trigger.
In the triggers list, select the trigger you created earlier ("Shopping cart content changed"), and click Select.
- When you're done, click Save.
...