When integrated, out-of-the-box logic of the Bold Subscriptions app adds a JavaScript library to a Shopify store. After the customer chooses the product for subscription, the script takes the details of this product and transfers them via API to Bold, so the system can understand for what sum and during which period to repeatedly charge the customer.
The complexity of the Shopify subscription service optimization for Postfly was the default functionality of Bold Subscriptions - to work only with a single product, so, one entity on a page. The idea of buying journey improvements was placing two main products with numerous variations and types of subscriptions on a single page. We had to customize the underlying logic of Bold Subscriptions for this purpose.
We developed a JavaScript that customizes the logic of Bold to enable it to operate using data from two or more products on a single page. Our script extends the script of Bold on the side of the Shopify store and modifies the default app behavior.