PrestaShop\PrestaShop\Core\Domain\Product\Attachment\Command\RemoveAllAssociatedProductAttachmentsCommand
Removes all product-attachment associations for provided product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Attachment\CommandHandler\RemoveAllAssociatedProductAttachmentsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Attachment\Command\SetAssociatedProductAttachmentsCommand
Replaces previous product attachments association with the provided one.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Attachment\CommandHandler\SetAssociatedProductAttachmentsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\BulkDeleteCombinationCommand
Deletes multiple combinations
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\BulkDeleteCombinationHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\DeleteCombinationCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\DeleteCombinationHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\GenerateProductCombinationsCommand
Generates attribute combinations for product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\GenerateProductCombinationsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Combination\ValueObject\CombinationId[] |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\RemoveAllCombinationImagesCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\RemoveAllCombinationImagesHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\SetCombinationImagesCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\SetCombinationImagesHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\UpdateCombinationCommand
Contains all the data needed to handle the command update. This command is only designed for the general data of combination which can be persisted in one call. It was not designed to handle the combination relations.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\UpdateCombinationHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\UpdateCombinationStockAvailableCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\UpdateCombinationStockAvailableHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Command\UpdateCombinationSuppliersCommand
Associates supplier with product combination
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\CommandHandler\UpdateCombinationSuppliersHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Supplier\ValueObject\ProductSupplierAssociation[] |
PrestaShop\PrestaShop\Core\Domain\Product\Command\AddProductCommand
Command for creating product with basic information
Command details | |
---|---|
Constructor parameters |
|
)` | |
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\AddProductHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\ValueObject\ProductId |
PrestaShop\PrestaShop\Core\Domain\Product\Command\AssignProductToCategoryCommand
Class AssignProductToCategoryCommand adds a product to a category.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\AssignProductToCategoryHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\BulkDeleteProductCommand
Deletes multiple products
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\BulkDeleteProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\BulkDuplicateProductCommand
Deletes multiple products
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\BulkDuplicateProductHandler Implements:
|
Return type | array<ProductId> |
PrestaShop\PrestaShop\Core\Domain\Product\Command\BulkUpdateProductStatusCommand
Deletes multiple products
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\BulkUpdateProductStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\DeleteProductCommand
Deletes product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\DeleteProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\DuplicateProductCommand
Duplicates product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\DuplicateProductHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\ValueObject\ProductId |
PrestaShop\PrestaShop\Core\Domain\Product\Command\RemoveAllAssociatedProductCategoriesCommand
Removes all product-category associations
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\RemoveAllAssociatedProductCategoriesHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\RemoveAllProductTagsCommand
Removes all Tags for product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\RemoveAllProductTagsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\RemoveAllRelatedProductsCommand
Removes all related products from given product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\RemoveAllRelatedProductsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\SetAssociatedProductCategoriesCommand
Sets new product-category associations
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\SetAssociatedProductCategoriesHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\SetCarriersCommand
Set the list of carriers for a product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\SetCarriersHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\SetProductTagsCommand
Updates product tags in provided languages
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\SetProductTagsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\SetRelatedProductsCommand
Sets related products for product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\SetRelatedProductsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\UpdateProductCommand
Contains all the data needed to handle the product update. This command is only designed for the general data of product which can be persisted in one call. It was not designed to handle the product relations.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\UpdateProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\UpdateProductStatusCommand
Class UpdateProductStatusCommand update a given product status
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\UpdateProductStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\UpdateProductTypeCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\UpdateProductTypeHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Command\UpdateProductsPositionsCommand
Updates product details
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\CommandHandler\UpdateProductsPositionsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Customization\Command\RemoveAllCustomizationFieldsFromProductCommand
Removes all customization fields from product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Customization\CommandHandler\RemoveAllCustomizationFieldsFromProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Customization\Command\SetProductCustomizationFieldsCommand
Sets product customization fields
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Customization\CommandHandler\SetProductCustomizationFieldsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Customization\ValueObject\CustomizationFieldId[] |
PrestaShop\PrestaShop\Core\Domain\Product\FeatureValue\Command\RemoveAllFeatureValuesFromProductCommand
Removes all product feature values
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\FeatureValue\CommandHandler\RemoveAllFeatureValuesFromProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\FeatureValue\Command\SetProductFeatureValuesCommand
Sets product feature values
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\FeatureValue\CommandHandler\SetProductFeatureValuesHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Feature\ValueObject\FeatureValueId[] |
PrestaShop\PrestaShop\Core\Domain\Product\Image\Command\AddProductImageCommand
Adds new product image
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Image\CommandHandler\AddProductImageHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Image\ValueObject\ImageId |
PrestaShop\PrestaShop\Core\Domain\Product\Image\Command\DeleteProductImageCommand
Deletes product image
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Image\CommandHandler\DeleteProductImageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Image\Command\SetProductImagesForAllShopCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Image\CommandHandler\SetProductImagesForAllShopHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Image\Command\UpdateProductImageCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Image\CommandHandler\UpdateProductImageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Pack\Command\RemoveAllProductsFromPackCommand
Removes all products from provided pack
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Pack\CommandHandler\RemoveAllProductsFromPackHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Pack\Command\SetPackProductsCommand
Sets products of product pack
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Pack\CommandHandler\SetPackProductsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Shop\Command\SetProductShopsCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Shop\CommandHandler\SetProductShopsHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Command\AddSpecificPriceCommand
Add specific price to a Product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\SpecificPrice\CommandHandler\AddSpecificPriceHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\ValueObject\SpecificPriceId |
PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Command\DeleteSpecificPriceCommand
Delete specific price to a Product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\SpecificPrice\CommandHandler\DeleteSpecificPriceHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Command\EditSpecificPriceCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\SpecificPrice\CommandHandler\EditSpecificPriceHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Command\RemoveSpecificPricePriorityForProductCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\SpecificPrice\CommandHandler\RemoveSpecificPricePriorityForProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Command\SetSpecificPricePriorityForProductCommand
Sets specific price priority for provided product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\SpecificPrice\CommandHandler\SetSpecificPricePriorityForProductHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Stock\Command\UpdateProductStockAvailableCommand
Updates product stock properties which are in a dedicated StockAvailable entity
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Stock\CommandHandler\UpdateProductStockAvailableHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Command\RemoveAllAssociatedProductSuppliersCommand
Removes all product suppliers for specified product without combinations
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Supplier\CommandHandler\RemoveAllAssociatedProductSuppliersHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Command\SetProductDefaultSupplierCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Supplier\CommandHandler\SetProductDefaultSupplierHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Command\SetSuppliersCommand
This command is used to set (or assign) suppliers to a product It is used for both product with or without combinations and only defines the association not the content themselves. To update contents you need to use UpdateProductSuppliersCommand or UpdateCombinationSuppliersCommand one you have correctly set the associations with this command. When no default supplier was associated this command will automatically use the first provided one, however to change it to your need you can use SetProductDefaultSupplierCommand.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Supplier\CommandHandler\SetSuppliersHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Supplier\ValueObject\ProductSupplierAssociation[] |
PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Command\UpdateProductSuppliersCommand
Updates product suppliers
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Supplier\CommandHandler\UpdateProductSuppliersHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Supplier\ValueObject\ProductSupplierAssociation[] |
PrestaShop\PrestaShop\Core\Domain\Product\VirtualProductFile\Command\AddVirtualProductFileCommand
Adds downloadable file for virtual product
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\VirtualProduct\CommandHandler\AddVirtualProductFileHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\VirtualProductFile\ValueObject\VirtualProductFileId |
PrestaShop\PrestaShop\Core\Domain\Product\VirtualProductFile\Command\DeleteVirtualProductFileCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\VirtualProduct\CommandHandler\DeleteVirtualProductFileHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\VirtualProductFile\Command\UpdateVirtualProductFileCommand
__
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\VirtualProduct\CommandHandler\UpdateVirtualProductFileHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Product\AttributeGroup\Query\GetProductAttributeGroups
Query which provides attributes of a Product by group
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\AttributeGroup\QueryHandler\GetProductAttributeGroupsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\AttributeGroup\QueryResult\AttributeGroup[] |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Query\GetCombinationForEditing
Query which provides combination for editing
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\QueryHandler\GetCombinationForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Combination\QueryResult\CombinationForEditing |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Query\GetCombinationSuppliers
Retrieves data for product combination supplier
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\QueryHandler\GetCombinationSuppliersHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Supplier\QueryResult\ProductSupplierForEditing[] |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Query\GetEditableCombinationsList
Retrieves product combinations
Query details | |
---|---|
Constructor parameters |
|
)` | |
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\QueryHandler\GetEditableCombinationsListHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Combination\QueryResult\CombinationListForEditing |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Query\SearchCombinationsForAssociation
__
Query details | |
---|---|
Constructor parameters |
|
)</li> <li> $?int $limit = NULL` |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Combination\QueryHandler\SearchCombinationsForAssociationHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Combination\QueryResult\CombinationForAssociation[] |
PrestaShop\PrestaShop\Core\Domain\Product\Customization\Query\GetProductCustomizationFields
Gets product customization fields
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Customization\QueryHandler\GetProductCustomizationFieldsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Customization\QueryResult\CustomizationField[] |
PrestaShop\PrestaShop\Core\Domain\Product\FeatureValue\Query\GetProductFeatureValues
Get FeatureValue associated to a Product
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\FeatureValue\QueryHandler\GetProductFeatureValuesHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\FeatureValue\QueryResult\ProductFeatureValue[] |
PrestaShop\PrestaShop\Core\Domain\Product\Image\Query\GetProductImage
__
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Image\QueryHandler\GetProductImageHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Image\QueryResult\ProductImage |
PrestaShop\PrestaShop\Core\Domain\Product\Image\Query\GetProductImages
Get list of Images associated to a Product in terms of ShopConstraint
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Image\QueryHandler\GetProductImagesHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Image\QueryResult\ProductImage[] |
PrestaShop\PrestaShop\Core\Domain\Product\Image\Query\GetShopProductImages
Get list of Images associated to a Product detailed for every shop
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Image\QueryHandler\GetShopProductImagesHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Image\QueryResult\Shop\ShopProductImagesCollection |
PrestaShop\PrestaShop\Core\Domain\Product\Pack\Query\GetPackedProducts
Retrieves product from a pack
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Pack\QueryHandler\GetPackedProductsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Pack\QueryResult\PackedProductDetails[] |
PrestaShop\PrestaShop\Core\Domain\Product\Query\GetProductForEditing
Get Product data necessary for editing
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\QueryHandler\GetProductForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\ProductForEditing |
PrestaShop\PrestaShop\Core\Domain\Product\Query\GetProductIsEnabled
Get current status (enabled/disabled) for a given product
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\QueryHandler\GetProductIsEnabledHandler Implements:
|
Return type | bool |
PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Query\GetProductSupplierOptions
Provides product supplier options
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\QueryHandler\GetProductSupplierOptionsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Supplier\QueryResult\ProductSupplierOptions |
PrestaShop\PrestaShop\Core\Domain\Product\Query\GetRelatedProducts
Provides related products for given product
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\QueryHandler\GetRelatedProductsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\RelatedProduct[] |
PrestaShop\PrestaShop\Core\Domain\Product\Query\SearchProductsForAssociation
__
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\QueryHandler\SearchProductsForAssociationHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\ProductForAssociation[] |
PrestaShop\PrestaShop\Core\Domain\Product\Query\SearchProducts
Queries for products by provided search phrase
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\QueryHandler\SearchProductsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\FoundProduct[] |
PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Query\GetSpecificPriceForEditing
Query which provides specific price for editing
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\SpecificPrice\QueryHandler\GetSpecificPriceForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\QueryResult\SpecificPriceForEditing |
PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Query\GetSpecificPriceList
Retrieves product specific prices
Query details | |
---|---|
Constructor parameters |
|
)` | |
Handler class | PrestaShop\PrestaShop\Adapter\Product\SpecificPrice\QueryHandler\GetSpecificPriceListHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\QueryResult\SpecificPriceList |
PrestaShop\PrestaShop\Core\Domain\Product\Stock\Query\GetCombinationStockMovements
This query returns a list of stock movements for a combination, each row is either an edition from the BO by an employee or a range of customer orders resume (all the combinations that were sold between each edition).
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Stock\QueryHandler\GetCombinationStockMovementsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Stock\QueryResult\StockMovement[] |
PrestaShop\PrestaShop\Core\Domain\Product\Stock\Query\GetProductStockMovements
This query returns a list of stock movements for a product, each row is either an edition from the BO by an employee or a range of customer orders resume (all the products that were sold between each edition).
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Stock\QueryHandler\GetProductStockMovementsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Stock\QueryResult\StockMovement[] |
PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Query\GetAssociatedSuppliers
Provides the list of suppliers associated to a product, and its default supllier.
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Product\Supplier\QueryHandler\GetAssociatedSuppliersHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Supplier\QueryResult\AssociatedSuppliers |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Query\GetCombinationIds
__
Query details | |
---|---|
Constructor parameters |
|
)` | |
Handler class | PrestaShop\PrestaShop\Core\Domain\Product\Combination\QueryHandler\GetCombinationIdsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Combination\ValueObject\CombinationId[] |
PrestaShop\PrestaShop\Core\Domain\Product\Combination\Query\SearchProductCombinations
__
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Core\Domain\Product\Combination\QueryHandler\SearchProductCombinationsHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Product\Combination\QueryResult\ProductCombinationsCollection |