Items
Recurring Sales Items
The individual item lines within each sale.
Methods
Invoke via \Components\Commerce\RecurringSales\Items::method()
Click a method name to copy it.
Removes all sale items for a sale
Deletes a record from the database
Parameters:
- $iSaleItemId
int unsigned
A record's sale_item_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters:
- $iSaleItemId
int unsigned
A record's sale_item_id
Return a set of records from the database
Returns all items for a particular sale
Returns all items for a particular sale, with null fields filled in from the product
Gets a single field from a record
Parameters:
- $iSaleItemId
int unsigned
A record's sale_item_id
Returns the number of records in the database (matching the filter if specified)
Returns the total amount of discounts for each currency
Returns the total amount of shipping for each currency
Returns whether a sale has a product
Saves a record into the database
Saves a new set of sales items for a recurring sale
Saves a specific column of a row into a database
Parameters:
- $iSaleItemId
int unsigned
A record's sale_item_id
Return
Array of
Items that match the search query.