Skip to content

Instantly share code, notes, and snippets.

View sowbagyalakshmi's full-sized avatar

sowbagyalakshmi

View GitHub Profile
@sowbagyalakshmi
sowbagyalakshmi / default.php
Created December 2, 2019 10:55
To remove text within the search module -#20282
<?php
/*------------------------------------------------------------------------
# mod_j2store_search - J2Store Search
# ------------------------------------------------------------------------
# author Gokila Priya - Weblogicx India http://www.weblogicxindia.com
# copyright Copyright (C) 2014 - 19 Weblogicxindia.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://j2store.org
# Technical Support: Forum - http://j2store.org/forum/index.html
-------------------------------------------------------------------------*/
@sowbagyalakshmi
sowbagyalakshmi / default_filters.php
Created April 18, 2018 12:15
Script for toggling the category filters on mobile view while it is open in the desktop view.
(function($) {
$(window).resize(function(e) {
if ($(window).width() <= 768) {
$('#cat-filter-icon-plus').show();
$('#cat-filter-icon-minus').hide();
$('#j2store_category').hide();
}
});
$(document).ready(function(){
$(window).resize();
<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly
if (!isset($table_data) || empty($table_data)) return false;
$base_config = (is_string($data)) ? json_decode($data, true) : (is_array($data) ? $data : array());
global $product;
$product_price = $product->get_price();
?>
<table>
<thead>
<tr>
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/
// No direct access
defined('_JEXEC') or die;
$app = JFactory::getApplication();
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*
* Bootstrap 2 layout of products
*/
// No direct access
defined('_JEXEC') or die;
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/
// No direct access to this file
defined('_JEXEC') or die;
class J2StoreModelMyProfiles extends F0FModel {
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/
// No direct access to this file
defined ( '_JEXEC' ) or die ();
$order = $this->order;
$items = $this->order->getItems();
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
* This file is for email.
*/
// No direct access to this file
defined ( '_JEXEC' ) or die ();
$order = $this->order;
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/
// No direct access to this file
defined ( '_JEXEC' ) or die ();
$order = $this->order;
$items = $this->order->getItems();
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/
// No direct access to this file
defined('_JEXEC') or die;
?>
<table class="j2store-cart-table table table-bordered">