Apply, Verify, and Validate Shopify Discount Codes

Shopify doesn't have an API to verify discount, however I have found a little work-around. By making an AJAX call to /discount/(code), Shopify will set a cookie telling the checkout to auto-apply a discount on visit to the checkout page. Next, making an AJAX call to /checkout, we're able…

Reactive VueJS Plugins

VueJS has been my go-to framework from building small to medium-sized frontend applications and add-ins. Its simply great - easy to develop with and able to plug into existing systems as a simple view layer. Plugins & Reactivity Plugins in Vue, allow you to extract code into a re-usable module.…