Skip to content

internauten/InternautenInfinityScroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

internauteninfinityscroll

Release Workflow Latest Release Release Date Tag License Last Commit Commit Activity Contributors Open Issues Open PRs Stars Forks Repo Size Code Size Top Language PrestaShop PHP Module Type Feature

PrestaShop module that replaces product listing pagination with infinite scroll.

Features

  • Hides default pagination on listing pages
  • Loads next page automatically when user reaches the end of list
  • Requests product pages with n=20 by default to append 20 products per fetch
  • Works on category, search, new products, prices drop, best sales, manufacturer, and supplier pages
  • Includes module configuration in back office
  • Supports theme profiles (auto, generic, classic, hummingbird, warehouse)
  • Allows custom CSS selectors without changing code

Installation

  1. Copy the folder internauteninfinityscroll into your PrestaShop modules/ directory.
  2. Install and enable Internauten Infinity Scroll in back office.
  3. Clear cache (Advanced Parameters -> Performance) if needed.

Notes

  • The module relies on standard pagination markup from modern themes.
  • You can configure all selectors in module settings: no template override is required.

Configuration

Open the module configuration page in back office and set:

  • Products per request: default is 20 (range 1-100)
  • Theme profile: auto-detection or explicit profile
  • Product list selectors: one CSS selector per line
  • Product item selector: single selector or comma-separated selectors
  • Next page link selectors: one CSS selector per line
  • Pagination container selectors: one CSS selector per line

Custom selectors are prioritized. Profile selectors are still used as fallback.

Release and Tags

This repository includes:

  • A GitHub Action that creates releases from valid version tags
  • A helper script to create tags from the module version automatically

Allowed release tags

  • v1.2.3
  • v1.2.3-rc.1

Workflow file: .github/workflows/tag-release.yml

Tag helper script

Script file: scripts/create-tags-from-module-version.sh

The script reads $this->version from internauteninfinityscroll/internauteninfinityscroll.php, creates an annotated tag like v0.0.1, and pushes it to origin.

Examples:

# Validate without creating tags
./scripts/create-tags-from-module-version.sh --dry-run

# Create and push tag v<version>
./scripts/create-tags-from-module-version.sh

# Also create plain tag <version> in addition to v<version>
./scripts/create-tags-from-module-version.sh --also-plain-tag

Safety checks in script

  • Fails if module version is missing or not valid semver (1.2.3 or 1.2.3-rc.1)
  • Fails if target tag already exists
  • Fails on non-dry-run if repository has uncommitted changes

Develope

Dammit die Container bei jedem neuen Modul nicht jedesmal neu erstellt werden müssen, versuchen wir es mit symlinks.

Voraussetzungen: im compose hat es unter volumes einen Eintrag - /home/dmo/internauten:/internauten

Bash ins WSL2 und holen des Repos:

cd ~/internauten
git clone https://github.com/internauten/InternautenInfinityScroll.git

Bash in den Container und dann

ln -s /internauten/InternautenInfinityScroll/internauteninfinityscroll /var/www/html/modules/internauteninfinityscroll

License

This project is licensed under the MIT License. See details LICENSE.

Copyright (c) 2026 die.internauten.ch GmbH

About

PrestaShop module that replaces product listing pagination with infinite scroll.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors