ePages 7.3.0 - DE_EPAGES/Product/API/ProductService.pm

Package DE_EPAGES::Product::API::ProductService

Collects the products of a shop

Functions

Function
new

Function

Deletes the given product. If the product IS a sub-product, only the the sub-product will be deleted, the main product automatically does not contain this sub-product anymore without explicitly removing it from the main product as well. If the product HAS some sub-products, they will be deleted as well. All mappings between the product and shippings will be deleted as well. The RemoteSearch cartridge implememts the hook OnDeleteProduct and updates the search index automatically when deleting the product.

Syntax
Function( $Product );
Input
$Product (DE_EPAGES::Product::API::Object::Product)
A product

new

Constructor

Syntax
new( );
Return
$self (DE_EPAGES::Product::API::ProductService)
self