
Security News
crates.io Ships Security Tab and Tightens Publishing Controls
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.
@callit-today/vendure-plugin-back-in-stock
Advanced tools
Back-In-Stock Email Notification Plugin For Vendure
Keep your customers in the loop for when a sold-out product gets replenished and generate more revenue by adding potential future sales!
yarn add @callit-today/vendure-plugin-back-in-stock
yarn add -D @vendure/ui-devkit
Â
Add the plugin, email handler and AdminUI extensions to plugins in vendure-config.ts
export const config: VendureConfig = {
// .. config options
plugins: [
BackInStockPlugin.init({ enableEmail: true, limitEmailToStock: false }),
EmailPlugin.init({
// .. email config
handlers: [...defaultEmailHandlers, backInStockNotificationHandler]
)},
AdminUiPlugin.init({
route: 'admin',
port: 3002,
adminUiConfig: {
apiHost: 'http://localhost',
apiPort: 3000,
},
app: compileUiExtensions({
outputPath: path.join(__dirname, '../admin-ui'),
extensions: [BackInStockPlugin.uiExtensions],
devMode: IS_DEV,
}),
}),
],
};
Â
Create a template file for the Back-In-Stock email in static/email/templates/back-in-stock/body.hbs
{{> header title="{{productVariant.name}} - Back In Stock!" }}
<mj-section background-color="#fafafa">
<mj-column>
<mj-text color="#525252">
{{ productVariant.name }} is now back in stock!
</mj-text>
<mj-button font-family="Helvetica"
background-color="#f45e43"
color="white"
href="{{ url }}/{{ productVariant.product.slug }}">
View Product
</mj-button>
</mj-column>
</mj-section>
{{> footer }}
Â
For any product that is out of stock, customers can signup to be notified via email when the product is back in stock. When a product is replenished, the plugin gets active subscriptions for it and sends email notifications.
Disable email notifications by setting enableEmail to false in plugin init
For limiting notifications sent to the amount of saleable stock set limitEmailToStock to true
Â
Implement frontend functionality. Refer to back-in-stock branch on storefront-qwik-starter
Â
:white_check_mark: Customizable options for disabling email notifications and sending emails to the amount of saleable stock
:white_check_mark: Ability to send email notifications manually from the Admin UI
:soon: Dashboard with metrics and tracking conversions
Â
MIT
Run yarn start to start Vendure on http://localhost:3050/admin
yarn startyarn generateFAQs
Back-In-Stock Email Notification Plugin For Vendure
We found that @callit-today/vendure-plugin-back-in-stock demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.