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

commando

Newbie
  
  • Posts

    5
  • Joined

  • Last visited

commando's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Reacting Well Rare

Recent Badges

0

Reputation

  1. Может кто в курсе, какие изменения внести чтобы модуль выбирал максимальную скидку (скидка для группы или скидка от суммы), а так получается что выбирает только скидку от группы. Или может есть какие уже готовые модули на ocstore 0.2.0
  2. сорри, это писал для ocstore 0.2.0 У вас должна быть строчка <a id="button-cart" class="button"><span><?php echo $button_cart; ?></span></a></div> меняем на <?php if ($product_info['quantity'] <= 0) { ?> <a id="button-cart" class="button"><span>Предзаказ</span></a></div> <?php } else { ?> <a id="button-cart" class="button"><span><?php echo $button_cart; ?></span></a></div> <?php } ?>
  3. В файле product.tpl меняем строчку <a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a> на <?php if ($product_info['quantity'] <= 0) { ?> <a onclick="$('#product').submit();" id="add_to_cart" class="button"><span>Предзаказ</span></a> <?php } else { ?> <a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a> <?php } ?>
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.