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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

david-b created an issue.

  • david-b committed 7992ed88 on 1.0.x
    Issue [#3408173]: add persist_with_no_fields
    

  • david-b committed 87b0e23c on 1.0.x
    Issue [#3408173]: Promotion Content Type v2
    

  • david-b committed 719a4381 on 1.0.x
    Issue [#3408173]: Promotion Content Type v2
    

  • david-b committed ad942ed4 on 1.0.x
    Issue [#3408173]: fix wrong condition
    

  • david-b committed 653686a0 on 1.0.x
    Issue [#3408173]: fix preview after save