Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › Adding Product Title To eStore Stylish Squeeze Form As Source Field
- This topic has 8 replies, 2 voices, and was last updated 8 years, 10 months ago by stumax.
-
AuthorPosts
-
January 8, 2016 at 4:35 pm #12680stumaxParticipant
Hi,
I have a few free downloadable products that use a squeeze form, until now each product had a separate list on Mailchimp, as it appears to be difficult to send a single email to separate lists on Mailchimp I have now merged all of the lists to a singular list and added a new hidden field called Source, I’ve managed to populate this field for previous downloads but the only thing I am missing is a way in which to populate this field via the SSF template for new downloads.
Is there any simple way to populate the field without having to hack the sff template (which I’m happy to do if you can provide any guidance.)
Thanks,
Stu
January 9, 2016 at 12:01 am #72259adminKeymasterAre you trying to use interest group with your mailchimp signup?
January 11, 2016 at 1:37 pm #72260stumaxParticipantEssentially yes, it’s pretty much the same as an interest group.
Thanks
Stu
January 12, 2016 at 1:06 am #72261adminKeymasterThe post will tell you how you can use the MailChimp Interest groups:
https://support.tipsandtricks-hq.com/forums/topic/estore-mailchimp-group-integration
January 12, 2016 at 11:47 am #72262stumaxParticipantHi ,
Thanks for that , for the most part it does the trick for me. One slight issue though that was touched upon in the post you mentioned, although I’m not clear exactly how to fix it from the comments included.
So when I sign up a user to group A it assigns to the group fine, but after signing the same user to group B it appears to overwrite the groups so that the user is only listed in the most recently assigned group.
Any idea how to fix this part ?
Thanks,
Stu
January 12, 2016 at 2:03 pm #72263stumaxParticipantJust to note , the group is set up to enable more than one selection (using check boxes rather than radio buttons.)
January 12, 2016 at 3:48 pm #72264stumaxParticipantHad more of a play with this, from what I can tell the settings are in lib/auto-responder/eStore_MCAPI.class.php
Here’s what I have currently for listSubscribe function –
function listSubscribe($id, $email_address, $merge_vars=NULL, $email_type='html', $double_optin=false, $update_existing=true, $replace_interests=false, $send_welcome=false)
Still no joy, please confirm if I am looking at the right code here ?
Thanks,
Stu
January 13, 2016 at 1:37 am #72265adminKeymasterDon’t touch the library class file. Instead modify where the API call is made.
Open the following file:
eStore_auto_responder_handler.php
Then search for the following in that file:
$api->listSubscribe
Change the second last parameter to false.
Do this change in both function calls (in that same file).
January 13, 2016 at 9:58 am #72266stumaxParticipantThat did the trick, thanks very much !
-
AuthorPosts
- You must be logged in to reply to this topic.