Function __global->get_ordered_product_list_string
Definitions
sources/shopping.php
- Get a string of ordered products for display.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $order_id | AUTO_LINK | No | No | required parameter | N/A | N/A | Order ID |
Returns
- Products names and quantity
- Type: LONG_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a string of ordered products for display.
*
* @param AUTO_LINK $order_id Order ID
* @return LONG_TEXT Products names and quantity
*/
function get_ordered_product_list_string(int $order_id) : string
* Get a string of ordered products for display.
*
* @param AUTO_LINK $order_id Order ID
* @return LONG_TEXT Products names and quantity
*/
function get_ordered_product_list_string(int $order_id) : string
