This repository contains templates, partials, assets and scripts to help you quickly get started with Padloper 2.
A copy of Padloper 2.
This is not meant to be a full-blown site. In addition, the styling is incomplete and the original images need to be optimised.
Add everything inside your /site/templates/
MORE TBD
See /partials/
folder for templates rendered as partials in other templates. Also see function getPartialTemplate()
in _func.php
The /padloper/
are custom Padloper template render files specifically for checkout process.
Enable URL Segments on the products
and categories
templates.
TBD
/images/
folder contains images (hardcoded for now) for the slider on the homepage.
TBD
- htmx
- alpine.js
@note: above two from CDN @see _main.php
@see home.php for how htmx requests of cart manipulation are handled.
@see main.js
for setting alpine.js and htmx configs. Also for handling htmx or jQuery ajax requests.
TBD
Tailwind CSS
@TODO: CSS needs minification and maybe could have done more purging?
TBD
You need to create a products and a categories page under your root page (home). They should use the similarly named templates respectively.
The template files for above pages are:
products.php
-> for all or single product
categories.php
-> for all or single category
You will also need a checkout page. Please follow the instructions in the Padloper documentation for setting that up.
@note: shop pages (exports), e.g. products not (yet?) included in this repo.
TBD
TBD