Cart Module icons

  • Posts: 190
  • Thank you received: 0
12 years 8 months ago #40769

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.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
12 years 8 months ago #40982

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.

  • Posts: 190
  • Thank you received: 0
12 years 8 months ago #41132

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: 12 years 8 months ago by codewarrior.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
12 years 8 months ago #41314

1. It's not complex. Just add that 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.

  • Posts: 190
  • Thank you received: 0
12 years 7 months ago #43672

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.

  • Posts: 190
  • Thank you received: 0
12 years 2 months ago #61998

Hi Nicolas,
it was working fine until I upgrade to 1.5.9

<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: 12 years 2 months ago by codewarrior.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
12 years 2 months ago #62121

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.

  • Posts: 190
  • Thank you received: 0
12 years 1 month ago #63849

Thanks for help, it's solved with

<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.050 seconds
Powered by Kunena Forum