Referral program

Referral program for Shop-Script

Bonuses for referred customers and friends

  • As any other Webasyst app or plugin, Referral program plugin is installed via Installer app in your Webasyst backend.
  • To enable the referral program, first activate the Loyalty (Affiliate) program in your Shop-Script 5 settings (Settings → Affiliate program).
  • Make sure you have support for new frontend_my_affiliate plugin hook (added in Shop-Script 5.2.2.30933 released on June 3, 2014) in my.affiliate.html template file of your design theme:
    Find line <table class="table"> and add this code before it:

    <!-- plugin hook: 'frontend_my_affiliate' -->
    {* @event frontend_my_affiliate.%plugin_id% *}
    {foreach $frontend_my_affiliate as $_}{$_}{$_aff_plugins_active = 1}{/foreach}