Closed Louzet closed 1 year ago
Method $channelPrice = $variant->getChannelPricingForChannel($channel); return a channelPricingInterface or null. Then we must check the value of $channelPricing before calling the method $channelPricing->getPrice()
$channelPrice = $variant->getChannelPricingForChannel($channel);
$channelPricing
$channelPricing->getPrice()
Thank you @Louzet 🚀
Method
$channelPrice = $variant->getChannelPricingForChannel($channel);
return a channelPricingInterface or null. Then we must check the value of$channelPricing
before calling the method$channelPricing->getPrice()