* @contact support+paycart@readybytes.in * @author Manish Trivedi */ /** * List of Populated Variables * $displayData = have all required data * $displayData->return_link // link after logout * */ // no direct access defined('_JEXEC') or die; // load bootsrap, font-awesome Rb_HelperTemplate::loadSetupEnv(); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/paycart.js'); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.js'); Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.css'); if (!function_exists('pc_mod_product_style')) { ?> <?php function pc_mod_product_style() { ?> <?php static $pc_mod_product_loaded = false; ?> <?php if ($pc_mod_product_loaded == false) { ?> <style> .pc-module-product{
* */ // no direct access defined('_JEXEC') or die; // load bootstrap, font-awesome $config = PaycartFactory::getConfig(); $load = array('jquery', 'rb', 'font-awesome'); if ($config->get('template_load_bootstrap', false)) { $load[] = 'bootstrap'; } Rb_HelperTemplate::loadMedia($load); Rb_HelperTemplate::loadSetupEnv(); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/paycart.js'); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.js'); Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/owl.carousel.css'); Rb_Html::stylesheet('mod_paycart_product/style.css', array()); ?> <script> (function($){ $(document).ready(function() { $("#pc-mod-products-<?php echo $module->id; ?> ").owlCarousel({ autoPlay: false, //Set AutoPlay to 3 seconds items : <?php echo $params->get('xl_cols', 5);
<?php /** * @copyright Copyright (C) 2009 - 2012 Ready Bytes Software Labs Pvt. Ltd. All rights reserved. * @license GNU/GPL, see LICENSE.php * @package PAYCART * @subpackage Front-end * @contact team@readybytes.in */ // no direct access defined('_JEXEC') or die('Restricted access'); Rb_HelperTemplate::loadSetupEnv(); // load bootsrap, font-awesome Rb_HelperTemplate::loadMedia(array('jquery', 'bootstrap', 'rb', 'font-awesome')); Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/paycart.css'); Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/site.css'); Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/override.css'); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/paycart.js'); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/salvattore.js'); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/site.js');
<?php /** * @copyright Copyright (C) 2009 - 2012 Ready Bytes Software Labs Pvt. Ltd. All rights reserved. * @license GNU/GPL, see LICENSE.php * @package PAYCART * @subpackage Front-end * @contact support+paycart@readybytes.in * @author rimjhim jain */ // no direct access defined('_JEXEC') or die('Restricted access'); //load assests that are required before loading related templates Rb_Html::stylesheet(PAYCART_PATH_CORE_MEDIA . '/slider.css'); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/bootstrap-slider.js'); Rb_Html::script(PAYCART_PATH_CORE_MEDIA . '/salvattore.js'); echo $this->loadTemplate('filter_js'); echo $this->loadTemplate('filter_css'); ?> <script type="text/javascript"> (function($){ $(document).ready(function(){ paycart.product.filter.init('<?php echo isset($searchWord) ? urlencode($searchWord) : ''; ?> ','<?php echo isset($filters) && !empty($filters) ? json_encode($filters) : ''; ?> '); });