На верх
в с е д л я с в а д ь б ы

+7 (925) 505-01-61

+7 (916) 120-66-73

ErrorException [ Notice ]: Undefined index: discount_all

APPPATH/views/content2merchandieses.php [ 104 ]

 99                     </div>
100                     <?php if(isset($viewMerchandiese['shoping']) and $viewMerchandiese['shoping'] == 1): ?>
101                     <form method="post" action="<?=URL::base()?>basket/append/">
102                         <?php
103                             $price = $viewMerchandiese['price'];
104                             $discount = ($viewMerchandiese['is_discount_category']) ? $category['discount_all'] : $viewMerchandiese['discount'];
105                             $priceNew = ($discount) ? ceil($price - ($price * $discount / 100)) : false;
106                         ?>
107                         <div class="price">
108                             <?php if($discount): ?>
109                                 <p>Стоимость: <span style="color: #a0a0a0; text-decoration: line-through; font-weight: 100"><?=$price;?> руб.</span> <span style="font-weight: 600; font-size: 1.2em"><?=$priceNew;?> руб.</span></span></p>
  1. APPPATH/views/content2merchandieses.php [ 104 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  5. APPPATH/views/default.php [ 191 ] » Kohana_View->__toString()

  6. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  8. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  9. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

  10. {PHP internal call} » Kohana_Controller->execute()

  11. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  12. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  13. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  14. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment