Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/units/orders/orders_tag_processor.php
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | |||||
} | } | ||||
} | } | ||||
return rtrim($ret,', '); | return rtrim($ret,', '); | ||||
} | } | ||||
function Orditems_LinkRemoveFromCart($params) | function Orditems_LinkRemoveFromCart($params) | ||||
{ | { | ||||
return $this->Application->HREF($this->Application->GetVar('t'), '', Array('pass' => 'm,orditems,ord', 'ord_event' => 'OnRemoveFromCart', 'm_cat_id'=>0)); | $params['m_cat_id'] = 0; | ||||
$params['ord_event'] = 'OnRemoveFromCart'; | |||||
if ( !isset($params['pass']) ) { | |||||
$params['pass'] = 'm,orditems,ord'; | |||||
} | |||||
// Remove parameters, that indicate from where this aggregated tag was called. | |||||
unset($params['PrefixSpecial'], $params['original_tag']); | |||||
return $this->Application->ProcessParsedTag('m', 'Link', $params); | |||||
} | } | ||||
function Orderitems_ProductLink($params) | function Orderitems_ProductLink($params) | ||||
{ | { | ||||
$object = $this->Application->recallObject('orditems'); | $object = $this->Application->recallObject('orditems'); | ||||
$url_params = Array ( | $url_params = Array ( | ||||
'p_id' => $object->GetDBField('ProductId'), | 'p_id' => $object->GetDBField('ProductId'), | ||||
▲ Show 20 Lines • Show All 1601 Lines • Show Last 20 Lines |