Documentation You are here: start » snippets
no way to compare when less than two revisions

Differences

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


Previous revision
Next revision
snippets:start [2012/08/08 14:42] foxyfred
Line 1: Line 1:
 +{{:cat-snippets.png|Snippets}}
 +
 +===== Advanced Code Snippets with Reference to Forum Posts =====
 +
 +
 +<note important>
 +Please note that advanced manipulation of the cart or checkout via javascript is //not supported// by FoxyCart, and //you can break things// causing lost orders, errors, and global catastrophe. The links here are provided for reference, and they very likely //will not work// without tinkering requiring at least intermediate javascript knowledge.
 +</note>
 +
 +===== Shipping Snippets=====
 +
 +<WRAP center round important 60%>
 +Note that applying javascript shipping modifications using either live or flat rates where you are setting custom values has been found to not work as expected for subscription based products where you need the shipping to apply to each subscription renewal. We are currently working on a fix for this issue for version 0.7.2+
 +</WRAP>
 +
 +---- datatable ----
 +cols    :   name,%pageid% , versions_tag
 +headers : Name,Link, Supported versions
 +filter  : category=shipping
 +sort    : ^category
 +----
 +
 +
 +
 +===== "Add to Cart" Form Snippets =====
 +---- datatable ----
 +cols    : name,%pageid% , versions_tags
 +headers : Name,Link, Supported versions
 +max     : 30
 +filter  : category=Add to cart form
 +sort    : ^category
 +----
 +
 +===== Tax Tips and Tricks =====
 +---- datatable ----
 +cols    : name,%pageid% , versions_tags
 +headers : Name,Link, Supported versions
 +max     : 30
 +filter  : category=Tax tips and tricks
 +sort    : ^category
 +----
 +
 +
 +===== Miscellaneous Cart and Checkout =====
 +---- datatable ----
 +cols    : name,%pageid% , versions_tags
 +headers : Name,Link, Supported versions
 +max     : 30
 +filter  : category=Misc cart and checkout
 +sort    : ^category
 +----
 +
 +
 +===== Checkout =====
 +---- datatable ----
 +cols    : name,%pageid% , versions_tags
 +headers : Name,Link, Supported versions
 +max     : 30
 +filter  : category=checkout
 +sort    : ^category
 +----
 +
 +===== Receipt=====
 +---- datatable ----
 +cols    : name,%pageid% , versions_tags
 +headers : Name,Link, Supported versions
 +max     : 30
 +filter  : category=receipt
 +sort    : ^category
 +----
 +
 +===== Multiple Store / Session / Cookie Tweaks=====
 +---- datatable ----
 +cols    : name,%pageid% , versions_tags
 +headers : Name,Link, Supported versions
 +max     : 30
 +filter  : category=Multiple store
 +sort    : ^category
 +----
 +
 +{| class="clouds"
 +|-
 +! Filter by Category
 +! Filter by Versions
 +|-
 +|
 +---- datacloud ----
 +field : category
 +min : 1
 +limit : 50
 +filter : type=snippet
 +----
 +|
 +---- datacloud ----
 +field : versions_tags
 +min : 1
 +limit : 70
 +filter : type=snippet
 +----
 +|}
  

Site Tools