Blog Sections Open
Using splitPagination to Reshape Ditto Page Links
Default Ditto pagination is serviceable, but many projects want more control over the HTML structure, classes, and page-link behavior. The splitPagination helper was designed for exactly that. Base Pagination Placeholder
Default Ditto pagination is serviceable, but many projects want more control over the HTML structure, classes, and page-link behavior. The splitPagination helper was designed for exactly that.
Base Pagination Placeholders
[+previous+] [+pages+] [+next+]
Adjusted Pattern
[[splitPagination]] [+previous+] [+splitPages+] [+next+]
That small change gives the template more control over pagination classes such as first, last, and current-page states.
Why It Is Useful
- cleaner CSS hooks
- more flexible pagination markup
- less need to rewrite the full listing snippet
When pagination styling is the real problem, a focused helper is often a better fix than trying to replace the entire archive logic.
Updating TV Values from Shopkeeper During Frontend Events
How an OnSHKFrontendInit plugin can inspect cart data and update related TV values, and why this should be designed carefully.
Sending HTML Cart Emails with eForm
How to configure eForm for HTML cart emails and inject item table markup into the final report message cleanly.