Showing posts with label How to add css and js file in head section opencart. Show all posts
Showing posts with label How to add css and js file in head section opencart. Show all posts

Saturday, 4 November 2017

How to add css and js file in head section opencart


Include Css file code:

$this->document->addStyle('catalog/view/theme/themename/stylesheet/product.css');


Include Js file code:

$this->document->addScript('catalog/view/theme/themename/js/product.js');

Friday, 10 February 2017

How to add css and js file in head section opencart


How to add css and js file in head section opencart

Include Css file code:

$this->document->addStyle('catalog/view/theme/themename/stylesheet/product.css');


Include Js file code:

$this->document->addScript('catalog/view/theme/themename/js/product.js');