[Skip to main content](#vessel-content)

#   Checkout for mini-cart not working in IE

##

- **[hoken](/forum/user/934-hoken "View hoken's Profile")**
- [![hoken's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/934-hoken "View hoken's Profile") Topic Author
- [ Offline](/forum/user/934-hoken)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 6 months ago [\#16012](#16012) by [hoken](/forum/user/934-hoken "View hoken's Profile")  *[Checkout for mini-cart not working in IE](/forum/4-how-to/16012-checkout-for-mini-cart-not-working-in-ie#16012 "Hi, I've setup a mini-cart to display when customers are not in the product pages, but the checkout button is not working in IE7 and IE8. Here are the steps to reproduce, do you know what's wrong?  1. URL:   kennethpho.com/Joomla/index.php?option=c...ut=listing&amp;Itemid=62  2. Add any product to Cart 3. Navigate to 'Contact Us' on the top menu 4. Click on Checkout button of mini-cart  Please let me know if you need more info. Thanks!")* was created by *[hoken](/forum/user/934-hoken "View hoken's Profile")*

Hi, I've setup a mini-cart to display when customers are not in the product pages, but the checkout button is not working in IE7 and IE8. Here are the steps to reproduce, do you know what's wrong?

1. URL: [ kennethpho.com/Joomla/index.php?option=c...ut=listing&amp;Itemid=62](http://kennethpho.com/Joomla/index.php?option=com_hikashop&view=product&layout=listing&Itemid=62)
2. Add any product to Cart
3. Navigate to 'Contact Us' on the top menu
4. Click on Checkout button of mini-cart

Please let me know if you need more info. Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDEyLWNoZWNrb3V0LWZvci1taW5pLWNhcnQtbm90LXdvcmtpbmctaW4taWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 6 months ago [\#16025](#16025) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout for mini-cart not working in IE](/forum/4-how-to/16012-checkout-for-mini-cart-not-working-in-ie#16025 "Hi, I've setup a mini-cart to display when customers are not in the product pages, but the checkout button is not working in IE7 and IE8. Here are the steps to reproduce, do you know what's wrong?  1. URL:   kennethpho.com/Joomla/index.php?option=c...ut=listing&amp;Itemid=62  2. Add any product to Cart 3. Navigate to 'Contact Us' on the top menu 4. Click on Checkout button of mini-cart  Please let me know if you need more info. Thanks!")*

Hi,

There is no checkout button for the mini cart in HikaShop. That means that you added it yourself.
The problem is probably that you're using a button of the type submit and that on IE it takes the precedence over the link around it.
You shoudl try to use input="button" instead of input="submit" on your input button code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDEyLWNoZWNrb3V0LWZvci1taW5pLWNhcnQtbm90LXdvcmtpbmctaW4taWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[hoken](/forum/user/934-hoken "View hoken's Profile")**
- [![hoken's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/934-hoken "View hoken's Profile") Topic Author
- [ Offline](/forum/user/934-hoken)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 6 months ago [\#16043](#16043) by [hoken](/forum/user/934-hoken "View hoken's Profile")  Replied by *[hoken](/forum/user/934-hoken "View hoken's Profile")* on topic *[Re: Checkout for mini-cart not working in IE](/forum/4-how-to/16012-checkout-for-mini-cart-not-working-in-ie#16043 "Hi, I've setup a mini-cart to display when customers are not in the product pages, but the checkout button is not working in IE7 and IE8. Here are the steps to reproduce, do you know what's wrong?  1. URL:   kennethpho.com/Joomla/index.php?option=c...ut=listing&amp;Itemid=62  2. Add any product to Cart 3. Navigate to 'Contact Us' on the top menu 4. Click on Checkout button of mini-cart  Please let me know if you need more info. Thanks!")*

Yes, I remember now, I think I got help from you on adding the below lines of code to the minicart. Where can I modify the input type?

$this-&gt;params-&gt;set('show_quantity_field', 0);

echo $this-&gt;cart-&gt;displayButton(JText::_('PROCEED_TO_CHECKOUT'),'checkout',$this-&gt;params,hikashop::completeLink('checkout'.$url_itemid),'');

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDEyLWNoZWNrb3V0LWZvci1taW5pLWNhcnQtbm90LXdvcmtpbmctaW4taWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 6 months ago [\#16045](#16045) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout for mini-cart not working in IE](/forum/4-how-to/16012-checkout-for-mini-cart-not-working-in-ie#16045 "Hi, I've setup a mini-cart to display when customers are not in the product pages, but the checkout button is not working in IE7 and IE8. Here are the steps to reproduce, do you know what's wrong?  1. URL:   kennethpho.com/Joomla/index.php?option=c...ut=listing&amp;Itemid=62  2. Add any product to Cart 3. Navigate to 'Contact Us' on the top menu 4. Click on Checkout button of mini-cart  Please let me know if you need more info. Thanks!")*

Instead of that, you should directly use the HTML:
?&gt;&lt;input type="button" class="button hikashop_cart_input_button" name="checkout" value="Checkout"&gt;&lt;?php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDEyLWNoZWNrb3V0LWZvci1taW5pLWNhcnQtbm90LXdvcmtpbmctaW4taWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[hoken](/forum/user/934-hoken "View hoken's Profile")**
- [![hoken's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/934-hoken "View hoken's Profile") Topic Author
- [ Offline](/forum/user/934-hoken)

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 6 months ago -  15 years 6 months ago [\#16110](#16110) by [hoken](/forum/user/934-hoken "View hoken's Profile")  Replied by *[hoken](/forum/user/934-hoken "View hoken's Profile")* on topic *[Re: Checkout for mini-cart not working in IE](/forum/4-how-to/16012-checkout-for-mini-cart-not-working-in-ie#16110 "Hi, I've setup a mini-cart to display when customers are not in the product pages, but the checkout button is not working in IE7 and IE8. Here are the steps to reproduce, do you know what's wrong?  1. URL:   kennethpho.com/Joomla/index.php?option=c...ut=listing&amp;Itemid=62  2. Add any product to Cart 3. Navigate to 'Contact Us' on the top menu 4. Click on Checkout button of mini-cart  Please let me know if you need more info. Thanks!")*

Hi Nicolas, I tried replacing it with the HTML you specified but the issue still persists in IE7 and IE8. Is there something I'm missing?

Last edit: 15 years 6 months ago by [hoken](/forum/user/934-hoken "View hoken's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDEyLWNoZWNrb3V0LWZvci1taW5pLWNhcnQtbm90LXdvcmtpbmctaW4taWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 6 months ago [\#16120](#16120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout for mini-cart not working in IE](/forum/4-how-to/16012-checkout-for-mini-cart-not-working-in-ie#16120 "Hi, I've setup a mini-cart to display when customers are not in the product pages, but the checkout button is not working in IE7 and IE8. Here are the steps to reproduce, do you know what's wrong?  1. URL:   kennethpho.com/Joomla/index.php?option=c...ut=listing&amp;Itemid=62  2. Add any product to Cart 3. Navigate to 'Contact Us' on the top menu 4. Click on Checkout button of mini-cart  Please let me know if you need more info. Thanks!")*

I didn't say it would work, just that it would help to have the correct type on that button.

Now, when you click on it the page is not submitted so we're almost there. You need now to add an onlcick attribute to the button like that:

?&gt;&lt;input type="button" class="button hikashop_cart_input_button" name="checkout" value="Checkout" onclick="window.location='&lt;?php echo hikashop::completeLink('checkout'.$url_itemid); ?&gt;';"&gt;&lt;?php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDEyLWNoZWNrb3V0LWZvci1taW5pLWNhcnQtbm90LXdvcmtpbmctaW4taWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
