Welcome, Guest Login

Support Center

Installing the Post-Purchase Popup Widget on CrateJoy

Last Updated: Dec 16, 2016 05:20AM UTC
(Accurate as of 15 Dec 2016) 

This article outlines 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 “Configure > Widgets”. 
  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. At 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). 
support@referralcandy.com
http://assets2.desk.com/
false
referralcandy
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete