ePages 6.15.1 - DE_EPAGES/MultiStore/API/Synchronization.pm

Package DE_EPAGES::MultiStore::API::Synchronization

MultiStore - Synchronization module

Base
Exporter
@EXPORT_OK
AddSubShopObject
ImportSubShop

Functions

AddSubShopObject
ImportSubShop
TransformImportXML

AddSubShopObject

Clones a product or content object from the master shop to a sub shop.

Syntax
$SubShopObject = AddSubShopObject($SubShopCategory, $MasterObjectPath);
Input
$SubShopCategory (DE_EPAGES::Content::API::Object::Category)
sub shop category
$MasterObjectPath (string)
relative object path to a product or content object in the master shop
Return
$SubShopObject (DE_EPAGES::Content::API::Object::ContentObject)
sub shop object

ImportSubShop

Imports OverwritableAttributes and ContentObjects into (Sub)Shop.

Syntax
ImportSubShop($Shop)
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
shop object

TransformImportXML

Transformation of some attributes during import of an object.

Syntax
TransformImportXML($Object, $TagName, $hAttributes)
Input
$Object (DE_EPAGES::Object::API::Object::Object)
obejct
$TagName (String)
tag name
$hAttributes (ref.hash)
attributes of the tag