Skip to main content

Cart Module icons

More
14 years 7 months ago #40769 by codewarrior
Hi,
Cart module has an option for Delete icon display.

Could you please add an Update icon, like in the Checkout ?
Even if direct update with keyboard is working, which is not so intuitive.

Thanks
Regards

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

More
14 years 7 months ago #40982 by nicolas
Replied by nicolas on topic Re: Cart Module icons
You can do that yourself by editing the file "cart" of the view "product" via the menu Display->Views.

I'm not sure that this should be like you suggest by default. The problem is that like that, the module would require more width to display properly and on some templates, based on where you want to display it, there is not much space for that.

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

More
14 years 7 months ago - 14 years 7 months ago #41132 by codewarrior
Replied by codewarrior on topic Re: Cart Module icons
Thanks Nicolas,
1) I understand your answer, but an icon is 32x32.
Is it as simple as to paste the code in the checkout view ?

2) By the way, I found no place in usual templates to display the full cart, only in top header or a full width module in a regular page.
Could it be possible to have it in a popup, when we click for example on a caddy icon ?

Regards
Last edit: 14 years 7 months ago by codewarrior.

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

More
14 years 7 months ago #41314 by nicolas
Replied by nicolas on topic Re: Cart Module icons
1. It's not complex. Just add that code:
Code:
<a href="#" onclick="this.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>

2. There are some extensions out there to do that:
extensions.joomla.org/extensions/style-a...ign/popups-a-iframes
The following user(s) said Thank You: codewarrior

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

More
14 years 6 months ago #43672 by codewarrior
Replied by codewarrior on topic Re: Cart Module icons
Thanks,
it works fine and more simple that the code I pasted previously.

Again great support from Nicolas !

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

More
14 years 1 month ago - 14 years 1 month ago #61998 by codewarrior
Replied by codewarrior on topic Re: Cart Module icons
Hi Nicolas,
it was working fine until I upgrade to 1.5.9
Code:
<td class="hikashop_cart_module_product_delete_value hikashop_cart_value"> <a href="#" onclick="this.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>

Now quantity is updated, but not the price (like before) !
If I proceed to payment, quantity and prices are corrects.

Do you have a clue, I'm lost in all the new code for Whishlist...???

Thanks for help, I was confident and done modifications in production :blink:
Regards

PS : it would be nice to add this functionnality in the cart (no need to edit this code beginning complex). Thanks
Last edit: 14 years 1 month ago by codewarrior.

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

More
14 years 1 month ago #62121 by nicolas
Replied by nicolas on topic Re: Cart Module icons
Hi,

The price is based on the quantity and is recalculated on each page. If the quantity is updated, I don't see why the price wouldn't. could you give a link to that page so that we can see the issue ?

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

More
14 years 3 weeks ago #63849 by codewarrior
Replied by codewarrior on topic Re: Cart Module icons
Thanks for help, it's solved with
Code:
<a href="#" onclick="document.hikashop_cart_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>

But a configuration option "Show updates icons in the cart", in module, like "Show delete icons in the cart" would be great.
Thanks by advance.
Regards

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

Time to create page: 0.264 seconds
Powered by Kunena Forum