PATH:
home
/
lab2454c
/
vaultchip.com
/
platform
/
plugins
/
ecommerce
/
src
/
Repositories
/
Interfaces
<?php namespace Botble\Ecommerce\Repositories\Interfaces; use Botble\Ecommerce\Models\Product; use Botble\Ecommerce\Models\ProductVariation; use Botble\Support\Repositories\Interfaces\RepositoryInterface; interface ProductVariationInterface extends RepositoryInterface { /** * @param int $configurableProductId * @param array $attributes * @return null|ProductVariation */ public function getVariationByAttributes($configurableProductId, array $attributes); /** * @param int $configurableProductId * @param array $attributes * @return array */ public function getVariationByAttributesOrCreate($configurableProductId, array $attributes); /** * @param $configurableProductId * @param array $attributes */ public function correctVariationItems($configurableProductId, array $attributes); /** * Get the configurable(parent) product of variation product. * @param int $variationId id of variation product * @param array $with * @return Product Product model */ public function getParentOfVariation($variationId, array $with = []); /** * @param int $productId * @return array */ public function getAttributeIdsOfChildrenProduct($productId); }
[-] ProductInterface.php
[edit]
[-] CustomerInterface.php
[edit]
[-] ReviewInterface.php
[edit]
[-] OrderInterface.php
[edit]
[-] BrandInterface.php
[edit]
[-] ProductAttributeInterface.php
[edit]
[+]
..
[-] AddressInterface.php
[edit]
[-] ShippingRuleInterface.php
[edit]
[-] ShipmentInterface.php
[edit]
[-] WishlistInterface.php
[edit]
[-] ProductLabelInterface.php
[edit]
[-] GroupedProductInterface.php
[edit]
[-] ProductAttributeSetInterface.php
[edit]
[-] ShippingRuleItemInterface.php
[edit]
[-] ShippingInterface.php
[edit]
[-] OrderHistoryInterface.php
[edit]
[-] ProductCategoryInterface.php
[edit]
[-] ProductTagInterface.php
[edit]
[-] ProductVariationItemInterface.php
[edit]
[-] FlashSaleInterface.php
[edit]
[-] CurrencyInterface.php
[edit]
[-] ShipmentHistoryInterface.php
[edit]
[-] OrderAddressInterface.php
[edit]
[-] StoreLocatorInterface.php
[edit]
[-] TaxInterface.php
[edit]
[-] ProductCollectionInterface.php
[edit]
[-] DiscountInterface.php
[edit]
[-] OrderProductInterface.php
[edit]
[-] ProductVariationInterface.php
[edit]