Revy Upsell with Yampi Checkout
To integrate Revy Upsell with Yampi Checkout please follow the following steps.
- Open your Shopify Theme Editor in Online Store > Themes > Actions > Edit Code
- Search for YampiSnippet.liquid file in the list and open the file
Search for this line in the file:
window.location.href = '/cart?ref=yampi_buy_button'
And replace by this content:
window.RevyUpsell ? window.RevyUpsell.onAdd() : window.location.href = '/cart?ref=yampi_buy_button'
Save the file and it's done.