Auto scroll after adding to cart

  • Arbind Bhagat
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 weeks 1 day ago #169926 by Arbind Bhagat
Auto scroll after adding to cart was created by Arbind Bhagat
On demo.joomdonation.com/osservicesbooking/...ointment/hair-cut-13 page, when I add an item to cart, the page automatically scroll to the top to show checkout button. The problem is that, the checkout button (along with the message) disappears in a few seconds.

(1) Is there an option to not disappear that message-with-checkout-button?

(2) Which code (I need the file path only) can I modify so that instead of scrolling to the top, it scrolls to the bottom?

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

More
3 weeks 20 hours ago #169930 by Mr. Dam
Replied by Mr. Dam on topic Auto scroll after adding to cart
Hi,
You don't want to show the message at the top of booking page after adding timeslot, right?
Thanks
Dam

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

  • Arbind Bhagat
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 weeks 12 hours ago #169946 by Arbind Bhagat
Replied by Arbind Bhagat on topic Auto scroll after adding to cart
I want to show it. I would like it to stay there, but currently, it disappears automatically after 2 seconds.

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

More
2 weeks 6 days ago #169965 by Mr. Dam
Replied by Mr. Dam on topic Auto scroll after adding to cart
Hi,
Currently, the message is showing in 5 seconds, maybe i will extend that time and make it longer.
Thanks
Dam

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

  • Arbind Bhagat
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 weeks 6 days ago #169972 by Arbind Bhagat
Replied by Arbind Bhagat on topic Auto scroll after adding to cart
Is it somewhere in the file that I can simply increase for now? If so, can I know the path of the file?

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

More
2 weeks 5 days ago #169980 by Mr. Dam
Replied by Mr. Dam on topic Auto scroll after adding to cart
Hi,
You can open file: root -> media -> com_osservicesbooking -> assets -> js -> ajax.js
Find:
5000 and replace by 10000
Thus, the message will be kept for 10 seconds
Thanks
Dam

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

Moderators: Mr. Dam