OXID eShop CE  6.4.2
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem Class Reference

Public Attributes

 $productId = "NULL"
 
 $productName = "NULL"
 
 $price = "NULL"
 
 $productGroup = "NULL"
 
 $quantity = "NULL"
 
 $variant1 = "NULL"
 
 $variant2 = "NULL"
 
 $variant3 = "NULL"
 

Detailed Description

A Class to hold products as well a basket items If you want to track a product view, set the quantity to 1. For "real" basket items, the quantity should be given in your shopping systems basket/shopping cart.

Purpose of this class: This class provides a common subset of features for most shopping systems products or basket/cart items. So all you have to do is to convert your products/articles/basket items/cart items to a EMOS_Items. And finally use the functionaltiy of the EMOS class. So for each shopping system we only have to do the conversion of the cart/basket and items and we can (hopefully) keep the rest of code.

Shopping carts: A shopping cart / basket is a simple Array[] of EMOS items. Convert your cart to a Array of EMOS_Items and your job is nearly done.

Deprecated:
since v6.5.6 (2020-07-29); moved the functionality to 'OXID personalization' module

Member Data Documentation

◆ $price

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$price = "NULL"

◆ $productGroup

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$productGroup = "NULL"

◆ $productId

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$productId = "NULL"

◆ $productName

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$productName = "NULL"

◆ $quantity

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$quantity = "NULL"

◆ $variant1

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$variant1 = "NULL"

◆ $variant2

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$variant2 = "NULL"

◆ $variant3

OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$variant3 = "NULL"

The documentation for this class was generated from the following file: