Home › Forums › WoodMart support forum › Previous to Back Page
Previous to Back Page
- This topic has 9 replies, 2 voices, and was last updated 3 years, 9 months ago by Elise Noromit.
-
AuthorPosts
-
February 22, 2021 at 6:03 pm #268462
ajay_odedaraParticipantI have implemented Back to previous button on product page – http://prnt.sc/1040krv
code – http://prnt.sc/1040wb8When I implemented this button, there was a products pagination so if user is on a 4th page and than visit a product page from the 4th page than when he clicks on back to previous button he comes back to 4th page. It was working fine with products pagination but now I have changed the pagination to infinite scrolling and back to previous button takes me to the starting of page instead of taking me where I was before)
It’s not user convenient because let’s say user has scrolled down to 200 products and than visit a product page and when click on back to previous he comes to the 36 products and not to the 200 products.
Can you tell me how do resolve this?
February 23, 2021 at 10:52 am #268634
Elise NoromitMemberHello,
Please remove the changed code and use the initial that worked properly. You say you have changed the pagination to infinite scrolling, remove the change.
Best Regards
March 4, 2021 at 11:04 am #270922
ajay_odedaraParticipantNo, if I keep the pagination it redirects to another page which takes time and anyway it’s not a good practice, I don’t understand why do you suggest pagination over load more or infinite scrolling.
I want that “back to previous page” to work with load more option. Is there any way I can achieve that?
March 4, 2021 at 5:19 pm #271029
Elise NoromitMemberHello,
For now, we do not have the solution, however, we are going to add the feature in the nearest update: as soon as the products have been uploaded by means of infinite scrolling, the page URL would be changed accordingly and the visitor would be able to get back to the page where he was.
Best Regards
March 5, 2021 at 12:57 pm #271261
ajay_odedaraParticipantWhen you would be launching a new update? And if we update the current theme to a newer version would it affect my current data?
If possible, can you give us a hint on how do we achieve something like this if we want to achieve it through customization from our end?
The hint will be highly appreciated please as we don’t want to wait till next update.
March 5, 2021 at 4:21 pm #271303
Elise NoromitMemberHello,
If you add custom php to the functions.php of the child theme, all the customization would remain the same.
CSS should be added to the Theme Settings > Custom CSS,
JS should be added to the Theme Settings > Custom JS.
Then you will update the parent theme and all the modifications would remain, please make the full backup of your site in any case.
Best Regards
March 5, 2021 at 7:45 pm #271318
ajay_odedaraParticipantWhen you would be launching a new update with discussed feature?
March 5, 2021 at 10:25 pm #271337
Elise NoromitMemberHello,
We expect the new release by the end of the month, the latest.
Best Regards
March 8, 2021 at 8:49 pm #271955
ajay_odedaraParticipantWould you please be able to commit that you will implement a feature in your next update where as soon as the products have been uploaded by means of infinite scrolling/load more products, the page URL would be changed accordingly and the visitor would be able to get back to the page where he was before.
March 9, 2021 at 10:17 am #272076
Elise NoromitMemberHello,
We confirm this feature would be added to the nearest update.
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register