Ability to inject custom JS
parent
0d44ce7cbb
commit
bc3e33dbb5
|
@ -61,6 +61,9 @@
|
||||||
"googleAnalytics": {
|
"googleAnalytics": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"injectJs": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"customCss": {
|
"customCss": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
"menuTitle": "Menu",
|
"menuTitle": "Menu",
|
||||||
"footerHtml": "<h4 class="text-center">Powered by expressCart</h4>",
|
"footerHtml": "<h4 class="text-center">Powered by expressCart</h4>",
|
||||||
"googleAnalytics": "",
|
"googleAnalytics": "",
|
||||||
|
"injectJs": "",
|
||||||
"customCss": ".footer{padding-top: 5px;}",
|
"customCss": ".footer{padding-top: 5px;}",
|
||||||
"currencySymbol": "£",
|
"currencySymbol": "£",
|
||||||
"paymentGateway": "stripe",
|
"paymentGateway": "stripe",
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
{{#if config.injectJs}}{{{config.injectJs}}}{{/if}}
|
||||||
<title>{{config.cartTitle}} - {{title}}</title>
|
<title>{{config.cartTitle}} - {{title}}</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
Loading…
Reference in New Issue