Methods |
public
|
addProduct(array<string, mixed> $data): int
|
#
|
public
|
editProduct(int $product_id, array<string, mixed> $data): void
|
#
|
public
|
copyProduct(int $product_id): void
|
#
|
public
|
deleteProduct(int $product_id): void
|
#
|
public
|
addVariant(int $master_id, array<string, mixed> $data): int
|
#
|
public
|
editVariant(int $master_id, int $product_id, array<string, mixed> $data): void
|
#
|
public
|
editVariants(int $master_id, array<string, mixed> $data): void
|
#
|
public
|
editRating(int $product_id, int $rating): void
|
#
|
public
|
editMasterId(int $product_id, int $master_id): void
|
#
|
public
|
getProduct(int $product_id): array<string, mixed>
|
#
|
public
|
getProducts(array<string, mixed> $data = []): array<int, array<string, mixed>>
|
#
|
public
|
getTotalProducts(array<string, mixed> $data = []): int
|
#
|
public
|
getTotalProductsByManufacturerId(int $manufacturer_id): int
Get Total Products By Manufacturer ID
Get Total Products By Manufacturer ID
|
#
|
public
|
getTotalProductsByTaxClassId(int $tax_class_id): int
Get Total Products By Tax Class ID
Get Total Products By Tax Class ID
|
#
|
public
|
getTotalProductsByStockStatusId(int $stock_status_id): int
Get Total Products By Stock Status ID
Get Total Products By Stock Status ID
|
#
|
public
|
getTotalProductsByWeightClassId(int $weight_class_id): int
Get Total Products By Weight Class ID
Get Total Products By Weight Class ID
|
#
|
public
|
getTotalProductsByLengthClassId(int $length_class_id): int
Get Total Products By Length Class ID
Get Total Products By Length Class ID
|
#
|
public
|
addDescription(int $product_id, int $language_id, array<string, mixed> $data): void
|
#
|
public
|
deleteDescriptions(int $product_id): void
|
#
|
public
|
deleteDescriptionsByLanguageId(int $language_id): void
Delete Descriptions By Language ID
Delete Descriptions By Language ID
|
#
|
public
|
getDescriptions(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
getDescriptionsByLanguageId(int $language_id): array<int, array<string, string>>
Get Descriptions By Language ID
Get Descriptions By Language ID
|
#
|
public
|
addCategory(int $product_id, int $category_id): void
|
#
|
public
|
deleteCategories(int $product_id): void
|
#
|
public
|
deleteCategoriesByCategoryId(int $category_id): void
Delete Categories By Category ID
Delete Categories By Category ID
|
#
|
public
|
getCategories(int $product_id): array<int, int>
|
#
|
public
|
addFilter(int $product_id, int $filter_id): void
|
#
|
public
|
deleteFilters(int $product_id): void
|
#
|
public
|
getFilters(int $product_id): array<int, int>
|
#
|
public
|
addAttribute(int $product_id, int $attribute_id, int $language_id, array<string, mixed> $data): void
Parameters
$product_id |
primary key of the attribute record to be fetched
|
|
#
|
public
|
deleteAttributes(int $product_id, int $attribute_id = 0): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
deleteAttributesByLanguageId(int $language_id): void
Delete Attributes By Language ID
Delete Attributes By Language ID
|
#
|
public
|
getAttributes(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
getAttributesByLanguageId(int $language_id): array<int, array<string, mixed>>
Get Attributes By Language ID
Get Attributes By Language ID
|
#
|
public
|
getTotalAttributesByAttributeId(int $attribute_id): int
Get Total Products By Attribute ID
Get Total Products By Attribute ID
|
#
|
public
|
addOption(int $product_id, array<string, mixed> $data): int
Parameters
$product_id |
primary key of the attribute record to be fetched
|
|
#
|
public
|
deleteOptions(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getOptions(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
getTotalOptionsByOptionId(int $option_id): int
Get Total Options By Option ID
Get Total Options By Option ID
|
#
|
public
|
addOptionValue(int $product_id, int $product_option_id, int $option_id, array<string, mixed> $data): int
Parameters
$product_id |
primary key of the attribute record to be fetched
|
|
#
|
public
|
deleteOptionValues(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getOptionValue(int $product_id, int $product_option_value_id): array<string, mixed>
|
#
|
public
|
getOptionValuesByOptionId(int $option_id): array<int, array<string, mixed>>
Get Option Values By Option ID
Get Option Values By Option ID
|
#
|
public
|
getTotalOptionValuesByOptionValueId(int $option_value_id): int
Get Total Option Values By Option Value ID
Get Total Option Values By Option Value ID
|
#
|
public
|
addImage(int $product_id, array<string, mixed> $data): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
deleteImages(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getImages(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
addDiscount(int $product_id, array<string, mixed> $data): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
deleteDiscounts(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getDiscounts(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
addSpecial(int $product_id, array<string, mixed> $data): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
deleteSpecials(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getSpecials(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
addReward(int $product_id, int $customer_group_id, array<string, mixed> $data): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
deleteRewards(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getRewards(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
addDownload(int $product_id, int $download_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
deleteDownloads(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getDownloads(int $product_id): array<int, int>
|
#
|
public
|
getTotalDownloadsByDownloadId(int $download_id): int
Get Total Downloads By Download ID
Get Total Downloads By Download ID
|
#
|
public
|
addStore(int $product_id, int $store_id): void
|
#
|
public
|
deleteStores(int $product_id): void
|
#
|
public
|
getStores(int $product_id): array<int, int>
|
#
|
public
|
addLayout(int $product_id, int $store_id, int $layout_id): void
|
#
|
public
|
deleteLayouts(int $product_id): void
|
#
|
public
|
deleteLayoutsByLayoutId(int $layout_id): void
Delete Layouts By Layout ID
Delete Layouts By Layout ID
|
#
|
public
|
deleteLayoutsByStoreId(int $store_id): void
Delete Layouts By Store ID
Delete Layouts By Store ID
|
#
|
public
|
getLayouts(int $product_id): array<int, int>
|
#
|
public
|
getTotalLayoutsByLayoutId(int $layout_id): int
Get Total Products By Layout ID
Get Total Products By Layout ID
|
#
|
public
|
addRelated(int $product_id, int $related_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
deleteRelated(int $product_id): void
Parameters
$product_id |
primary key of the product record to be fetched
|
|
#
|
public
|
getRelated(int $product_id): array<int, int>
|
#
|
public
|
addSubscription(int $product_id, array<string, mixed> $data): void
|
#
|
public
|
deleteSubscriptions(int $product_id): void
|
#
|
public
|
getSubscriptions(int $product_id): array<int, array<string, mixed>>
|
#
|
public
|
deleteSubscriptionsBySubscriptionPlanId(int $subscription_plan_id): void
Delete Subscriptions By Subscription Plan ID
Delete Subscriptions By Subscription Plan ID
|
#
|
public
|
getTotalSubscriptionsBySubscriptionPlanId(int $subscription_plan_id): int
Get Total Subscriptions By Subscription Plan ID
Get Total Subscriptions By Subscription Plan ID
|
#
|
public
|
deleteReports(int $product_id): void
|
#
|
public
|
getReports(int $product_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>
|
#
|
public
|
getTotalReports(int $product_id): int
|
#
|