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