1. Home
  2. AccessAlly
  3. AccessAlly E-Commerce
  4. How To Create A “Magic Link” For Your Coupons in AccessAlly

How To Create A “Magic Link” For Your Coupons in AccessAlly

In your marketing emails, you can create a “Magic Link” to automatically apply your promo code discount to an order form.

Magic Coupon Link Applied in AccessAlly

Determine Your Promo Code Type

This setup is based on which type of coupon you’ve created. The two types shown below are used most often.

  1. Special Order Form Coupon Code – same coupon code used for everyone
  2. CRM Activated Coupon Code – unique coupon code for a contact that expires

1. Special Order Form Coupon Code

If using a Special Order Form Coupon Code, the link is created based on your order form page link and coupon code.

Go to AccessAlly → Sales → Promo Setup → Select your promo → Copy coupon code

Add Coupon Code in AccessAlly

Next, you’ll need the link to the order form page on your site. Find it under Pages in WordPress, or in your Offering → Forms tab.

Order Form Page Link:

https://members.myaccessallysite.com/my-order-form/

Add Code:

Now you’ll take the order form link and add the code example shown below to the end of your page link.

?accessally-coupon=XXXXX

Final Example:

https://members.myaccessallysite.com/my-order-form/?accessally-coupon=SAVE50

Test Link

You can copy your link and paste it into your browser to see it working! You’ll see it on step 2 of your order form.

Magic Coupon Link Applied in AccessAlly

Add Magic Link to Your Emails

Now you can paste the coded Magic Link in your emails.

2. CRM Activated Promo Coupon

When using a CRM Activated Promo Coupon, you’ll need an AccessAlly Custom Operation coded into your order form link.

  1. Create a CRM Activated Promo Coupon (if you haven’t already)
  2. Create a Show the Field Value Custom Operation

Order Form Page Link:

You’ll need the link to the order form page that works with your coupon code. Find it under Pages in WordPress, or in your Offering → Forms tab.

Example order form link:

https://members.myaccessallysite.com/my-order-form/

Find the Number for Your Custom Operation

In AccessAlly → Settings → Custom Operations, this number will be on the left.

Custom Operation Number in AccessAlly

Code Your Magic Link

Combine your order form link with the code below and replace the “#” with the number of your custom operation.

?accessally-coupon=[accessally_field_value operation_id='#']

Final Coded Example

https://members.myaccessallysite.com/my-order-form/?accessally-coupon=[accessally_field_value operation_id='#']

Test

To test your Magic Link, you’ll need to make sure your test contact is in your CRM system, and that they CRM Activated Promo Code has been created for the contact. You can then test your Magic Link, and your coupon code will be applied.

Add Magic Link to Your CRM Emails

In your automation that generates the coupon code, you can now use the Magic Link in your emails!

Updated on April 19, 2024
Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

AccessAlly Support KB Image

If you have any questions, we're just an email away.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

Laptop with the AccessAlly demo site

AccessAlly is the most flexible way to sell and elegantly deliver digital offerings. All in one place.

WATCH THE DEMO

You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.