dominicwatts / announce
Magento 2 site-wide customer facing announcements
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.0.0||~7.1.0||~7.2.0||~7.3.0
- magento/framework: *
- magento/module-backend: *
- magento/module-ui: *
This package is auto-updated.
Last update: 2024-10-28 08:57:38 UTC
README
Magento 2 site-wide customer facing announcements
Easily add personalised customer messages to your magento store. Customised annoucements, greetings, discounts, upsells, crossells, testimonials, banners, hero images and more. Find the comment for the placeholder code in markup and go from there. This is framework to allow you to deliver personalised repeating CMS content which meet certain conditions on the frontend.
With marketing section in backend configure message groups with the following:
* Required
- Name *
- Position in site
- CSS class
- Status *
- Store View *
- Only visible on selected category
- Only visible on selected product
- Only visible to customer email
- Only visible to customer group
- Visible date from
- Visible date to
- Sort
- Limit
- Message sort by *
Then attach one or more messages to this group with the following:
* Required
- Name *
- CSS class
- Sort
- Associated Group ID *
- Status *
- Content
Messages are rendered on the frontend based on configuration.
I use magento registry to restrict footprint of database queries.
Todo
Custom placement logic / help docContact Us placementWysiwyg template filterAdmin group message selection gridUse admin group message grid to change selection and/or sortGroup visible only on selected categoryGroup visible only on selected productRandom message sortMessage limitMass status / mass deleteEscape phtmlCatch impressions- Extension own cache
- Private content (hole punch cache)
- Message title, subtitle, link, image
- Group / Message markup/template builder
- MySQL constraints
- Help / ideas docs
- [Long term] Banner manager
- [Long term] Product carousels for upsells/cross sells/related
Install Instructions
composer require dominicwatts/announce
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Useage Instructions
Admin > Marketing > Announcements
Groups
This section is used to configure message groups. This defines the structure and behaviour of the repeater field.
Messages
This section is used to configure messages. The idea is that this is any time of CMS content. These could be banners, hero images, coupon codes, message of the day, widgets and so on. You associate messages to groups. This defines the structure and behaviour of the repeating field.
Stats
Message impression stats
Help
Custom template usage
Why call it 'announce'
Adblock