Higher ordered promotion items will display before lower weighted items if multiple promotions are set to display in the same component at the same time.
Example: If there are 2 promotions set to display in a Banner at the same date / time, the higher weighted item will display on first page load, the 2nd item on 2nd page load.
Once there are no more promotions to display within a component (or no promotions are scheduled), a default piece of content would replace the promotion.
Add Include promotion checkbox to the blocks that could contain promotion (Cards, Promo Cards, Banners, Ping Pongs, Modals). It should appear before Promotion category field and will have the following logic:
If user has checked the checkbox, we will launch promotion search process (based on the promotion status and chosen category if any) and replace the block data with promotion content.
Otherwise if checkbox hasnβt been checked this block will be rendered as usual without processing any promotion content, and will display the default content only.
Remove Visibilty pages field from the Promotion content type because it makes the logic too complex and overwhelmed.