Home Forums WoodMart support forum Product category arrow doesn’t redirect back to parent w/ infinite scroll

Product category arrow doesn’t redirect back to parent w/ infinite scroll

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #588254

    support-5321
    Participant

    We are using infinite scroll. Our product category pages have a back arrow next to the product category title, after loading pages of products using the arrow redirects back to the previous url not the parent category.

    Steps to reproduce:

    1. Enable infinite scrolling.
    2. Enable keep page in URL
    3. go to a nested product category page
    4. load 2-3 pages of products
    5. scroll to the top and click the arrow next to the Product category title
    6. Notice the URL keeps changing to the previous pages instead of going to the product parent category.
    #588533

    Artem Temos
    Keymaster

    Hello,

    To fix this issue, try to replace the following list of files in the theme folder with files from the archive https://drive.google.com/file/d/1WuVRyt723H1EZ3PaC_jE2kpDRflmrXAR/view?usp=sharing

    js/scripts/global/backHistory.js
    js/scripts/global/backHistory.min.js
    js/scripts/wc/productsLoadMore.js
    js/scripts/wc/productsLoadMore.min.js

    Kind Regards

    #589177

    support-5321
    Participant

    These files go in the woodmart-child/ folder right?

    #589196

    Artem Temos
    Keymaster

    These files should replace original parent theme JS files, not in the child theme.

    #589222

    support-5321
    Participant

    Alright thank you.
    Won’t a theme update overwrite the files?
    In the case of an update should we still replace these files? A permanent solution would be much appreciated.

    #589235

    Artem Temos
    Keymaster

    We are going to find some workaround or fix till the next update so you don’t need to worry about that.

Viewing 6 posts - 1 through 6 (of 6 total)