# storeengine/2.2.0/includes/shortcode/cart-list-table.php

StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates &amp; More, version 2.2.0. 28 lines.

- Page: https://pluginprobe.com/plugins/storeengine/2.2.0/code/includes/shortcode/cart-list-table.php
- Raw: https://pluginprobe.com/plugins/storeengine/2.2.0/raw/includes/shortcode/cart-list-table.php
- Modified: 2026-04-20T13:58:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/storeengine/2.2.0/code/includes/shortcode/cart-list-table.php#L10-L20`.

```php
<?php

namespace StoreEngine\Shortcode;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

use StoreEngine\Utils\Helper;
use StoreEngine\Utils\Template;

class CartListTable {
	public function __construct() {
		add_shortcode( 'storeengine_cart_list_table', array( $this, 'render_cart_list_table' ) );
	}

	public function render_cart_list_table( $atts ) {
		$attributes = shortcode_atts( [ 'empty_message' => __( 'Your cart is currently empty.', 'storeengine' ) ], $atts );

		Helper::cart();
		do_action( 'storeengine/cart/check_items' );

		ob_start();
		Template::get_template( 'shortcode/cart-list-table.php', $attributes );
		return ob_get_clean();
	}
}

```
