.. and it helped somewhat, thank you Martin. The code if (membershipUser != null) determine if someone is logged in or not. But how can you target a member group from a marketing item (= a campaign)
I've never worked with Members myself. My guess would be when you know whether the user is logged in or not, you fetch the current users profile and check which group he belongs to.
If you want to implement a "picker" for your member groups you could do a very simple one by using a dropdown box listing all member groups in Umbraco. About the specific implementation I think you have to look at the link I gave you in my first post. The same principle for creating a ui component for advertise should be the same one has creating an act.
Not very good i would assume ;-) I guess we could find inspiration from that, but since V6 all their editors are (ATM) not compatible with uCommerce. But marketing can be extended with the functionallity to get a list of member groups / member types or if you're authenticated or not. Martin has posted the docs earlier :)
Targeting campaigns only to logged-in customers
Hi
Does anyone know how to target campaigns only to existing cosutmers. Just like if a campaign only shows up if the costumer:
Thank you in advance for any helping comments!
// Lars
Hi Lars,
uCommerce does not have a advertise that can do that out of the box but you can extend uCommerce yourself.
First take a look at this: http://docs.ucommerce.net/ucommerce/v6/extending-ucommerce/marketing-foundation/add-a-new-advertise-and-act-target.html it should explain exactly what you're needing.
Best regards
Martin
Hi Martin. Your link looks very promishing. Thank you for your help :-)
// Lars
.. and it helped somewhat, thank you Martin. The code if (membershipUser != null) determine if someone is logged in or not. But how can you target a member group from a marketing item (= a campaign)
// Lars
Hi Lars,
I've never worked with Members myself. My guess would be when you know whether the user is logged in or not, you fetch the current users profile and check which group he belongs to.
I took a fast look at our.umbraco and found this http://our.umbraco.org/documentation/reference/querying/UmbracoHelper/ . I think it should be enough to find out which group a member is in.
If you want to implement a "picker" for your member groups you could do a very simple one by using a dropdown box listing all member groups in Umbraco. About the specific implementation I think you have to look at the link I gave you in my first post. The same principle for creating a ui component for advertise should be the same one has creating an act.
Best regards
Martin
FYI, Umbraco 7 has a built-in property editor for selecting member groups. IIRC, it's called "Member Group Picker".
Not sure how that would integrate with uCommerce.
Hi Nicholas,
Not very good i would assume ;-) I guess we could find inspiration from that, but since V6 all their editors are (ATM) not compatible with uCommerce. But marketing can be extended with the functionallity to get a list of member groups / member types or if you're authenticated or not. Martin has posted the docs earlier :)
is working on a reply...