====== Подмена цен ====== Поюключаем с помощью: [[private:koding:hostcms:modules:shop:cart:require_solution|cart.php]] id) && isset($_COOKIE['price_' . $shop_item->id])) { $aPrice = $object->getAPrice(); $aPrice['price_discount'] = $_COOKIE['price_' . $shop_item->id]; $object->setAPrice($aPrice); if (isset($_COOKIE['name_' . $shop_item->id])) { $shop_item->name = $_COOKIE['name_' . $shop_item->id]; } } } }