Skip to main content

Templates

These action hooks can be added to your theme's functions.php file.

products-all.php

Please first read our Template Overriding guide.

This template controls the default product "all" page. This is the page set for the default /products and /collections URLs.

Will only run when Sync posts is turned on.

How to override

Copy from: shopwp-pro/public/templates/products-all.php
Copy to: <your-theme>/wps-templates/products-all.php

products-single.php

Please first read our Template Overriding guide.

This template controls the product single pages. Will only run when Sync posts is turned on.

How to override

Copy from: shopwp-pro/public/templates/products-single.php
Copy to: <your-theme>/wps-templates/products-single.php

collections-all.php

Please first read our Template Overriding guide.

This template controls the default collection "all" page. This is the page set for the default /products and /collections URLs.

Will only run when Sync posts is turned on.

How to override

Copy from: shopwp-pro/public/templates/collections-all.php
Copy to: <your-theme>/wps-templates/collections-all.php

collections-single.php

Please first read our Template Overriding guide.

This template controls the collection single pages. Will only run when Sync posts is turned on.

How to override

Copy from: shopwp-pro/public/templates/collections-single.php
Copy to: <your-theme>/wps-templates/collections-single.php