Traits

Interfaces, Classes and Traits

Api_Provide_Error_Response
Provides a `send_error_response` method that can be used to communicate error messages via the react app.
Can_Find_Cheapest_Product
Trait for finding the cheapest nth product.
Condition_Has_Items
Provides access to 2 methods that retrieve the products and categories assigned to a condition.
Discount_With_Calculated_Subtotal
Trait for calculating the subtotal of a cart or order.
Discount_With_Reductions
Trait for discount types that apply a reduction to products.
Discount_With_Required_Qty
Provides a method to retrieve the minimum required quantity for the discount to apply.
Entity_Assignable
Provides access to an `assign` method for entities.
Entity_ID
Provides access to the ID of the entity.

Search results