Revy Upsell with Yampi Checkout

To integrate Revy Upsell with Yampi Checkout please follow the following steps.

  1. Open your Shopify Theme Editor in Online Store > Themes > Actions > Edit Code
  2. Search for YampiSnippet.liquid file in the list and open the file

  3. 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'
  4. Save the file and it's done.

Still need help? Contact Us Contact Us