Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/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) | ||||
{ | { | ||||
/** @var kDBItem $object */ | /** @var kDBItem $object */ | ||||
$object = $this->getObject($params); | $object = $this->getObject($params); | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |