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

#   Stay on same page when adding to cart

##

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 11 months ago [\#3321](#3321) by [PaulG](/forum/user/436-paulg "View PaulG's Profile")  *[Stay on same page when adding to cart](/forum/4-how-to/3321-stay-on-same-page-when-adding-to-cart#3321 "Even when “Always stay on same page” is selected, when clicking “Add to cart” I am taken to the default Checkout page (/component/hikashop/checkout). How do ensure that customers will stay on same page?  The main problem with this is that the “Next” button is at the very bottom of the page, not easy to see. This must be a CSS thing, but I can’t figure out how to bring the button up. Any suggestions? I have discovered that adding a module (even an empty one) to the right side forces the “next” button upward. But that's not the idea solution.  Paul")* was created by *[PaulG](/forum/user/436-paulg "View PaulG's Profile")*

Even when “Always stay on same page” is selected, when clicking “Add to cart” I am taken to the default Checkout page (/component/hikashop/checkout). How do ensure that customers will stay on same page?

The main problem with this is that the “Next” button is at the very bottom of the page, not easy to see. This must be a CSS thing, but I can’t figure out how to bring the button up. Any suggestions? I have discovered that adding a module (even an empty one) to the right side forces the “next” button upward. But that's not the idea solution.

Paul

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzMjEtc3RheS1vbi1zYW1lLXBhZ2Utd2hlbi1hZGRpbmctdG8tY2FydD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

15 years 11 months ago [\#3339](#3339) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Stay on same page when adding to cart](/forum/4-how-to/3321-stay-on-same-page-when-adding-to-cart#3339 "Even when “Always stay on same page” is selected, when clicking “Add to cart” I am taken to the default Checkout page (/component/hikashop/checkout). How do ensure that customers will stay on same page?  The main problem with this is that the “Next” button is at the very bottom of the page, not easy to see. This must be a CSS thing, but I can’t figure out how to bring the button up. Any suggestions? I have discovered that adding a module (even an empty one) to the right side forces the “next” button upward. But that's not the idea solution.  Paul")*

Hi,

We couldn't reproduce the problem you're talking about with the "add to cart" button. You can test on our demo website... It works as expected.

The next button can indeed be moved with some CSS. However, we can't tell you precisely what CSS you should use without seeing the page. Could you provide a link to it ?

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 11 months ago [\#3348](#3348) by [PaulG](/forum/user/436-paulg "View PaulG's Profile")  Replied by *[PaulG](/forum/user/436-paulg "View PaulG's Profile")* on topic *[Re: Stay on same page when adding to cart](/forum/4-how-to/3321-stay-on-same-page-when-adding-to-cart#3348 "Even when “Always stay on same page” is selected, when clicking “Add to cart” I am taken to the default Checkout page (/component/hikashop/checkout). How do ensure that customers will stay on same page?  The main problem with this is that the “Next” button is at the very bottom of the page, not easy to see. This must be a CSS thing, but I can’t figure out how to bring the button up. Any suggestions? I have discovered that adding a module (even an empty one) to the right side forces the “next” button upward. But that's not the idea solution.  Paul")*

It's not the "add to cart" button, but the html link that I'm having trouble with.

Here is the page in question

[ paramipress.com/books/mapping-the-dharma/mtd](http://paramipress.com/books/mapping-the-dharma/mtd)

Notice the difference when next clicking on the "view cart" button in the navigation menu.

Paul

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzMjEtc3RheS1vbi1zYW1lLXBhZ2Utd2hlbi1hZGRpbmctdG8tY2FydD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

15 years 11 months ago [\#3353](#3353) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Stay on same page when adding to cart](/forum/4-how-to/3321-stay-on-same-page-when-adding-to-cart#3353 "Even when “Always stay on same page” is selected, when clicking “Add to cart” I am taken to the default Checkout page (/component/hikashop/checkout). How do ensure that customers will stay on same page?  The main problem with this is that the “Next” button is at the very bottom of the page, not easy to see. This must be a CSS thing, but I can’t figure out how to bring the button up. Any suggestions? I have discovered that adding a module (even an empty one) to the right side forces the “next” button upward. But that's not the idea solution.  Paul")*

The HTML link is just an HTML link. The option in the configuration onle works with standard HikaShop "add to cart" buttons. So it's normal it redirects you to the checkout. If you want to stay on the same page, then you need to change your link.
That is your link currently: Code:

http://paramipress.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product_id=1

That is want you should have to stay on the same page: Code:

http://paramipress.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;product_id=1&amp;url=http%3a%2f%2fparamipress.com%2fbooks%2fmapping-the-dharma%2fmtd

As you can see, you need to remove the checkout parameter and add a url parameter where you need to specify the current page.

For the "next" button being at the bottom of the page, the problem comes from your template.

You have the CSS : Code:

\#main { background: none repeat scroll 0 0 #FDFAF1; margin: 0; padding: 25px 20px 20px; position: relative; }

which you should replace by: Code:

\#main { background: none repeat scroll 0 0 #FDFAF1; float: left; margin: 0; padding: 25px 20px 20px; position: relative; width: 95%; }

in the file [ paramipress.com/templates/parami\_template/css/position.css](http://paramipress.com/templates/parami_template/css/position.css)

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 11 months ago [\#3370](#3370) by [PaulG](/forum/user/436-paulg "View PaulG's Profile")  Replied by *[PaulG](/forum/user/436-paulg "View PaulG's Profile")* on topic *[Re: Stay on same page when adding to cart](/forum/4-how-to/3321-stay-on-same-page-when-adding-to-cart#3370 "Even when “Always stay on same page” is selected, when clicking “Add to cart” I am taken to the default Checkout page (/component/hikashop/checkout). How do ensure that customers will stay on same page?  The main problem with this is that the “Next” button is at the very bottom of the page, not easy to see. This must be a CSS thing, but I can’t figure out how to bring the button up. Any suggestions? I have discovered that adding a module (even an empty one) to the right side forces the “next” button upward. But that's not the idea solution.  Paul")*

Excellent! I knew there would be easy solutions to these problems. Finding them on my own is not so easy. Your reputation of giving solid support is justified once again. Thank you, Nicolas.

Paul

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzMjEtc3RheS1vbi1zYW1lLXBhZ2Utd2hlbi1hZGRpbmctdG8tY2FydD90bXBsPW1hcmtkb3du) 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.053 seconds

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