Cart
- Full name:
\BigCommerce\Shortcodes\Cart
- This class implements:
\BigCommerce\Shortcodes\Shortcode
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | ’bigcommerce_cart’ |
Methods
__construct
public __construct(\BigCommerce\Api\v3\Api\CartApi $cart_api): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$cart_api | \BigCommerce\Api\v3\Api\CartApi |
render
Return the rendered markup for this shortcode.
public render(mixed $attr, mixed $instance): string
Parameters:
Parameter | Type | Description |
---|---|---|
$attr | mixed | |
$instance | mixed |
Automatically generated on 2025-01-21