This article describes how to use destoon to deliver advertisements to specified members or member groups in member shops, for more information about how to use destoon to advertise a specified member or member group in a member store, destoon is of great practical value for destoon development. For your reference, use the following methods:
1. Specify member attributes to serve ads
If you want to display ads in the same location, you can add the following content to the side.htm file in the template folder template \ default \ homepage:
{If $ COM [vip]} {else} displays AD (you can call the call method in website Advertisement Management) {/if}
Explanation: The above code means that VIP does not display advertisements, while other members do, which can reflect the advantages of VIP and is worthy of application.
2. designate a member group to serve ads
The implementation code is as follows:
{If $ COM [groupid] ==x} {else} displays AD (you can call the call method in website Advertisement Management) {/if}
I hope this method will be helpful for destoon development.