- Issue created by @niklan
- 🇷🇺Russia niklan Russia, Perm
BTW, this raises the question regarding
\Drupal\commerce_product\Entity\ProductVariationInterface::setListPrice
, because it accepts only@param \Drupal\commerce_price\Price $list_price
. It means there is no direct method to unset the list price. This method could acceptNULL
for unsetting the list price, or a new method could be introduced::unsetListPrice()
, otherwise it looks like the interface forces you to provide a list price all the time.But I think it is not for this issue, just noted.