Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/order_items/order_items_tag_processor.php
Show First 20 Lines • Show All 249 Lines • ▼ Show 20 Line(s) | |||||
// restore IDs used in cycle | // restore IDs used in cycle | ||||
$this->Application->SetVar('p_id', $product_id_get); | $this->Application->SetVar('p_id', $product_id_get); | ||||
$this->Application->SetVar('m_cat_id', $category_id_backup); | $this->Application->SetVar('m_cat_id', $category_id_backup); | ||||
$this->Application->DeleteVar($this->getPrefixSpecial() . '_id'); | $this->Application->DeleteVar($this->getPrefixSpecial() . '_id'); | ||||
if ( $product_id ) { | if ( $product_id ) { | ||||
$product_object->Load($product_id); | $product_object->Load($product_id); | ||||
} | } | ||||
else { | |||||
$this->Application->removeObject('p'); | |||||
} | |||||
return $o; | return $o; | ||||
} | } | ||||
function DisplayOptionsPricing($params) | function DisplayOptionsPricing($params) | ||||
{ | { | ||||
$object = $this->getObject($params); | $object = $this->getObject($params); | ||||
/* @var $object kDBItem */ | /* @var $object kDBItem */ | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |