0 comments on “New Ifnotset Results Layout Logic”

New Ifnotset Results Layout Logic

Store Locator Plus® has a new release coming soon that adds some new features to the product offering.    The new 5.3 release builds on the current Results Layout formatting by adding a new ifnotset attribute to the [slp_location] shortcodes.    This allows user to display location data or option values by using either the “ifset” or “ifnotset” logic.

Display Phone Number If Set, Otherwise Display Fax Number

In this example, the results layout will show users the location phone number when that field has data in it.   If the phone number is not set it will render the fax field.    This goes in the Store Locator Plus® | Settings | Results | Results Layout setting.