Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tradedoubler Bundle Laravel Package

astina/tradedoubler-bundle

View on GitHub
Deep Wiki
Context7

Astina Tradedoubler Bundle

Symfony 2 bundle for Tradedoubler integration.

Installation

Step 1: Add to composer.json

"require" :  {
    // ...
    "astina/tradedoubler-bundle":"dev-master",
}

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Astina\Bundle\TradedoublerBundle\AstinaTradedoublerBundle(),
    );
}

Step 3: Configuration

Add the token, feed ID and trackback infos to your config.yml:

# app/config.yml

astina_tradedoubler:
    api_token: xxxxyyyyzzz
    feed_id: 123456
    trackback:
        organization: 1111
        event_id: 2222
        redirect_default_url: http://myshop.com

Usage

Use the classes in Model/ to create instances of Product, Category, ProductImage and ProductCollection.

Use the astina_tradedoubler.client service to create/update/delete Tradedoubler records:

/** @var \Astina\Bundle\TradedoublerBundle\Client\Client $client **/
$client->createProducts(new ProductCollection($tradedoublerProducts));

Sending all product data to Tradedoubler

You can use the astina:tradedoubler:populate commands to send your whole product catalogue to Tradedoubler. For this to work you have to:

  1. Create a service that implements Astina\Bundle\TradedoublerBundle\Client\ProductSourceInterface.

  2. Add the service id to the config:

astina_tradedoubler:
    product_source: my_product_source_service
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle