https://github.com/dynamic/foxystripe-cacheable-templates
Generate Cacheable Templates to use with FoxyStripe and the FoxyCart checkout
https://github.com/dynamic/foxystripe-cacheable-templates
Last synced: 3 months ago
JSON representation
Generate Cacheable Templates to use with FoxyStripe and the FoxyCart checkout
- Host: GitHub
- URL: https://github.com/dynamic/foxystripe-cacheable-templates
- Owner: dynamic
- Created: 2014-12-05T23:41:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-16T21:39:18.000Z (over 10 years ago)
- Last Synced: 2025-02-09T20:26:08.806Z (5 months ago)
- Language: PHP
- Size: 152 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### FoxyStripe Cacheable Templates
Cacheable templates allow you to customize the design of your checkout using your SilverStripe theme. We've included Simple theme templates for the following:
* Cart
* Checkout
* ReceiptTo enable Cacheable Templates for FoxyCart in FoxyStripe:
1. In CMS > Settings > Templates:
* Click `Cached Cart Page Settings`
* Click `Enable link to cache cart page template`
* Copy `Cart Cache Link` to your clipboard - `https://myfoxystripestore.com/generateCache/cart`
2. in FoxyCart > Templates > Cart:
* Your cart template url: paste value from FoxyStripe
* click `cache your url`
* on page refresh, click `Update Template` to save your changes.Repeat these steps for Checkout, Receipt and Email.
Note - if using the Simple theme, you may need to edit the script call for HTML5shiv in `themes/simple/templates/Page.ss`. Make sure all script addresses have either an 'http' or 'https' to avoid caching errors.