×

info

Dear guests,
You are currently on the old forum we kept as a knowledge base. You will find the new community forum here
Welcome, Guest
Username: Password: Remember me
Keyword

TOPIC: How can users update a custom field from a newsletter link?

How can users update a custom field from a newsletter link? 3 years 8 months ago #106233

  • Anonymous user
  • anr32's Avatar
  • Posts: 8
  • Karma: 0
Hi,

I have a custom field in the user database (order_2017, default value = "no").

I'd like to be able to create a button in a newsletter that a user can click to have the value of that field change from "no" to "yes".

The button would say "I've already ordered", and it would allow me to preclude the user from additional mailings.

(The users order my products from outside of my website, so I don't have an easy way to identify whether they've made a purchase this year or not.)

Is there any way to do this?

Thanks!
Please log in to post a reply

How can users update a custom field from a newsletter link? 3 years 8 months ago #106267

  • Tom
  • Tom's Avatar
  • Posts: 4581
  • Karma: 188
Hello,

You can try the subscription via URL in order to modify the user profile.
You could insert a link like this one in your newsletter.
index.php?option=com_acymailing&ctrl=sub&task=optin&hiddenlists=&user={subtag:email|urlencode}&user[order_2017]=yes[email]={subtag:email|urlencode}&user[order_2017]=yes
Please log in to post a reply
Time to create page: 0.059 seconds
Powered by Kunena Forum