some help

  • Posts: 28
  • Thank you received: 0
11 years 5 months ago #103634

hi, need some help.




look, there is the quantiti. when i change the quantiti in my cart the shippig cost disappear :D i dont know why... and now i changed something in the code and my button is away XD.

i want a working quantity button or just the delete button. maybe someone can tell me what is wrong in the code..
thx


<td class="hikashop_cart_product_quantity_value">
                <input id="hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>" type="text" name="item[<?php echo $row->cart_product_id;?>]" class="hikashop_product_quantity_field" value="<?php echo $row->cart_product_quantity; ?>" onchange="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field){<?php echo $input; ?>}" />
                
                
                <?php if($this->params->get('show_delete',1)){ ?>
                  <div class="hikashop_cart_product_quantity_delete">
                    <a href="<?php echo hikashop_completeLink('product&task=updatecart&product_id='.$row->product_id.'&quantity=0&return_url='.urlencode(base64_encode(urldecode($this->params->get('url'))))); ?>" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if(qty_field){qty_field.value=0; <?php echo $input; ?> qty_field.form.submit();} return false;" title="<?php echo JText::_('HIKA_DELETE'); ?>">
                      <img src="<?php echo HIKASHOP_IMAGES . 'delete2.png';?>" border="0" alt="<?php echo JText::_('HIKA_DELETE'); ?>" />
                    </a>
                  </div>
                <?php } ?>
              </td>

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 5 months ago #103681

Hi,

Do you have the option "Show delete icons during checkout" set to "yes" in your HikaShop configuration ? (tab "checkout")

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ljrr

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum