@dotdev/dotapparel-voucher-widget
v1.1.2
Published
React widget for redeeming Apparel21 vouchers in the Shopify checkout
Downloads
151
Maintainers
Keywords
Readme
DotApparel Voucher Widget
React widget for redeeming Apparel21 vouchers in the Shopify checkout.
Installation
In layout/checkout.liquid
, add the following just before the </head>
tag.
<script src="https://unpkg.com/@dotdev/dotapparel-voucher-widget"></script>
Local development
Run npm start
to start the dev server.
In layout/checkout.liquid
in a preview theme, add the following just before the </head>
tag.
<script src="http://127.0.0.1:8000/app.js"></script>