Skip to content

Generate Cacheable Templates to use with FoxyStripe and the FoxyCart checkout

Notifications You must be signed in to change notification settings

dynamic/foxystripe-cacheable-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • Receipt
  • Email

To 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.

About

Generate Cacheable Templates to use with FoxyStripe and the FoxyCart checkout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published