AlligatorPriceExtension
class AlligatorPriceExtension extends Twig_Extension
Class AlligatorPriceExtension
Methods
__construct(UserSettingsManager $userSettingsManager, EventDispatcherInterface $eventDispatcher, TokenStorageInterface $tokenStorage, boolean $erpReturnsPrice, CurrencyManager $currencyManager, ProductDiscountHelper $productDiscountHelper)
No description
getFunctions()
{@inheritdoc}
getErpPrices(array $variables)
No description
int
getErpActionPriceForProduct($variable)
No description
int
getErpPriceForProduct(mixed $variable, bool $actionPrice = false, bool $forceConvert = false)
Get price for product or pav
mixed
getErpRebateForProduct($variable)
No description
mixed
getPrice($variable, bool $onActionPrice = false)
No description
float|int
getCalculatedPercentageDiscount(float $price, float $priceOnAction)
No description
Details
at line 64
__construct(UserSettingsManager $userSettingsManager, EventDispatcherInterface $eventDispatcher, TokenStorageInterface $tokenStorage, boolean $erpReturnsPrice, CurrencyManager $currencyManager, ProductDiscountHelper $productDiscountHelper)
at line 78
getFunctions()
{@inheritdoc}
at line 93
getErpPrices(array $variables)
at line 120
int
getErpActionPriceForProduct($variable)
at line 133
int
getErpPriceForProduct(mixed $variable, bool $actionPrice = false, bool $forceConvert = false)
Get price for product or pav