Add My Product
==== As part of a language/currency selector ====
Commonly, when working with [[v:2.0:i18n|multilingual]] or [[v:2.0:multicurrency|mulitcurrency]] stores - you'll have some form of language or currency selection for customers on your website. This could be simply add to cart requests like above:
With using straight HTML like that - the links will trigger the cart to show. If you want to perform the template set change in the background, you can perform a [[v:2.0:json|JSONP]] cart request in the background based on that selection to switch the cart's template set for the customers session. Include this code on your website with your existing javascript (for example, right before the closing ''