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

#   Disable page scrol after payment/delivery select

##

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 2 months ago -  13 years 2 months ago [\#121243](#121243) by [marioli](/forum/user/12399-marioli "View marioli's Profile")  *[Disable page scrol after payment/delivery select](/forum/25-install-update/861563-disable-page-scrol-after-payment-delivery-select#121243 "-- url of the page with the problem -- :   www.manufakturakosmetyczna.pl/  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  During checkout, after user changes payment or delivery method page refreshes and scrolls down to show selected option at the top.  It's probably a feature not a bug, but I want to diasable it. I don't want the page scroll after refresh. Is that possible?  EDIT : It should go to another category, but I cannot move it.")* was created by *[marioli](/forum/user/12399-marioli "View marioli's Profile")*

-- url of the page with the problem -- : [ www.manufakturakosmetyczna.pl/](http://www.manufakturakosmetyczna.pl/)
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14

During checkout, after user changes payment or delivery method page refreshes and scrolls down to show selected option at the top.

It's probably a feature not a bug, but I want to diasable it. I don't want the page scroll after refresh. Is that possible?

EDIT : It should go to another category, but I cannot move it.

Last edit: 13 years 2 months ago by [marioli](/forum/user/12399-marioli "View marioli's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MTU2My1kaXNhYmxlLXBhZ2Utc2Nyb2wtYWZ0ZXItcGF5bWVudC1kZWxpdmVyeS1zZWxlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 2 months ago [\#121261](#121261) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Disable page scrol after payment/delivery select](/forum/25-install-update/861563-disable-page-scrol-after-payment-delivery-select#121261 "-- url of the page with the problem -- :   www.manufakturakosmetyczna.pl/  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  During checkout, after user changes payment or delivery method page refreshes and scrolls down to show selected option at the top.  It's probably a feature not a bug, but I want to diasable it. I don't want the page scroll after refresh. Is that possible?  EDIT : It should go to another category, but I cannot move it.")*

Hi,
If you really want to disable the auto scroll after the shipping/payment method selection, you'll be able to do it by editing your "*YourWebsite\\components\\com\_hikashop\\views\\checkout\\tmpl\\**payment.php***" and change this line : Code:

$checked.=' onclick="this.form.action=this.form.action+\'#hikashop_payment_methods\';this.form.submit(); return false;"';

By : Code:

$checked.=' onclick="this.form.action=this.form.action;this.form.submit(); return false;"';

And also editing your "*YourWebsite\\components\\com\_hikashop\\views\\checkout\\tmpl\\**shipping.php***" and change this line : Code:

$checked.=' onclick="this.form.action=this.form.action+\'#hikashop_shipping_methods\';this.form.submit(); return false;"';

By : Code:

$checked.=' onclick="this.form.action=this.form.action;this.form.submit(); return false;"';

Hope this will help you.

The following user(s) said Thank You: [marioli](/forum/user/12399-marioli "View marioli's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MTU2My1kaXNhYmxlLXBhZ2Utc2Nyb2wtYWZ0ZXItcGF5bWVudC1kZWxpdmVyeS1zZWxlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 2 months ago [\#121282](#121282) by [marioli](/forum/user/12399-marioli "View marioli's Profile")  Replied by *[marioli](/forum/user/12399-marioli "View marioli's Profile")* on topic *[Disable page scrol after payment/delivery select](/forum/25-install-update/861563-disable-page-scrol-after-payment-delivery-select#121282 "-- url of the page with the problem -- :   www.manufakturakosmetyczna.pl/  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  During checkout, after user changes payment or delivery method page refreshes and scrolls down to show selected option at the top.  It's probably a feature not a bug, but I want to diasable it. I don't want the page scroll after refresh. Is that possible?  EDIT : It should go to another category, but I cannot move it.")*

Thank You very much. It works.

I have to admin that it is implemented better than I could have expected. I edited it to scroll always right to the top of the checkout form. I think that it should also scroll automatically to the top of the form always, that is after user clicks 'procede to the checkout' and after checkout process advances to another step. That would be great. You should consider coding it into another version.

Thanks again for Your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MTU2My1kaXNhYmxlLXBhZ2Utc2Nyb2wtYWZ0ZXItcGF5bWVudC1kZWxpdmVyeS1zZWxlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86323
- Thank you received: 14283
-
-

13 years 2 months ago [\#121284](#121284) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable page scrol after payment/delivery select](/forum/25-install-update/861563-disable-page-scrol-after-payment-delivery-select#121284 "-- url of the page with the problem -- :   www.manufakturakosmetyczna.pl/  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  During checkout, after user changes payment or delivery method page refreshes and scrolls down to show selected option at the top.  It's probably a feature not a bug, but I want to diasable it. I don't want the page scroll after refresh. Is that possible?  EDIT : It should go to another category, but I cannot move it.")*

It was actually like that before but we had users asking to have scroll back to the payment/shipping selection so that on checkout pages with a lot of information, the user get back to where he was.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MTU2My1kaXNhYmxlLXBhZ2Utc2Nyb2wtYWZ0ZXItcGF5bWVudC1kZWxpdmVyeS1zZWxlY3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.059 seconds

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