Merchants on Zid can activate the loyalty program through their dashboard. As a theme developer, your role is to integrate loyalty program features into the theme, ensuring customers can interact with these functionalities seamlessly.
Activation Steps for Merchants#
Upon activation, merchants configure the points collection method. This customization includes setting the number of points awarded for each completed order.Next, merchants add various redemption methods they wish to offer.
Code Snippet Integration for Theme Partners#
As a theme developer, you need to integrate loyalty program templates into the appropriate theme files:Add template_for_product_loyalty_points_widget
in templates/product.twig
Add template_for_cart_loyalty_points_widget
in templates/cart.twig
Code Sample for product.twig
:#
Code Sample for cart.twig
:#
Customer points code sample for template/account-loyalty-program.twig
:#
Modified at 2025-01-06 17:34:06