This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if($state->search){ | |
$query->where( | |
' ( '. | |
'a.'.$db->qn('title').' LIKE '.$db->q('%'.$state->search.'%').'OR '. | |
'a.'.$db->qn('introtext').' LIKE '.$db->q('%'.$state->search.'%').'OR '. | |
'a.'.$db->qn('fulltext').' LIKE '.$db->q('%'.$state->search.'%').'OR '. | |
$db->qn('#__j2store_products').'.'.$db->qn('j2store_product_id').' LIKE '.$db->q('%'.$state->search.'%').'OR '. | |
$db->qn('#__j2store_products').'.'.$db->qn('product_source').' LIKE '.$db->q('%'.$state->search.'%').'OR '. | |
$db->qn('#__j2store_variants').'.'.$db->qn('sku').' LIKE '.$db->q('%'.$state->search.'%').'AND a.state =1 OR '. | |
$db->qn('#__j2store_variants').'.'.$db->qn('price').' LIKE '.$db->q('%'.$state->search.'%').'AND a.state =1 OR '. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onJ2StoreAfterGetCartItems(&$items) { | |
foreach($items as $key=>$item) { | |
if($item->product_source == 'com_content') { | |
$article = J2Store::article()->getArticle($item->product_source_id); | |
if($article->state != 1) { | |
unset($items[$key]); | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
* @com_j2store - J2Store | |
* @author Sasi varna kumar - 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 | |
--> | |
<form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; | |
$image_counter = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$order = F0FModel::getTmpInstance('Orders', 'J2StoreModel')->initOrder()->getOrder(); | |
$product_list_array = array(21, 23, 35, 38 , 39); | |
$items = $order->getItems(); | |
$module_status = false; | |
foreach($items as $item){ | |
if($item->product_id == 28){ | |
$module_status = false; | |
break; | |
} | |
if(in_array($item->product_id,$product_list_array)){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="option-additional-info option-additional-info-<?php echo $option['product_option_id']; ?>"> | |
<?php if(isset($option_value['pov_short_desc']) && !empty($option_value['pov_short_desc'])): ?> | |
<?php echo $option_value['pov_short_desc']; ?> | |
<?php endif; ?> | |
<?php if(isset($option_value['pov_long_desc']) && !empty($option_value['pov_long_desc'])): ?> | |
<?php echo $option_value['pov_long_desc']; ?> | |
<?php endif; ?> | |
<?php if(isset($option_value['pov_ref']) && !empty($option_value['pov_ref'])): ?> | |
<?php echo $option_value['pov_ref']; ?> | |
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//$html = $this->storeProfile->get('store_billing_layout'); | |
$lang = JFactory::getLanguage()->getTag(); | |
if($lang == 'ja-JP') { | |
//we dont have a profile set in the store profile. So use the default one. | |
$html = '<div class="'.$J2gridRow.'"> | |
<div class="'.$J2gridCol.'6"> [last_name][first_name] [email] [phone_1] [phone_2] [password] [confirm_password]</div> | |
<div class="'.$J2gridCol.'6">[company] [tax_number] [address_1] [address_2] [city] [zip] [country_id] [zone_id]</div> | |
</div>'; | |
}else { | |
$html = '<div class="'.$J2gridRow.'"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if(JFactory::getLanguage()->getTag() == 'ja-JP'): ?> | |
<?php if ($address->j2store_address_id == $this->address_id) : ?> | |
<option value="<?php echo $address->j2store_address_id; ?>" selected="selected"> | |
<?php echo $address->country_name; ?> <?php echo $address->first_name; ?> <?php echo $address->last_name; ?>, <?php echo $address->address_1; ?>, <?php echo $address->city; ?>, <?php echo $address->zip; ?>, <?php echo $address->zone_name; ?> | |
</option> | |
<?php else: ?> | |
<option value="<?php echo $address->j2store_address_id; ?>"> | |
<?php echo $address->country_name; ?> <?php echo $address->first_name; ?> <?php echo $address->last_name; ?>, <?php echo $address->address_1; ?>, <?php echo $address->city; ?>, <?php echo $address->zip; ?>, <?php echo $address->zone_name; ?> | |
</option> |
OlderNewer