1. Open the "Advanced" tab.
2. Scroll down the page to the custom JS input.
3. Add your custom JS code.
4. Click "Save".
Honeycomb exposes several custom callback function that allow you to integrate the app with your current workflow.
conversionBearUpsell.onAcceptOffer(()=>{alert('foo'); // triggers when an offer is accepted});
conversionBearUpsell.onProceedToCheckout(()=>{alert('bar'); // triggers when customers proceed to checkout});
conversionBearUpsell.setCustomGoToCheckout(()=>{alert('foo'); // triggers when customers proceed to checkoutreturn true; // will make the function execute instead of the default honeycomb checkout function});
The app isn't working as expected? > let us know.