ePages 7.3.0 - DE_EPAGES/Catalog/Hooks/Shop.pm

Package DE_EPAGES::Catalog::Hooks::Shop

create default shop

Functions

OnGetObjectsForXMLSitemap
OnJSONAdvancedLinks

OnGetObjectsForXMLSitemap

adds products to sitemap xml (Hook API_GetObjectsForXMLSitemap)

Syntax
OnGetObjectsForXMLSitemap( $hParams );
Input
$hParams (ref.hash.*)

  • Object - shop - object
  • ContentObjectHashs - array with object data - ref.array.hash
  • MaxEntries - number of max entries allowed further - ref.integer
  • CountLocales - number of locales in the shop - integer

OnJSONAdvancedLinks

adds a link to to advanced links section in the link picker inside the MBO (Hook OBJ_JSONAdvancedLinks)

Syntax
OnJSONAdvancedLinks( $hParams );
Input
$hParams (ref.hash.*)

  • Object - shop - object
  • Values - attribute values - ref.hash