OXID eShop CE
6.0.0
|
Public Attributes | |
$productId = "NULL" | |
$productName = "NULL" | |
$price = "NULL" | |
$productGroup = "NULL" | |
$quantity = "NULL" | |
$variant1 = "NULL" | |
$variant2 = "NULL" | |
$variant3 = "NULL" | |
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.
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$price = "NULL" |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$productGroup = "NULL" |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$productId = "NULL" |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$productName = "NULL" |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$quantity = "NULL" |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$variant1 = "NULL" |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$variant2 = "NULL" |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosItem::$variant3 = "NULL" |