Метод | Описание | |
---|---|---|
activateLanguageTab ( string $locale ) | ||
addAttribute ( string $attribute, string $value ) | ||
associateProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $productsNames ) | ||
attachImage ( string $path, string $code = null ) | ||
checkChannel ( string $channelName ) | ||
choosePricingCalculator ( string $name ) | ||
nameItIn ( string $name, string $localeCode ) | ||
removeAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType ) | ||
removeAttribute ( string $attribute ) | ||
selectShippingCategory ( string $shippingCategoryName ) | ||
specifyCode ( string $code ) | ||
specifyPrice ( string $channelName, integer $price ) | ||
specifyPriceForChannelAndCurrency ( integer $price, Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency ) | ||
specifySlugIn ( string $slug, string $locale ) |
public addAttribute ( string $attribute, string $value ) | ||
$attribute | string | |
$value | string |
public associateProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $productsNames ) | ||
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface | |
$productsNames | array |
public attachImage ( string $path, string $code = null ) | ||
$path | string | |
$code | string |
public choosePricingCalculator ( string $name ) | ||
$name | string |
public removeAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType ) | ||
$productName | string | |
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface |
public selectShippingCategory ( string $shippingCategoryName ) | ||
$shippingCategoryName | string |
public specifyPrice ( string $channelName, integer $price ) | ||
$channelName | string | |
$price | integer |
public specifyPriceForChannelAndCurrency ( integer $price, Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency ) | ||
$price | integer | |
$channel | Sylius\Component\Core\Model\ChannelInterface | |
$currency | Sylius\Component\Currency\Model\CurrencyInterface |
public specifySlugIn ( string $slug, string $locale ) | ||
$slug | string | |
$locale | string |