Package DE_EPAGES::ShopNewsletter::API::Newsletter
Returns template snippets for the newsletter.
@EXPORT_OK |
Functions
- AddProductsAndCatalogs
- AddShopLogo
- AddUnsubscribe
- GetShopLogo
- GetSubscribeCount
- GetUnsubscribeCount
- InsertCouponSnippet
AddProductsAndCatalogs
Returns the template with the selected catalog and product objects.
Syntax |
$Promotion = AddProductsAndCatalogs( $Newsletter, $LanguageID, $IsHtml, $aProducts, $aCategories ); |
Input |
|
Return |
|
AddShopLogo
Returns the template snippet for the shop logo.
Syntax |
$LogoCode = AddShopLogo( $Newsletter, $LanguageID, $IsHtml ); |
Input |
|
Return |
|
AddUnsubscribe
Returns the template snippet for unsubscribing the newsletter.
Syntax |
$UnsubscribeCode = AddUnsubscribe( $Newsletter, $LanguageID, $IsHtml ); |
Input |
|
Return |
|
GetShopLogo
Returns the url and source of the shop logo.
Syntax |
$hShopLogo = GetShopLogo( $Shop, $Newsletter ); |
Input |
|
Return |
|
GetSubscribeCount
Returns the amount of subscribers to the given newsletter.
Syntax |
$SubscribeCount = GetSubscribeCount($NewsletterID); |
Input |
|
Return |
|
GetUnsubscribeCount
Returns the amount of Unsubscribers to the given newsletter.
Syntax |
$UnsubscribeCount = GetUnsubscribeCount($NewsletterID); |
Input |
|
Return |
|
InsertCouponSnippet
Returns the template snippet for a Coupon.
Syntax |
$CouponSnippet = InsertCouponSnippet( $Newsletter, $LanguageID, $IsHtml ); |
Input |
|
Return |
|