Free Drupal module

Drupal affiliate module: AVDEB Products

Embed AVDEB products in Drupal content with a simple tag in any body field, or place the AVDEB Products block in any region. Product data is cached in its own cache bin with render-cache tags, and every link carries your affiliate referral code.

  • v1.0.0
  • Drupal 10.3 or 11
  • PHP 8.1+
  • Core Filter and Block modules
  • Free

Why use AVDEB Products on Drupal

  • Drupal-native caching

    Its own cache bin (database, Redis or Memcache), render-cache tags and max-age; “Refresh products now” invalidates them.

  • Theme CSS always wins

    Styles use :where() for zero specificity, and --avdeb-* custom properties restyle everything. Override the library in your theme's .info.yml.

  • Block or inline

    Tags work in any text format with the filter enabled; the block goes in sidebars, footers or the front page.

  • Your referral code on every link

    Paste a secret key or referral code once; every product link earns you 5% commission.

  • Honest links

    Referral links get rel="sponsored", with an optional affiliate disclosure for FTC rules.

  • Private by default

    No cookies, trackers or third-party scripts. Your secret key stays on the server.

  • Fast and resilient

    Products are cached per query; if AVDEB is unreachable the last good copy is served for a week.

  • Four layouts

    Grid, carousel, list (“shop the post”) and spotlight. Single products as a compact card, horizontal card or hero with your own badge and note.

How to add affiliate products to Drupal

composer require drupal/avdeb && drush pm:install avdeb
  1. 1

    Install the module

    Run composer require drupal/avdeb and drush pm:install avdeb, or enable AVDEB Products under Extend. The AVDEB product tags filter is turned on in Basic HTML and Full HTML.

  2. 2

    Connect your affiliate account

    Configuration → Content authoring → AVDEB Products: paste your referral code or secret key and set display defaults and the affiliate disclosure.

  3. 3

    Add products

    Type a tag such as {avdeb-products https://avdeb.com/category/stickers/} in a body field, or place the AVDEB Products block under Structure → Block layout.

Where products can go: Body fields (text format filter) · Block layout regions.

Examples

Tags in any body field

{avdeb-products https://avdeb.com/creators/your-slug/ layout="carousel" limit="8" heading="From my shop"}
{avdeb-products https://avdeb.com/category/stickers/ layout="list" limit="3"}
{avdeb-product https://avdeb.com/store/cat-sticker/ variant="hero" badge="Editor's pick"}
{avdeb-button href="/creators/your-slug/" label="Visit my shop" variant="outline"}

A tag alone in a paragraph replaces the whole paragraph. Write {{avdeb-products}} to show a tag as text.

Restyle with CSS tokens

.avdeb {
  --avdeb-accent: #7c3aed;
  --avdeb-radius: 4px;
  --avdeb-font-title: Georgia, serif;
}

Paste any avdeb.com creator , category or product link — the source is detected automatically.

Earn commission from your Drupal site

  • 5%

    of every sale you refer

  • 30 days

    cookie window

  • $50

    minimum payout, monthly via PayPal

  • Free

    to join, open worldwide

The module works without an account, but links only earn once you're an approved affiliate. Design stickers or 3D prints? Apply as a creator and show your own shop instead.

Drupal module FAQ

Is there a Drupal module for affiliate marketing?

Yes — AVDEB Products is a free Drupal 10 and 11 module that embeds AVDEB products with your affiliate referral code on every link, as content tags or a block.

Which Drupal versions are supported?

Drupal 10.3 and later, and Drupal 11, on PHP 8.1 or newer. The intl extension gives localised prices.

Can I use the tags in other text formats?

Yes. Enable the AVDEB product tags filter in that format under Configuration → Text formats and editors.

Does it work with Drupal's page cache?

Yes. Embeds carry cache tags and a max-age matching the refresh interval, so cached pages update when products are refreshed.

How much can I earn as an AVDEB affiliate?

5% of every completed sale you refer, with a 30-day cookie and no cap. Commissions are paid monthly via PayPal in USD once your balance reaches $50. Joining is free and open worldwide; approval usually takes under 24 hours.

Secret key or referral code — which should I use?

Both credit your sales. A secret key (avdeb_sk_…) adds your code automatically, shows who you're connected as, and allows up to 48 products per embed; it stays on the server. A referral code alone allows up to 12 products. Never put a secret key in page content.

Also available for