Redirecting the customers to different Checkout app or Side Cart using the app functions
Feature: Using different app functions - customers can be redirected to Checkout or Cart apps:
Example : GoKwik checkout

For the Checkout and Side cart apps check the functions below:
For theme based cart drawer use the below 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()
Updated on: 01/12/2025
Thank you!
