Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class ProductController extends ProductControllerCore
- {
- public function setMedia()
- {
- parent::setMedia();
- if (count($this->errors)) {
- return;
- }
- $this->addCSS(_THEME_CSS_DIR_.'product.css');
- $this->addJqueryPlugin(array('fancybox', 'idTabs'));
- $this->addJS(array(
- _THEME_JS_DIR_.'product.js'
- ));
- if (Configuration::get('PS_DISPLAY_JQZOOM') == 1) {
- $this->addJqueryPlugin('jqzoom');
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement