destoon Realization of Advertising Method for Designated Members or Member Groups in Member Shop

  • 2021-07-16 01:57:03
  • OfStack

In this paper, an example of the implementation of destoon member shops designated members or member group advertising method, destoon development has a very good practical value. Share it with you for your reference. The specific methods are as follows:

1. Specify membership attributes to place advertisements

If you want to display advertisements in the same location, you can add them in the side. htm file under the template folder template\ default\ homepage:


{if $COM[vip]}
{else}
 Displayed AD (You can call the calling mode in the website advertisement management) 
{/if}

Detailed explanation: The above code means that VIP does not display advertisements, while other members show that it can well reflect the advantages of VIP and is worth applying.

2. Designate membership groups to place advertisements

The implementation code is as follows:


{if $COM[groupid]==x}
{else}
 Displayed AD (You can call the calling mode in the website advertisement management) 
{/if}

I hope the method described in this paper is helpful to the development of destoon.


Related articles: