Naar hoofdinhoud gaan
Alle onderstaande wijzigingen zijn al opgenomen in int_kleep_sfra. Als u deze sjablonen heeft overschreven in uw aangepaste merkcartridge, kunt u de Kleep-versies verwijderen uit int_kleep_sfra/cartridge/templates/default.

Kleep-knop (PDP + Productregistratie)

Voeg toe aan beide:
  • app_custom_brand/.../experience/components/dynamic/product/productDetails.isml
  • app_custom_brand/.../product/productDetails.isml
<iscomment> CUSTOM KLEEP </iscomment>
<isinclude template="product/components/kleepButton" />
Plaats direct vóór:
<!-- Attributes and Quantity -->
<isinclude template="product/components/mainAttributes" />
U kunt de tag <isinclude> overal op de PDP dupliceren — alle knoppen delen één iframe/modal.

Afrekenenregistratie

Voeg toe aan uw afrekensjabloon:
<iscomment> CUSTOM KLEEP </iscomment>
<isinclude template="common/kleepTracking" />
Plaats direct na:
<!-- Step 3: Payment and Billing-->
<isinclude template="checkout/billing/billing" />

Bevestigingsregistratie

Voeg toe aan app_custom_brand/.../checkout/confirmation/confirmation.isml:
<iscomment> CUSTOM KLEEP </iscomment>
<isinclude template="checkout/confirmation/kleepCheckoutCompletedTracking" />
Plaats direct na:
<isscript>
var assets = require('*/cartridge/scripts/assets.js');
assets.addCss('/css/checkout/checkout.css');
assets.addJs('/js/checkoutRegistration.js');
</isscript>