Documentation You are here: start » v » 1.0 » templates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v:1.0:templates [2012/09/19 23:12] – adding note about putting href before rel in link tags foxybrettv:1.0:templates [2017/04/26 07:02] (current) – external edit 127.0.0.1
Line 39: Line 39:
     - Hit the "update template" button at the bottom of the page //after// the page has reloaded and you've received the green success box. If you'd like, you can copy the cached code and review/modify it (though if you have to modify it, it's probably a bug that we'd love to fix if you [[http://www.foxycart.com/bug-report-because-bugs-happen.html|let us know]]).     - Hit the "update template" button at the bottom of the page //after// the page has reloaded and you've received the green success box. If you'd like, you can copy the cached code and review/modify it (though if you have to modify it, it's probably a bug that we'd love to fix if you [[http://www.foxycart.com/bug-report-because-bugs-happen.html|let us know]]).
   - Test your template. Try something like this to go directly to checkout: ''http://YOURDOMAIN.foxycart.com/cart?name=blah&price=10&cart=checkout''   - Test your template. Try something like this to go directly to checkout: ''http://YOURDOMAIN.foxycart.com/cart?name=blah&price=10&cart=checkout''
 +  - Keep the template and its associated files (images and CSS) on the server at the specified URLs.
  
 ==== Advanced Customizations for Advanced Fun ==== ==== Advanced Customizations for Advanced Fun ====
Line 142: Line 143:
 === Allowed Twig Tags and Functionality === === Allowed Twig Tags and Functionality ===
 At present, the only allowed functionality for Twig is as follows: At present, the only allowed functionality for Twig is as follows:
-  * Tags: ''if'', ''for'', ''include'', ''macro'', ''block''+  * Tags: ''if'', ''for'', ''include'', ''macro'', ''block'', ''set''
   * Filters: ''escape'', ''raw'', ''length''   * Filters: ''escape'', ''raw'', ''length''
 ===== Default Template Styles ===== ===== Default Template Styles =====

Site Tools