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

Sector788

Newbie
  
  • 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">'; не получается, может кто подскажет?
Guest
×
  • 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.