This article has moved to a new home. View the updated version Tweak Library

Category Banner Adverts

Two advertising spaces for the category page managed by Neto's marketing campaign manager.


Category Banner

Coding Instructions

First, to set-up the adverts, create the advert group (via Setup & Tools > All settings & tools. Click on the Web Store tab > Click Webstore Advertising Groups. Click 'Add New' button) and call the group name "category".

Afterward, create the new campaign, (via Web Store > Advertising Campaigns > Add New Campaign) choose Banner, Carousel Slide or Text Advert, upload the image, give it a title & a link, and assign it to both the newly created category group. Also assign it to the category you'd like it to appear under. This will need to be done twice.

Then implement the following code on the category page:

[%advert type:'text' limit:'2' ad_group:'category'%]
    [%param *body%]
        <div class="col-sm-6">
            <a href="[@url@]" target="[@target@]">
                <img class="img-responsive" src="[%asset_url type:'adw' id:'[@ad_id@]'%][%param default%][%cdn_asset html:'0' library:'images'%]default_product.gif[%/cdn_asset%][%/param%][%/asset_url%]" alt="[@headline@]">

1 related articles found:

Was this article useful?

Be notified when this page is updated. Optional.