Hello,
Please, can someone help me with a basic code of an If Statement in the Membership template file?
I've created memberships with differents terms. e.g.:
Membership A - 30 days
Membership A - 90 days
Membership A - 180 days
Membership A - 360 days
Membership B - 30 days
Membership B - 90 days
Membership B - 180 days
Membership B - 360 days
On the membership page /m/membership/index, next to the membership title, days or price, I would like to display a marketing/sale slogan that is different from a membership level to another.
e.g: Membership B (90 days) - MarketingSlogan
So, in /modules/boonex/membership/templates/base/available_level.html I would like to achieve something like this next to the membership title, days or price:
if membership = 30 days
echo (_MarketingSlogan_Text_1)
if membership = 90 days
echo (_MarketingSlogan_Text_2)
if membership = 180 days
echo (_MarketingSlogan_Text_3)
if membership = 360 days
echo (_MarketingSlogan_Text_4)
Thanks in advance for helping.
Regards