Documentation

isOrderExists

boolean public
\Bitrix\Sale\Discount::isOrderExists(
);

Method returns flag for existing order (true/false), because calculation can be performed for shopping cart without an order. Non-static method.

No parameters

Example



© «Bitrix24», 2001-2024
Up