Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
After installation the installer tells me to add the script refs:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery.form/3.50/jquery.form.min.js"></script>
<script type="text/javascript" src="/App_Plugins/teacommerce/assets/scripts/tea-commerce.min.js"></script>
<script type="text/javascript">
_storeId = [fetch the store id from Umbraco here];
</script>
What will that do for me? Is it for the backend, or the frontend? And when do I want to use it on the frontend?
Thanks
Hi Jonas
It is used for the JavaScript API and when you want to post an HTML form using ajax.http://documentation.teacommerce.net/javascript-api/http://documentation.teacommerce.net/html-api/
Kind regardsAnders
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
tea-commerce.min.js - when do I need it?
After installation the installer tells me to add the script refs:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery.form/3.50/jquery.form.min.js"></script>
<script type="text/javascript" src="/App_Plugins/teacommerce/assets/scripts/tea-commerce.min.js"></script>
<script type="text/javascript">
_storeId = [fetch the store id from Umbraco here];
</script>
What will that do for me? Is it for the backend, or the frontend? And when do I want to use it on the frontend?
Thanks
Hi Jonas
It is used for the JavaScript API and when you want to post an HTML form using ajax.
http://documentation.teacommerce.net/javascript-api/
http://documentation.teacommerce.net/html-api/
Kind regards
Anders
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.