Index: branches/5.2.x/units/order_items/order_items_tag_processor.php =================================================================== diff -u -N -r16025 -r16206 --- branches/5.2.x/units/order_items/order_items_tag_processor.php (.../order_items_tag_processor.php) (revision 16025) +++ branches/5.2.x/units/order_items/order_items_tag_processor.php (.../order_items_tag_processor.php) (revision 16206) @@ -1,6 +1,6 @@ GetID(); $product_id_get = $this->Application->GetVar('p_id'); + $category_id_backup = $this->Application->GetVar('m_cat_id'); while (!$list->EOL()) { // load product used in orderitem @@ -248,6 +249,7 @@ // restore IDs used in cycle $this->Application->SetVar('p_id', $product_id_get); + $this->Application->SetVar('m_cat_id', $category_id_backup); $this->Application->DeleteVar($this->getPrefixSpecial() . '_id'); if ( $product_id ) {