We should include an optional argument in the getProductImages snippet so a user can include a custom JS file and/or add custom text to the document head. The snippet will need to provide some sort of access to the regClientStartupScript and/or regClientStartupHTMLBlock and similar functions.
You will also need to update the sample product template so it uses this updated version of the snippet: the template should not hard-code the JS library used. Instead, include the required JS files as argument(s) to this Snippet.
We should include an optional argument in the getProductImages snippet so a user can include a custom JS file and/or add custom text to the document head. The snippet will need to provide some sort of access to the regClientStartupScript and/or regClientStartupHTMLBlock and similar functions.
See http://rtfm.modx.com/revolution/2.x/developing-in-modx/basic-development/snippets/adding-css-and-js-to-your-pages-through-snippets
Please update the https://github.com/craftsmancoding/moxycart/wiki/getProductImages
You will also need to update the sample product template so it uses this updated version of the snippet: the template should not hard-code the JS library used. Instead, include the required JS files as argument(s) to this Snippet.