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

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -