Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Makedonskiy588

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Makedonskiy588's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Как бы остальное что я скрыл, все отлично работает. Это там где сетка товаров, я тоже скрыл кнопки в корзину, ну и в header скрыл саму корзину от незарегистрированных пользователей
  2. Вот получается весь код закрытой кнопки в product.tpl <?php if ($logged) { ?> <div class="form-group"> <label class="control-label" for="input-quantity"><?php echo $entry_qty; ?></label> <input type="text" name="quantity" value="<?php echo $minimum; ?>" size="2" id="input-quantity" class="form-control" /> <input type="hidden" name="product_id" value="<?php echo $product_id; ?>" /> <br /> <button type="button" id="button-cart" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary btn-lg btn-block"><?php echo $button_cart; ?></button> </div> <?php } ?> Вот код который я вставил в product.php $data['text_logged'] = sprintf($this->language->get('text_logged'), $this->url->link('account/account', '', 'SSL'), $this->customer->getFirstName(), $this->url->link('account/logout', '', 'SSL')); $data['logged'] = $this->customer->isLogged();
  3. Всем доброе время суток. Проблема такая, когда скрывал кнопки "В корзину" и саму корзину от незарегистрированных пользователей, то после перестала работать кнопка "в корзину" в самом товаре, а остальное все работает. Что делать, в чем проблема??
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.