Skip to main content

Can't see the refresh possibility in my cart

12 years 7 months ago #151604 by Carolek
-- url of the page with the problem -- : temp.yaeliq.com
-- HikaShop version -- :2.3.0
-- Joomla version -- : 2.5.19
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hy I can see in your demo a "refresh" possibility in cart (see the attach "screenshot 1") but can't see it in my cart.(see the attach "screenshot2")

Why?

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

12 years 7 months ago #151626 by Xavier
Hi,

Thanks to try to edit the view "checkout / cart" via the menu Display > Views and add:
Code:
$this->disable_modifications = '';
Before:
Code:
if(empty($this->disable_modifications)){ ?> <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; ?>}; return true;" /> <div class="hikashop_cart_product_quantity_refresh"> <a class="hikashop_no_print" href="#" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field && qty_field.value != '<?php echo $row->cart_product_quantity; ?>'){<?php echo $input; ?> qty_field.form.submit(); } return false;" title="<?php echo JText::_('HIKA_REFRESH'); ?>"> <img src="<?php echo HIKASHOP_IMAGES . 'refresh.png';?>" border="0" alt="<?php echo JText::_('HIKA_REFRESH'); ?>" /> </a> </div> <?php if($this->params->get('show_delete',1)){ ?> <div class="hikashop_cart_product_quantity_delete"> <a class="hikashop_no_print" 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 } }else{ echo $row->cart_product_quantity; }
The following user(s) said Thank You: Carolek

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

12 years 7 months ago #151756 by Carolek
Thanks it works. And what is the view to update for wishlist?

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

12 years 7 months ago #151799 by Xavier
Hi,

Do you mean through a menu HikaShop > Cart ?
In this display the refresh button is not implemented.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum