Skip to main content

Redirecting the customers to a different Checkout app or Side Cart using the app functions

Sid avatar
Written by Sid
Updated over 2 weeks ago

Feature: Using different app functions - customers can be redirected to the Checkout or Cart apps:

Example: GoKwik checkout

For the Checkout and Side cart apps, check the functions below:

For a theme-based cart drawer, use the following function:

gbbExt.utility.handleSkaiLamaSideCartUpdate()

GoKwik:

window.gokwikSdk.initCheckout(merchantInfo);

Shopflo:

window.Shopflo.openCheckout()

Zecpay:

zecpeCheckFunctionAndCall("handleOcc")

Rebuy:

Cart.getCart();
[//location.reload](notion://location.reload/)();

Shiprocket or Fastrr:

sessionStorage.setItem("gbbDiscount",gbb?.gbbDiscountComponent?.state?.discountCode);
document.cookie = "discount_code=" + gbb?.gbbDiscountComponent?.state?.discountCode + "; path=/; Secure; SameSite=Lax";
shiprocketCheckoutBuyCartHandler()

Monster cart:

gbbExt.utility.handleSkaiLamaSideCartUpdate()

Upcart:

window.upcartOpenCart()
Did this answer your question?