Originally posted by lesliekirk
View Post
Announcement
Collapse
No announcement yet.
Check to see if assigned to group
Collapse
X
-
FYI: if your looking for a variable that ends in ...ID, its 99% of the time going to be a number, not name. but it looks like Ron has you covered.
-
Thanks so very much, Ron! I did try both methods (just for s&g), of course, this one was cleaner and will be easier to work with.Originally posted by Ron Frigon View PostChecking for Availability Groups is a little tricky: https://www.miva.com/forums/forum/de...lability-group
Checking for Business Accounts is pretty simple:
Code:<mvt:if expr="'Wholesale' CIN g.businessaccount"> custom message </mvt:if>
Leave a comment:
-
Checking for Availability Groups is a little tricky: https://www.miva.com/forums/forum/de...lability-group
Checking for Business Accounts is pretty simple:
Code:<mvt:if expr="'Wholesale' CIN g.businessaccount"> custom message </mvt:if>
Leave a comment:
-
Check to see if assigned to group
I thought this might have been a little easier but I was wrong. I was thinking I could create an Availability Group to use to display a message to assigned customers. I was thinking it was as easy as
I do think I need to add the test to see if they are logged in first but I was hoping that if I shopped as the customer assigned I would at least be able to see my "custom message". What am I doing wrong?Code:<mvt:if expr="l.availability_group:id EQ 'wholesale'"> custom message </mvt:if>
Should I use a price group or is there a way to use a Business Account?
Tags: None
Leave a comment: