Cartridge DE_EPAGES::MultiStoreMaster

PURPOSE

This cartridge provides one part of an ePages MultiStore setup: The master catalog.

The cartridge has to be installed on the database where the ePages shop containing the master catalog is placed.

CONCEPTS

The cartridge provides a public API for determining the visibility of content objects for affiliate shops. This information is used to synchronize the objects into the databases that use the master catalog.

There is a default implementation of setting the visibility using a simple on/off mechanism in the MBO of the MasterShop. Partners can provide their own implementation by registering at the hook "API_IsAffiliateVisible".

We use ePages standard functionality to manage the master shop. This shop can be controlled via the MBO or using the ePages calalog and product webservices. If you are using a SOAP::Lite client, you can call

$WebserviceClient->getInfo([$ObjectPath], ['IsAffiliateVisible'])
to retrieve affiliate visibility, or to set values, call
$WebserviceClient->update({
    'Path'          => $ObjectPath,
    'Attributes'    => ['Name' => 'IsAffiliateVisible', 'Value' => 1 ] })