Hi, couple of questions regarding the new coupon code placeholders in 1.21
trying to send coupon code notifications, e.g...
Client : %customer_full_name%
Email : %customer_email%
Phone : %customer_phone%
Service : %service_name%
Date and Time : %appointment_date_time% (duration : %service_duration%)
Fee (no payment is needed on the day of your session) : %appointment_price%
%coupon_1% <------- this is the new placeholder
In the email I get
Hi Brhum Bhatia,
Client : Brhum Bhatia
Email : email@example.com
Service : Single Corporate Headshot
Date and Time : August 22, 2019 2:30 pm (duration : 1h )
Fee (no payment is needed on the day of your session) : CA$122.50
%coupon_1% <---------- it's exactly the same.
I have about a dozen different coupons. I've tried a few of them with test bookings used the code (the coupon is accepted and the price is adjusted). In all cases the placeholder comes across in the email and not the actual coupon used.
What is actually supposed to be the text instead of the placeholder.
Secondly, I'm not quite sure how to incorporate this (maybe because I'm not sure what's going to show up in the notification email). So for example, if I have 10 coupons and a client books and I need to know which coupon they used, if I have
%coupon_1% all the way to %coupon_10% in the notification email, will one of them be different so I know which one was used? Will the other 9 be blank? etc.
I mentioned this in an earlier feature request and was told to use custom fields, which you can see I am using ("BROOKSIDE"), but it's duplication of effort (the client has to pick "BROOKSIDE" from the dropdown to trigger the custom field and then type "BROOKSIDE" in the coupon area so they get the appropriate discount). I'm trying to eliminate the need for my clients to have to do the same thing twice - so if I can find out which coupon they used in the notification email it will solve the problem.
Hi Brhum,Thank you for your purchase.
When you hover over the coupon placeholder you will see for which coupon it refers.
You can put all the coupon names in the notifications but only coupon which is related to the booked service will be displayed. ( so like you said all other 9 will be blank)
Check out our documentation for Amelia - WordPress booking plugin on this link.
Check out our documentation for wpDataTables - WordPress table plugin on this link.
Hi Bogdan, OK, that clears up the usage, but I put all of the coupon codes in my notification template and then did a few test bookings using some of the coupon codes. In all cases, the email translated my other codes (e.g. customer name, service, price etc.) correctly but the coupon code did not come across (in the email it still had the placeholder not the actual value).
I created a new coupon (coupon_15, code = "TEST"), modified the notification template to include the code (Hovering over it showed me it was the Test code) and then made another dummy booking - same thing again - the code is accepted during the booking (I can see the tick and the price adjusted) but the coupon does not show up in the email. Is the "Notification Interval" (under Finance/Coupons/Edit/Notification) supposed to default to zero. I can't quite understand what that value does.
Coup 1 shows the new coupon in the coupon screen
Coup 2 shows it under the notifications placeholder
Coup 3 shows the coupon in the notification email template
Coup 4 shows the email I get when I use the coupon in a booking
Attached files: coup1.jpg coup2.jpg coup3.jpg coup4.jpg
Hi Brhum,Can you please tell me did you used Send test email or did you booked a real ( or fake ) appointment and you receive an email.
I booked a real appointment. I received the email (below). All the placeholders are correct except for the coupons.
Service : Social Plus (Single Headshot) No Make-Up Artist
Date and Time : August 22, 2019 4:00 pm (duration : 1h )
Fee (no payment is needed on the day of your session) : CA$157.50
Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Is it ok that I made some fake test appointments to be able to receive this email.
Yes, it's OK.
Ok i made some fake appointments and test this out
It looks like event the real appointments are not returning the coupon.
I forwarded this to my team so we can test it out on our side.
Sorry for the inconvenience.
Attached files: Screen Shot 2019-08-26 at 1.52.15 PM.png
Any update on this? Also not sure but I think for some reason this ticket was marked as 'closed' before I made my last comment. Can the ticket stay open until resolved.
The ticketing system is closing automatically tickets after 7 days but you , as owner of the ticket, just need to reply and it will be opened.
Due to vacations almost all of our developers are on holidays, and one that developed this feature will come on Monday so I will let you know as soon as he returns.
OK. I'm replying to your message just to keep the ticket open. Please let me know if there's any progress.