Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Sector788

Новичок
  
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

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

Sector788's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Спасипотому что, зарилиило, это я не закоментировал свою сирую строчку
  2. у меня было в категории товаров, гделал по аналогии поле ввода <input type="text" name="quantity{{ product.product_id }}" class="quantity" value="1" id="quantity{{ product.product_id }}" value="{{ product.minimum }}" /> и кнопка куить <button class="bt_buy title="{{ button_cart }}" button type="button" onclick="cart.add('{{ product.product_id }}', $('#quantity{{ product.product_id }}').val());">
  3. Добрый гдень форумчане!! Помогите, есть модуль для OP3 называется Live searsh, заменяет синдартный поиск, в нем же можно нажать на кнопку купить, и он добавляет в корзину только (продукт минимум), html += '<a href="javascript:;" onclick="cart.add(' +product.product_id+ ', ' +product.minimum+ ');" class="bt_buy">'; я добавил поле для ввода когдачества, tml += ' <input type="text" name="quantity' +product.product_id+ '" class="quantity" value="1" id="quantity'+product.product_id+'" value="'+product.minimum+'" />'; как теперьь его привязать сюда? пробывал html += '<a href="javascript:;" onclick="cart.add(' +product.product_id+ ', ' +$(+ '#quantity' +product_id).val()+ ');" class="bt_buy">'; не получается, может кто подскажет?
×
×
  • 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.