|Posted: Sunday Nov 4th, 2012 at 8:11 pm #30612|
HI, I’m trying to get my custom profile fields into Mailchimp when a user registers using s2hacks.php.
I have 2 courses (course 1 = S2level2 and 3. course 2 = S2level 4) with their own lists in Mailchimp. I want to have the course start date on the members profile and I need to get it into Mailchimp.
I have 2 profile fields set up STDATE1 (limited to level 2 and 3) and STDATE2 (limited to level 4). These fields are uneditable – I will change them when enrolment for each course opens (enrolment is only open for 1 month, 4 times a year).
This is my s2hacks.php file so far:
In Mailchimp list 1 has the merge field CCHSTDATE and list 2 has ADVSTDATE.
Will this work, or will it fail as both fields don’t exist in both lists. The courses have different start dates and can both be open for enrolment as the same time, so I need to be able to have 2 different fields.
Or, is there a better way to implement this? I thought about ccaps, but I’d like the start date to be visible on the member profile (I’m using BuddyPress). I also thought about custom variables via the Paypal button – but I’m using Tips&Tricks Affiliate plugin which uses cv1 for the affiliate ID and I’m not sure how I would implement this without breaking the affiliate system.
- s2Member® Products