bug? in autocoupon

Discussion in 'Troubleshooting' started by ccwjames, Jan 9, 2017.

  1. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    So i have 3 trial memberships on my site, lets say

    £1, £2, £3

    So I go into coupons and make a £1, £2 and £3 discount coupons. Great, before as i only offered 1 code i used to link auto coupon to one coupon code and place a %coupon% in the auto welcome product email.

    Now I have 3, so i go to auto coupon and read i must use the batch id.
    I hoover over %coupon_batchID% right click and copy. Go to New Product Welcome E-Mail and in the box paste that code. Code becomes yellow and as soon as i go to remove the batchID to change to #2. The whole text is removed.

    Maybe add coupons to the amember place holder?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Hello,

    I suggest to prepare placeholder code ie. %coupon_25% first and then put it to your template.
    I do not recommend to edit placeholder within WYSIWYG editor directly. I am afraid it can lead to unexpected behavior.

    Best Regards.
  3. ccwjames

    ccwjames Member

    Joined:
    Sep 11, 2014
    Messages:
    430
    and how do you add this placeholder manually? the point is a simple cut and paste should work and edit right?
  4. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    You can put it in notepad (or any other plain text editor) and edit it here. Then copy and past to your template.

Share This Page