### Admin-Bereich ###
Datei admin/shopgate.php erstellen
Inhalt:
<?
require_once ('includes/application_top.php');
include_once DIR_FS_CATALOG.'/shopgate/plugins/gambiogx/admin/shopgate.php';
###
Datei: admin/includes/column_left.php
Zeile: 121
Nach:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['stats_products_purchased'] == '1')) echo '<li class="leftmenu_body_item"><a class="fav_drag_item" id="BOX_PRODUCTS_PURCHASED" href="' . xtc_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, '', 'NONSSL') . '">' . BOX_PRODUCTS_PURCHASED . '</a></li>';
echo ('</ul>');
Einfügen:
/******** SHOPGATE **********/
include_once DIR_FS_CATALOG.'/shopgate/plugins/gambiogx/admin/includes/column_left.php';
/******** SHOPGATE **********/
###
Datei: admin/includes/application_top.php
Zeile: 204
Nach:
define('FILENAME_PROPERTIES','properties.php');
Einfügen:
/******** SHOPGATE **********/
define('FILENAME_SHOPGATE', 'shopgate.php');
/******** SHOPGATE **********/
Zeile: 330:
Nach:
//GM_MOD EOF
Einfügen:
/******** SHOPGATE **********/
require_once (DIR_FS_CATALOG . 'shopgate/plugins/gambiogx/includes.php');
/******** SHOPGATE **********/
###
Datei: admin/includes/functions/general.php
Zeile: 1193
Nach:
xtc_db_query("delete from ".TABLE_ORDERS_TOTAL. " where orders_id = '".xtc_db_input($order_id)."'");
Einfügen:
/******** SHOPGATE **********/
xtc_db_query("delete from ".TABLE_SHOPGATE_ORDERS. " where orders_id = '".xtc_db_input($order_id)."'");
/******** SHOPGATE **********/
###
Datei: admin/orders.php
Zeile: 82
Nach:
case 'gm_multi_status':
Einfügen:
include_once DIR_FS_DOCUMENT_ROOT.'/shopgate/plugins/gambiogx/update_order.php';
Zeile: 174
Nach:
if ($order_updated) {
Einfügen:
setShopgateOrderlistStatus($_POST['gm_multi_status'], $gm_status);
Zeile: 264
Nach:
if ($order_updated) {
Einfügen:
include_once DIR_FS_DOCUMENT_ROOT.'/shopgate/plugins/gambiogx/update_order.php';
setShopgateOrderStatus($oID, $status);
###
Datei lang/german/admin/german.php
Zeiel:170
Nach:
define('BOX_PROPERTIES','Artikeleigenschaften');
Einfügen:
/******* SHOPGATE **********/
include_once DIR_FS_CATALOG.'/shopgate/plugins/gambiogx/lang/german/admin/german.php';
/******* SHOPGATE **********/
###
### QR-Box Initialisieren
###
system/views/product_info/ProductInfoContentView.inc.php : Zeile 74
nach
function get_html($p_coo_product, $p_current_category_id = 0)
{
Einfügen:
include_once dirname(__FILE__).'/../../../shopgate/templates/includes/shopgate_qr_box.php';
if(function_exists("drawShopgateQR")) {
$this->init_smarty();
drawShopgateQR($this->v_coo_smarty, $p_coo_product);
}
###
### QR-Box anzeigen
###
templates/IHR-TEMPLATE/module/product_info/standard.html
Dort an geeigneter stelle folgende eintragen:
{$SHOPGATE_QR_BOX}
###
### Mobile Header
###
includes/header.php : Zeile 35
nach
<head>
Einfügen:
<?php
include_once dirname(__FILE__).'/../shopgate/templates/includes/shopgate_mobile_redirect.php';
drawShopgateMobilBanner();
?>
################################################
Datenbank:
CREATE TABLE `orders_shopgate_order` (
`shopgate_order_id` int(11) NOT NULL AUTO_INCREMENT,
`orders_id` int(11) NOT NULL,
`shopgate_order_number` bigint(20) NOT NULL,
`last_response` text NOT NULL,
`modified` datetime DEFAULT NULL,
`created` datetime DEFAULT NULL,
PRIMARY KEY (`shopgate_order_id`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
ALTER TABLE `admin_access` ADD `shopgate` INT( 1 ) NOT NULL DEFAULT 0;
UPDATE `admin_access` SET `shopgate` = 1 WHERE customers_id = 1;| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| admin/ | 2013-11-12 21:10 | 29.02 KB | 76129f60960:kunden | dxwrx-rx-r | |
| includes/ | 2013-11-12 21:10 | 3.02 KB | 76129f60960:kunden | dxwrx-rx-r | |
| lang/ | 2013-11-12 21:10 | 3.3 KB | 76129f60960:kunden | dxwrx-rx-r | |
| system/ | 2013-11-12 21:10 | 660 B | 76129f60960:kunden | dxwrx-rx-r | |
| db_install.sql | 2013-11-12 21:09 | 521 B | 76129f60960:kunden | -xw-x----- | |
| default_config.php | 2013-11-12 21:09 | 474 B | 76129f60960:kunden | -xw-x----- | |
| gambiogx.diff | 2013-11-12 21:09 | 10.23 KB | 76129f60960:kunden | -xw-x----- | |
| includes.php | 2013-11-12 21:09 | 390 B | 76129f60960:kunden | -xw-x----- | |
| install.php | 2013-11-12 21:09 | 512 B | 76129f60960:kunden | -xw-x----- | |
| install_1.txt | 2013-11-12 21:09 | 4.97 KB | 76129f60960:kunden | -xw-x----- | |
| install_2.txt | 2013-11-12 21:09 | 3.66 KB | 76129f60960:kunden | -xw-x----- | |
| order_status.php | 2013-11-12 21:09 | 901 B | 76129f60960:kunden | -xw-x----- | |
| update_order.php | 2013-11-12 21:09 | 4.19 KB | 76129f60960:kunden | -xw-x----- | |