Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a custom synchronization module which synchronizes prices with a third party warehouse. Now it synchronizes only cost, but if a product has some discount, I also have to synchronize the sell_price. How can I check if the product has a discount?