Deletes product from the product document.
- Full name:
cms_delete_product - Defined in:
cms/core/Shared/Helpers/product.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$productId |
string | The id of the product to delete. |
Return Value
bool|\App\Domain\Product\Model\Product
Product on success or false on failure.