Function __global->recalculate_order_costs
Definitions
sources/shopping.php
- Recalculate the saved cost details related to an order. May be used after that order is changed.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $order_id | AUTO_LINK | No | No | required parameter | N/A | N/A | The order ID |
Preview
Code (PHP)
/**
* Recalculate the saved cost details related to an order. May be used after that order is changed.
*
* @param AUTO_LINK $order_id The order ID
*/
function recalculate_order_costs(int $order_id)
* Recalculate the saved cost details related to an order. May be used after that order is changed.
*
* @param AUTO_LINK $order_id The order ID
*/
function recalculate_order_costs(int $order_id)

