php - The mystery of the CMS Page and the elusive If Statement -
i trying if statement functionality in magento cms page.
this post recommends following:
{{if customer.group_id==4}} print true {{else}} print false {{/if}}
which exact kinda thing looking for, doesnt work. there similar can use?
this trying do:
{{if data.request_quote=="on"}} yes {{else}} nope {{/if}}
where var data.request_quote
form variable. keeps coming out nope, if data.request_quote
on
.
can help?
this cant done. type of if
statement work on boolean variables, , can pass string variables this.
so transactional emails have on
instead of yes
.
very disappointing.
Comments
Post a Comment