ePages 7.38.0 - DE_EPAGES/MultiStoreConnector/API/ProductTypeSynchronization.pm

Package DE_EPAGES::MultiStoreConnector::API::ProductTypeSynchronization

hard core synchronization module regarding multistores it is possible to add or update product types to shops, using direct sql connection

Functions

addProductTypesToShop
getProductTypesContent
new

addProductTypesToShop

Function to add product types to a specific subshop.

Syntax
$Result = $Synchronization->addProductTypesToShop($ShopAlias, $hProductTypesInfo);
Input
$ShopAlias (string)
alias of shop
$hProductTypesInfo
products information hash :
  • product - hash
      TODO

Return
$Success (boolean)
returns true if everything is correct

getProductTypesContent

Returns the product types specified by their GUIDs

Syntax
$Result = $self->getProductTypesContent($aGUIDs);
Input
$aGUIDs (ref.array)
global unique id's of product types to check
Return
$hProductTypes (ref.hash)
product types

new

Creates a new synchronization object of DE_EPAGES::MultiStoreConnector::API::ProductTypeSynchronization.

Syntax
$Synchronization = DE_EPAGES::MultiStoreConnector::API::ProductTypeSynchronization->new(%options);
Input
%options (hash)
options for synchronization
  • ROADWORKS - ROADWORKS

Return
$Synchronization (object)
synchronization object