MERCHANT MASTERY

How to use Conditional Statements

Conditional: How to hide Addendum question prompts in OPAY and INVC when no answer given (i.e. blank):

.. More inside

Conditional: How to display something to members of all price groups:

<mvt:if expr="g. .. More inside

Conditional: How to display something to members of a number of specific price groups:

<mvt:if expr="l.settings: .. More inside

Conditional: How to display something if shippping to Domestic address or somethng else if shipping to International address:

<mvt:if expr = " g. .. More inside

Conditional: How to do/display something when a product code includes certain characters e.g. zzz

<mvt:if expr = "l.settings: .. More inside

Conditional: How to do/display something when a product or category code includes certain characters e.g. qqq

<mvt:if expr="'zzz' .. More inside

Conditional: How to test to see if someone is on a secure page or not:

<mvt:if expr = "g. .. More inside

Conditional: How to show prices and the buy/add to basket button only to approved customers:

<mvt:if expr="g. .. More inside

Conditional: How to only show prices and the buy/add to basket button to customers who are logged in:

<mvt:if expr="g. .. More inside

Conditional to check if there is data for a particular field then if there is, display the row ...then within the row if the value equals zero to display "N/A" and if not just display the data

<mvt:if expr="l.settings: .. More inside

Conditional: If product is in Price Group A or B and If this customer is logged in under Availability Group A or B

.. More inside

Conditional: How to show category header only on the first page in a category with multiple pages:

<mvt:if expr=" .. More inside

Conditional: How to display SS existing static product page if it exists and if it doesn't exist, then display standard mm5 product page:

<mvt:if expr=" .. More inside

Conditional: How to "display" meta keywords at end of product description (to help with search - assuming advanced search module is installed) but hide them from view:

<span class="zip"> .. More inside

Conditional: How to display check number in INVC and order confirmation email

<mvt:if expr=" .. More inside

Conditional: How to make entry of actual check number non compulsory:

<mvt:if expr=" .. More inside

Conditional: How to display "Call for Price" instead of a price for certain products:

Step 1: Give all products .. More inside

Conditional: How to display message on OPAY page to people paying by cheque:

<mvt:if expr=" .. More inside

My conditional to display cheque number if cheque used for payment:

<mvt:if expr="g. .. More inside

Conditional: How to ensure customer logged in before proceeding to checkout:

<mvt:if expr=" .. More inside

Conditional: How to have different layouts for different categories

In your Category Page template, replace this .. More inside :

How to check if visitor is logged in

<mvt:if expr="g. .. More inside

Price conditional 1 .. More inside

How to display This if the screen is PROD, Display This if screen is Category and Display This if screen is XXXX

<mvt:if expr = " .. More inside

Conditional: How to do something based on whether a person is logged in (test for logged in):

<mvt:if expr=" .. More inside

Conditional: How to do either of two things using a conditional:

<mvt:if expr="l.settings: .. More inside

Conditional: How to exclude a product from the product list:

Pages > PLST > Product List Layout .. More inside

Conditional: How to have different layouts for different categories or different products:

.. More inside

MM5 Conditionals - the "expression" value is the same syntax .. More inside

Example .. More inside

How to not show a category page if there are no products in it:

<mvt:if expr=" .. More inside

Home | About Us | Site Map | Privacy Policy | Contact Us | ©2007 MerchantMastery.com.au