# storeengine/2.2.0/includes/frontend/variable-product.php

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

- Page: https://pluginprobe.com/plugins/storeengine/2.2.0/code/includes/frontend/variable-product.php
- Raw: https://pluginprobe.com/plugins/storeengine/2.2.0/raw/includes/frontend/variable-product.php
- Modified: 2025-05-15T14:52:52+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/frontend/variable-product.php#L10-L20`.

```php
<?php

namespace StoreEngine\Frontend;

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

class VariableProduct {

	public static function init() {
		$self = new self();
		add_filter('storeengine/frontend/cart/add_item', [ $self, 'include_variation_data' ]);
	}

	public function include_variation_data( $cart_item_data ) {
	}
}

```
