Personalization functions: in_miniselection

The in_miniselection function can be used to check if a given subprofile is in a specific miniview. This function is developed by Copernica and allows content to be placed specifically for selections in your database. If you run a webshop, you can make selections based on information about the customer and these can be used to personalize. You can, for example, send a woman only women's clothes, or kids clothes if you know she has kids.

To execute the function at least a miniview is required. A subprofile may be given too, but the function will attempt to retrieve the subprofile you're personalizing for if it is not specified.

Example

{in_miniselection miniselection="womenwithkids"}
    { Display your content here! }
{/in_miniselection}

In this example the if function was used, which pairs with this function very well. If you make yourself familiar with these two functions and making selections you can make very relevant mailings for everyone.

More information