Commit db6a6eb8 authored by Vasily Bezruchkin's avatar Vasily Bezruchkin

Copyrights updated.

parent 5142cdc6
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaBackendController extends iaAbstractControllerModuleBackend
{
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaBackendController extends iaAbstractControllerModuleBackend
{
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaBackendController extends iaAbstractControllerModuleBackend
{
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
$iaCart = $iaCore->factoryModule('cart', IA_CURRENT_MODULE);
$iaProduct = $iaCore->factoryModule('product', IA_CURRENT_MODULE);
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
if (iaView::REQUEST_HTML == $iaView->getRequestType()) {
$iaView->display('checkout');
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
if (iaView::REQUEST_HTML == $iaView->getRequestType()) {
if (1 != count($iaCore->requestPath)) {
......
<?php
/******************************************************************************
*
* Subrion Web Directory Script
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion Web Directory Script.
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
......@@ -13,8 +13,6 @@
* the permission of Subrion respective owners.
*
*
* @link https://subrion.pro/product/directory.html
*
******************************************************************************/
class iaCategory extends iaAbstractHelperCategoryFlat
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaOrder extends abstractModuleAdmin
{
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaProduct extends abstractModuleAdmin
{
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaNotification extends abstractCore
{
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaCart extends abstractModuleFront
{
......
<?php
/******************************************************************************
*
* Subrion Yellow Pages & Business Directory Software
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion Yellow Pages & Business Directory Software.
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
......@@ -13,8 +13,6 @@
* the permission of Subrion respective owners.
*
*
* @link https://subrion.pro/product/yellow-pages-script.html
*
******************************************************************************/
class iaCategory extends iaAbstractFrontHelperCategoryFlat
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
class iaOrder extends abstractModuleFront
{
......
<?php
/******************************************************************************
*
* Subrion Yellow Pages & Business Directory Software
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion Yellow Pages & Business Directory Software.
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
......@@ -13,8 +13,6 @@
* the permission of Subrion respective owners.
*
*
* @link https://subrion.pro/product/yellow-pages-script.html
*
******************************************************************************/
class iaProduct extends abstractModuleFront
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
if (iaView::REQUEST_HTML == $iaView->getRequestType()) {
$iaView->add_js('_IA_URL_modules/commerce/js/commerce, _IA_URL_modules/commerce/js/app');
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
if ($iaView->url && 'commerce' == $iaCore->get('default_package')) {
switch ($iaView->get('extension')) {
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
if (iaView::REQUEST_HTML == $iaView->getRequestType()) {
$iaProduct = $iaCore->factoryModule('product', IA_CURRENT_MODULE);
......
......@@ -5,7 +5,7 @@
<author>Intelliants LLC</author>
<contributor>Intelliants LLC</contributor>
<version>1.0.0</version>
<date>2017-07-02</date>
<date>2017-08-23</date>
<compatibility>4.1.5</compatibility>
<url>shop</url>
......
$(function()
{
$('#js-cmd-add-cart').on('click', function(){
intelli.commerce.cart('add', $('#input-id').val(), null, {quantity: $('#input-qty').val()}, null,
function(response){
if (response.result){
$('.js-cart-placeholder-count').html(response.count)
$('.js-cart-placeholder-total').html(response.total)
$('#js-cart-contents').html(response.html)
}
$(function () {
$('#js-cmd-add-cart').on('click', function () {
intelli.commerce.cart('add', $('#input-id').val(), null, {quantity: $('#input-qty').val()}, null,
function (response) {
if (response.result) {
$('.js-cart-placeholder-count').html(response.count)
$('.js-cart-placeholder-total').html(response.total)
$('#js-cart-contents').html(response.html)
}
intelli.notifFloatBox({msg: response.message, type: response.result ? 'success' : 'error'})
}
)
})
}
)
})
})
\ No newline at end of file
<form method="post" enctype="multipart/form-data" class="sap-form form-horizontal">
{preventCsrf}
<input type="hidden" id="input-id" value="{$id}">
{preventCsrf}
<input type="hidden" id="input-id" value="{$id}">
{if iaCore::ACTION_EDIT == $pageAction}
<input id="input-id" type="hidden" value="{$id}">
......
<form method="post" enctype="multipart/form-data" class="sap-form form-horizontal">
{preventCsrf}
{preventCsrf}
<div class="wrap-list">
<div class="wrap-group">
......
......@@ -94,11 +94,9 @@
</form>
{ia_hooker name='smartyAdminSubmitItemBeforeFooter'}
{ia_add_js}
$(function()
{
$('.js-cmd-delete').on('click', function(e)
{
confirm(_t('do_you_want_to_remove_order')) || e.preventDefault();
});
$(function() {
$('.js-cmd-delete').on('click', function(e) {
confirm(_t('do_you_want_to_remove_order')) || e.preventDefault();
});
});
{/ia_add_js}
\ No newline at end of file
<div class="ia-sorting">
<div class="ia-sorting__by">
<span>{lang key='sort_by'}:</span>
<div class="btn-group">
<a class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" href="#">
{lang key="sorting_option_{$sorting.key}"}
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
{foreach $sorting.options as $option}
<li><a href="{$smarty.const.IA_SELF}?sort_by={$option}" rel="nofollow">{lang key="sorting_option_{$option}"}</a></li>
{/foreach}
</ul>
</div>
</div>
<div class="ia-sorting__layout">
</div>
<div class="ia-sorting__by">
<span>{lang key='sort_by'}:</span>
<div class="btn-group">
<a class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" href="#">
{lang key="sorting_option_{$sorting.key}"}
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
{foreach $sorting.options as $option}
<li><a href="{$smarty.const.IA_SELF}?sort_by={$option}" rel="nofollow">{lang key="sorting_option_{$option}"}</a></li>
{/foreach}
</ul>
</div>
</div>
<div class="ia-sorting__layout">
</div>
</div>
\ No newline at end of file
{if $commerce.priorityCategories}
<ul>
{foreach $commerce.priorityCategories as $entry}
<li>
<h5>{$entry.title|escape}</h5>
<a href="{$entry.link}">{lang key='browse'}</a>
</li>
{/foreach}
{foreach $commerce.priorityCategories as $entry}
<li>
<h5>{$entry.title|escape}</h5>
<a href="{$entry.link}">{lang key='browse'}</a>
</li>
{/foreach}
</ul>
{/if}
{if isset($subcategories)}
<ul>
{foreach $subcategories as $entry}
<li>
<a href="{$entry.link}">{$entry.title|escape}</a>
</li>
{/foreach}
</ul>
<ul>
{foreach $subcategories as $entry}
<li>
<a href="{$entry.link}">{$entry.title|escape}</a>
</li>
{/foreach}
</ul>
{/if}
\ No newline at end of file
{if $items}
{include 'extra:commerce/_sorting-header'}
{include 'extra:commerce/_sorting-header'}
<div class="cards products">
<div class="row">
{foreach $items as $item}
<div class="col-md-4">
{include 'extra:commerce/list'}
</div>
{if $item@iteration % 3 == 0 && !$item@last}
</div>
<div class="row">
{/if}
{/foreach}
</div>
</div>
<div class="cards products">
<div class="row">
{foreach $items as $item}
<div class="col-md-4">
{include 'extra:commerce/list'}
</div>
{if $item@iteration % 3 == 0 && !$item@last}
</div>
<div class="row">
{/if}
{/foreach}
</div>
</div>
{navigation aTotal=$pagination.total aTemplate=$pagination.url aItemsPerPage=$pagination.limit}
{navigation aTotal=$pagination.total aTemplate=$pagination.url aItemsPerPage=$pagination.limit}
{else}
<div class="alert alert-info">{lang key='no_products'}</div>
<div class="alert alert-info">{lang key='no_products'}</div>
{/if}
\ No newline at end of file
<tr>
<td>
<strong><a href="{$item.link}">{$item.title|escape}</a></strong>
</td>
<td><strong><a href="{$item.link}">{$item.title|escape}</a></strong></td>
<td>{$item.price_formatted}</td>
<td><span class="label label-info">{$item.qty}x</span></td>
<td class="text-right">{($item.price * $item.qty)|currency_format}</td>
......
<?php
//##copyright##
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
$iaProduct = $iaCore->factoryModule('product', IA_CURRENT_MODULE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment