(Accurate as of 15 Dec 2016)
This article outlines the steps needed to install the Post-Purchase Popup Widget specifically on the CrateJoy platform. Please ensure that you've integrated ReferralCandy properly before inserting the Post-Purchase Popup.

Step 1: ReferralCandy Dashboard

  1. Go to ReferralCandy.

  2. Go to the Widgets page.

  3. Go to “Post-Purchase Popup Widget” and copy the code inside the yellow box.

Step 2: CrateJoy Dashboard

  1. Go to CrateJoy.

  2. Go to the “Design” tab.

  3. Click “Code”. You may wish to make a copy of your theme before editing the code.

  4. Navigate to “components > customer > thank_you > Customer Thank You Content > component.html”.

  5. Paste the copied code after the Integration code </script>.

  6. Replace:

    1. data-fname=”John” with
      data-fname={{ order.customer.first_name }}

    2. data-lname=”Smith” with
      data-lname={{ order.customer.last_name }}

    3. data-email=”......” with
      data-email={{ order.customer.email }}

To test whether the installation is correct:

  1. Make a purchase at your store.

  2. On the Thank You page, a popup should appear. The referral link in the popup should be generated based on the first and last name that you used during checkout (e.g. http://example.refr.cc/johns).

Did this answer your question?