Jump to content

teoze

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by teoze

  1. modul In product-list.tpl i have added the following: ------------------------------------------------------------------------------------------ {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Add to cart'} {else} reaple {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Quantity :'} <input type="text" name="ajax_qty_to_add_to_cart[{$product.id_product|intval}]" id="quantity_wanted_{$product.id_product|intval}" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}1{/if}" size="2" maxlength="3" /> {l s='Add to cart'} {else} --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- in the module blockcart, file ajax-cart.js ajaxCart.add(idProduct, null, false, this); reaple ajaxCart.add(idProduct, null, false, this, $('#quantity_wanted_'+idProduct)); --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- esoes help me pls
  2. neden sordun bende urun adetti eklemk istiyorum. biliyormusun ?
  3. modul theme ? In product-list.tpl i have added the following: ------------------------------------------------------------------------------------------ {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Add to cart'} {else} reaple {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Quantity :'} <input type="text" name="ajax_qty_to_add_to_cart[{$product.id_product|intval}]" id="quantity_wanted_{$product.id_product|intval}" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}1{/if}" size="2" maxlength="3" /> {l s='Add to cart'} {else} --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- in the module blockcart, file ajax-cart.js ajaxCart.add(idProduct, null, false, this); reaple ajaxCart.add(idProduct, null, false, this, $('#quantity_wanted_'+idProduct)); --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- esoes help me pls
  4. //for every 'add' buttons... $('.ajax_add_to_cart_button').unbind('click').click(function(){ var idProduct = $(this).attr('rel').replace('ajax_id_product_', ''); ajaxCart.add(idProduct, null, false, this); return false; }); //for product page 'add' button... $('body#product p#add_to_cart input').unbind('click').click(function(){ ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null, true); return false; problem ?
  5. http://img705.imageshack.us/img705/9199/resimh.jpg üründen kac adet istediğini manuel girsin. ? arkadaşlar bu modül ve kod varmı
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More