<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=79.222.8.246</id>
	<title>Wikizone - Benutzerbeiträge [de]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=79.222.8.246"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Spezial:Beitr%C3%A4ge/79.222.8.246"/>
	<updated>2026-05-09T08:50:40Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=Poolcorner&amp;diff=19193</id>
		<title>Poolcorner</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Poolcorner&amp;diff=19193"/>
		<updated>2012-07-02T08:18:44Z</updated>

		<summary type="html">&lt;p&gt;79.222.8.246: /* Attribute werden nicht gespeichert */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installiert =&lt;br /&gt;
&lt;br /&gt;
==Domnowski==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EOS-Iframe==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Attribute_price_updater==&lt;br /&gt;
&lt;br /&gt;
http://www.xtc-modified.org/forum/index.php?topic=2122.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
ATTRIBUTE PRICE UPDATER&lt;br /&gt;
VERS 0.90 RC4 for XTC MODIFIED &lt;br /&gt;
(c) by web28 - www.rpa-com.de&lt;br /&gt;
&lt;br /&gt;
based on a script by D Parry (Chrome) 2007 (dan@virtuawebtech.co.uk)&lt;br /&gt;
&lt;br /&gt;
FUNKTIONWEISE:&lt;br /&gt;
&lt;br /&gt;
Der ATTRIBUTE PRICE UPDATER berechnet aus den Optionswerten per&lt;br /&gt;
JavaScript den Gesamtpreis des Artikels&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
INSTALLATION - 3 files to edit, 4 file to copy:&lt;br /&gt;
--------------------------------------------------------------------&lt;br /&gt;
1. EDIT includes/header.php&lt;br /&gt;
&lt;br /&gt;
FIND &amp;#039;&amp;lt;/head&amp;gt;&amp;#039; at ca. line 260 and ADDED before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--BOF ATTRIBUTE PRICE UPDATER--&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
if (strstr($PHP_SELF, FILENAME_PRODUCT_INFO )) {&lt;br /&gt;
    echo (&amp;#039;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;#039; . &amp;#039;templates/&amp;#039;.CURRENT_TEMPLATE.&amp;#039;/apu.css&amp;#039; . &amp;#039;&amp;quot; /&amp;gt;&amp;#039;);&lt;br /&gt;
	require(&amp;#039;includes/attribute_price_updater.js.php&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;!--EOF ATTRIBUTE PRICE UPDATER--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
2. EDIT includes/modules/product_attributes.php&lt;br /&gt;
&lt;br /&gt;
FIND &amp;#039;while ($products_options_name = xtc_db_fetch_array($products_options_name_query,true)) {&amp;#039; &lt;br /&gt;
	&lt;br /&gt;
at ca. line 36  and ADDED before:&lt;br /&gt;
&lt;br /&gt;
//BOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
	$apu_js_var =&amp;#039;&amp;#039;;&lt;br /&gt;
	$apu_js_prices= &amp;#039;&amp;#039;;&lt;br /&gt;
	$curr = $xtPrice-&amp;gt;currencies[$xtPrice-&amp;gt;actualCurr];&lt;br /&gt;
	$decimal_places = $curr[&amp;#039;decimal_places&amp;#039;]; //needed for round&lt;br /&gt;
    $apu_js_curr = &amp;quot;var decimalPlaces=&amp;quot; . $decimal_places . &amp;quot;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var decimalPoint =&amp;#039;&amp;quot; . $curr[&amp;#039;decimal_point&amp;#039;] .&amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var thousandPoint =&amp;#039;&amp;quot; . $curr[&amp;#039;thousands_point&amp;#039;] .&amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var currLeft =&amp;#039;&amp;quot; . $curr[&amp;#039;symbol_left&amp;#039;] . &amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var currRight =&amp;#039;&amp;quot; . $curr[&amp;#039;symbol_right&amp;#039;] . &amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_init = &amp;quot;var isPriceUpdater= 0; \n&amp;quot;;&lt;br /&gt;
//EOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
	&lt;br /&gt;
FIND (the second entry before //if PRICE for option is 0 we don&amp;#039;t need to display it): &lt;br /&gt;
&amp;#039;$products_options_data[$row][&amp;#039;DATA&amp;#039;][$col] = array (&amp;#039;ID&amp;#039; =&amp;gt; $products_options[&amp;#039;products_options_values_id&amp;#039;], &amp;#039;TEXT&amp;#039;...&lt;br /&gt;
	 &lt;br /&gt;
and ADDED before: &lt;br /&gt;
&lt;br /&gt;
//BOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
    $apu_js_var .= &amp;quot;apu_var[&amp;quot; . $products_options[&amp;#039;products_options_values_id&amp;#039;]  . &amp;quot;]=&amp;#039;&amp;quot; . round($price,$decimal_places) . &amp;quot;|&amp;quot; . $products_options[&amp;#039;price_prefix&amp;#039;] . &amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_prices = &amp;quot;var basePrice=&amp;quot;. $products_price .&amp;quot;; \n&amp;quot;;							&lt;br /&gt;
//EOF ATTRIBUTE PRICE UPDATER &lt;br /&gt;
&lt;br /&gt;
FIND &amp;#039;if ($product-&amp;gt;data[&amp;#039;options_template&amp;#039;] == &amp;#039;&amp;#039; or $product-&amp;gt;data[&amp;#039;options_template&amp;#039;] == &amp;#039;default&amp;#039;) {...&lt;br /&gt;
&lt;br /&gt;
and ADDED before:  	&lt;br /&gt;
&lt;br /&gt;
//BOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
if ($_SESSION[&amp;#039;customers_status&amp;#039;][&amp;#039;customers_status_show_price&amp;#039;] != &amp;#039;0&amp;#039; &amp;amp;&amp;amp; $xtPrice-&amp;gt;checkAttributes($product-&amp;gt;data[&amp;#039;products_id&amp;#039;]) != &amp;#039;&amp;#039; ) {&lt;br /&gt;
	$apu_js_init = &amp;quot;var isPriceUpdater= 1; \n&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_INIT&amp;#039;, $apu_js_init);&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_JS&amp;#039;, $apu_js_var);&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_CURR&amp;#039;, $apu_js_curr);&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_PRICES&amp;#039;, $apu_js_prices);&lt;br /&gt;
//EOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
3. EDIT lang/YOUR LANGUAGES/YOUR LANGUAGES.php&lt;br /&gt;
&lt;br /&gt;
ADDED in your languages files - GERMAN EXAMPLE:&lt;br /&gt;
&lt;br /&gt;
//ATTRIBUTE PRICE UPDATER &lt;br /&gt;
define(&amp;#039;UPDATER_PREFIX_TEXT&amp;#039;, &amp;#039;Ihre Auswahl: &amp;#039;);&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
4. COPY the file attribute_price_updater.js.php to the folder includes/ &lt;br /&gt;
   COPY the file apu.css to the folder templates/YOURTEMPLATE/&lt;br /&gt;
   COPY the file product_options_dropdown_apu.html to the folder templates/YOURTEMPLATE/module/product_options&lt;br /&gt;
   COPY the file product_options_selection_apu.html to the folder templates/YOURTEMPLATE/module/product_options&lt;br /&gt;
   &lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
5. Test the ATTRIBUTE_PRICE_UPDATER&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
6. SET/UNSET the DEBUG modus&lt;br /&gt;
&lt;br /&gt;
OPEN the file attribute_price_updater.js.php &lt;br /&gt;
&lt;br /&gt;
and set &lt;br /&gt;
var _debug = false;&lt;br /&gt;
to&lt;br /&gt;
var _debug = true;&lt;br /&gt;
&lt;br /&gt;
If all tests are ok, set it to false&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
7. CHANGE HTML OUTPUT&lt;br /&gt;
OPEN the file attribute_price_updater.js.php &lt;br /&gt;
&lt;br /&gt;
and find &lt;br /&gt;
//HTML OUTPUT	apuProductPrice&lt;br /&gt;
&lt;br /&gt;
Edit the code&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
8. CHANGE PRICE UPDATE ON LOADING PAGE&lt;br /&gt;
OPEN the file attribute_price_updater.js.php&lt;br /&gt;
&lt;br /&gt;
and set&lt;br /&gt;
var onloadPriceUpdate = false;&lt;br /&gt;
to&lt;br /&gt;
var onloadPriceUpdate = true;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
9. Don&amp;#039;t forget to chose one of the new ***_apu.html product_options template for your products.&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
That&amp;#039;s all&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Geändert Erweiterte Suche ==&lt;br /&gt;
Hersteller entfernt&lt;br /&gt;
&lt;br /&gt;
/templates/xtc5/module/advanced_search.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Zeile 20 -23 auskommentiert&lt;br /&gt;
&lt;br /&gt;
== Geänderte Detailansicht ==&lt;br /&gt;
&lt;br /&gt;
vorletzte Zeile, Datum harausgenommen:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--{if $PRODUCTS_ADDED != &amp;#039;&amp;#039;}&amp;lt;p class=&amp;quot;productinfoproductadded&amp;quot;&amp;gt;{$PRODUCTS_ADDED}&amp;lt;/p&amp;gt;{/if}--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Google Analytics ==&lt;br /&gt;
&lt;br /&gt;
nach fogender Anleitung eingebaut:&lt;br /&gt;
http://www.xtc-modified.org/wiki/Google_Analytics_datenschutzkonform_einbinden&lt;br /&gt;
&lt;br /&gt;
1. Folgenden Code im Header &amp;quot;/includes/header.php&amp;quot; im Head-Bereich (wo ist eigentlich egal, Google empfiehlt vor dem schließenden head-tag) einbauen.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;br&amp;gt;     &lt;br /&gt;
    var _gaq = _gaq || [];&lt;br /&gt;
        _gaq.push([&amp;#039;_setAccount&amp;#039;, &amp;#039;UA-xxxxxxxx-x&amp;#039;]);&lt;br /&gt;
        _gaq.push([&amp;#039;_gat._anonymizeIp&amp;#039;]);&lt;br /&gt;
        _gaq.push([&amp;#039;_trackPageview&amp;#039;]);&amp;lt;br&amp;gt;    &lt;br /&gt;
  &amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Damit steht er im Quelltext dort wo er hin soll, nämlich ganz oben.&lt;br /&gt;
&lt;br /&gt;
2. Den asynchronen Funktionsaufruf für das eCommerce-Tracking unten in &amp;quot;/templates/xt5/module/checkout_success.html&amp;quot; einbinden und&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Google e-Commerce Analytics --&amp;gt;&lt;br /&gt;
    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
        _gaq.push([&amp;#039;_addTrans&amp;#039;,&lt;br /&gt;
            &amp;#039;{$oID}&amp;#039;,&lt;br /&gt;
            &amp;#039;Name deines Shops&amp;#039;,&lt;br /&gt;
            &amp;#039;{$VALUE}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$TAX}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$SHIPPING}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$CITY}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$STATE}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$COUNTRY}&amp;#039;&lt;br /&gt;
        ]);&lt;br /&gt;
        {foreach name=aussen item=order_values from=$order_data}&lt;br /&gt;
        _gaq.push([&amp;#039;_addItem&amp;#039;,&lt;br /&gt;
            &amp;#039;{$oID}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_MODEL}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_NAME}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.CAT}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_SINGLE_PRICE}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_QTY}&amp;#039;&lt;br /&gt;
        ]);&lt;br /&gt;
        {/foreach}&lt;br /&gt;
        _gaq.push([&amp;#039;_trackTrans&amp;#039;]); //submits transaction to the Analytics servers&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Google e-Commerce Analytics Ende --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
die checkout_success.php aus dem entsprechenden &amp;quot;e-commerce-analytics-xtcModified 1.0x.zip&amp;quot; Paket aus dem Thema ANLEITUNG: E-Commerce-Tracking mit Google Analytics ins root-Verzeichnis des Shops legen. Somit wird der Code bei erfolgtem Einkauf in der Mitte aufgerufen.&lt;br /&gt;
&lt;br /&gt;
3. Damit der Rest des Codes am Seitenende geladen wird, muss in der &amp;quot;/templates/xt5/source/boxes.php&amp;quot; vor der Zeile:&lt;br /&gt;
&lt;br /&gt;
  $smarty-&amp;gt;assign(&amp;#039;tpl_path&amp;#039;,&amp;#039;templates/&amp;#039;.CURRENT_TEMPLATE.&amp;#039;/&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
folgendes geschrieben werden:&lt;br /&gt;
&lt;br /&gt;
  $GOOGLE_ANALYTICS =&lt;br /&gt;
   &amp;#039;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
     (function() {&lt;br /&gt;
       var ga = document.createElement(\&amp;#039;script\&amp;#039;); ga.type = \&amp;#039;text/javascript\&amp;#039;; ga.async = true;&lt;br /&gt;
       ga.src = (\&amp;#039;https:\&amp;#039; == document.location.protocol ? \&amp;#039;https://ssl\&amp;#039; : \&amp;#039;http://www\&amp;#039;) + \&amp;#039;.google-analytics.com/ga.js\&amp;#039;;&lt;br /&gt;
       var s = document.getElementsByTagName(\&amp;#039;script\&amp;#039;)[0]; s.parentNode.insertBefore(ga, s);&lt;br /&gt;
     })();&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;/script&amp;gt;&amp;#039;;&lt;br /&gt;
    $smarty-&amp;gt;assign(&amp;#039;GOOGLE_ANALYTICS&amp;#039;, $GOOGLE_ANALYTICS);&lt;br /&gt;
&lt;br /&gt;
4. Zum Schluss muss noch in der &amp;quot;/templates/xt5/index.html&amp;quot; ganz unten&lt;br /&gt;
&lt;br /&gt;
  {$GOOGLE_ANALYTICS}&lt;br /&gt;
&lt;br /&gt;
rein.&lt;br /&gt;
&lt;br /&gt;
Nun sollte Google Analytics funktionieren.&lt;br /&gt;
&lt;br /&gt;
==Attribute werden nicht gespeichert==&lt;br /&gt;
&lt;br /&gt;
in die htaccess im Root-vberzeichnis folgendes ergänzen:&lt;br /&gt;
&lt;br /&gt;
php_value max_input_vars 6000&lt;/div&gt;</summary>
		<author><name>79.222.8.246</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=Poolcorner&amp;diff=19192</id>
		<title>Poolcorner</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Poolcorner&amp;diff=19192"/>
		<updated>2012-07-02T07:59:09Z</updated>

		<summary type="html">&lt;p&gt;79.222.8.246: /* Google Analytics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installiert =&lt;br /&gt;
&lt;br /&gt;
==Domnowski==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EOS-Iframe==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Attribute_price_updater==&lt;br /&gt;
&lt;br /&gt;
http://www.xtc-modified.org/forum/index.php?topic=2122.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
ATTRIBUTE PRICE UPDATER&lt;br /&gt;
VERS 0.90 RC4 for XTC MODIFIED &lt;br /&gt;
(c) by web28 - www.rpa-com.de&lt;br /&gt;
&lt;br /&gt;
based on a script by D Parry (Chrome) 2007 (dan@virtuawebtech.co.uk)&lt;br /&gt;
&lt;br /&gt;
FUNKTIONWEISE:&lt;br /&gt;
&lt;br /&gt;
Der ATTRIBUTE PRICE UPDATER berechnet aus den Optionswerten per&lt;br /&gt;
JavaScript den Gesamtpreis des Artikels&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
INSTALLATION - 3 files to edit, 4 file to copy:&lt;br /&gt;
--------------------------------------------------------------------&lt;br /&gt;
1. EDIT includes/header.php&lt;br /&gt;
&lt;br /&gt;
FIND &amp;#039;&amp;lt;/head&amp;gt;&amp;#039; at ca. line 260 and ADDED before:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--BOF ATTRIBUTE PRICE UPDATER--&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
if (strstr($PHP_SELF, FILENAME_PRODUCT_INFO )) {&lt;br /&gt;
    echo (&amp;#039;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;#039; . &amp;#039;templates/&amp;#039;.CURRENT_TEMPLATE.&amp;#039;/apu.css&amp;#039; . &amp;#039;&amp;quot; /&amp;gt;&amp;#039;);&lt;br /&gt;
	require(&amp;#039;includes/attribute_price_updater.js.php&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;!--EOF ATTRIBUTE PRICE UPDATER--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
2. EDIT includes/modules/product_attributes.php&lt;br /&gt;
&lt;br /&gt;
FIND &amp;#039;while ($products_options_name = xtc_db_fetch_array($products_options_name_query,true)) {&amp;#039; &lt;br /&gt;
	&lt;br /&gt;
at ca. line 36  and ADDED before:&lt;br /&gt;
&lt;br /&gt;
//BOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
	$apu_js_var =&amp;#039;&amp;#039;;&lt;br /&gt;
	$apu_js_prices= &amp;#039;&amp;#039;;&lt;br /&gt;
	$curr = $xtPrice-&amp;gt;currencies[$xtPrice-&amp;gt;actualCurr];&lt;br /&gt;
	$decimal_places = $curr[&amp;#039;decimal_places&amp;#039;]; //needed for round&lt;br /&gt;
    $apu_js_curr = &amp;quot;var decimalPlaces=&amp;quot; . $decimal_places . &amp;quot;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var decimalPoint =&amp;#039;&amp;quot; . $curr[&amp;#039;decimal_point&amp;#039;] .&amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var thousandPoint =&amp;#039;&amp;quot; . $curr[&amp;#039;thousands_point&amp;#039;] .&amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var currLeft =&amp;#039;&amp;quot; . $curr[&amp;#039;symbol_left&amp;#039;] . &amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_curr.= &amp;quot;var currRight =&amp;#039;&amp;quot; . $curr[&amp;#039;symbol_right&amp;#039;] . &amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_init = &amp;quot;var isPriceUpdater= 0; \n&amp;quot;;&lt;br /&gt;
//EOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
	&lt;br /&gt;
FIND (the second entry before //if PRICE for option is 0 we don&amp;#039;t need to display it): &lt;br /&gt;
&amp;#039;$products_options_data[$row][&amp;#039;DATA&amp;#039;][$col] = array (&amp;#039;ID&amp;#039; =&amp;gt; $products_options[&amp;#039;products_options_values_id&amp;#039;], &amp;#039;TEXT&amp;#039;...&lt;br /&gt;
	 &lt;br /&gt;
and ADDED before: &lt;br /&gt;
&lt;br /&gt;
//BOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
    $apu_js_var .= &amp;quot;apu_var[&amp;quot; . $products_options[&amp;#039;products_options_values_id&amp;#039;]  . &amp;quot;]=&amp;#039;&amp;quot; . round($price,$decimal_places) . &amp;quot;|&amp;quot; . $products_options[&amp;#039;price_prefix&amp;#039;] . &amp;quot;&amp;#039;; \n&amp;quot;;&lt;br /&gt;
	$apu_js_prices = &amp;quot;var basePrice=&amp;quot;. $products_price .&amp;quot;; \n&amp;quot;;							&lt;br /&gt;
//EOF ATTRIBUTE PRICE UPDATER &lt;br /&gt;
&lt;br /&gt;
FIND &amp;#039;if ($product-&amp;gt;data[&amp;#039;options_template&amp;#039;] == &amp;#039;&amp;#039; or $product-&amp;gt;data[&amp;#039;options_template&amp;#039;] == &amp;#039;default&amp;#039;) {...&lt;br /&gt;
&lt;br /&gt;
and ADDED before:  	&lt;br /&gt;
&lt;br /&gt;
//BOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
if ($_SESSION[&amp;#039;customers_status&amp;#039;][&amp;#039;customers_status_show_price&amp;#039;] != &amp;#039;0&amp;#039; &amp;amp;&amp;amp; $xtPrice-&amp;gt;checkAttributes($product-&amp;gt;data[&amp;#039;products_id&amp;#039;]) != &amp;#039;&amp;#039; ) {&lt;br /&gt;
	$apu_js_init = &amp;quot;var isPriceUpdater= 1; \n&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_INIT&amp;#039;, $apu_js_init);&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_JS&amp;#039;, $apu_js_var);&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_CURR&amp;#039;, $apu_js_curr);&lt;br /&gt;
$module_smarty-&amp;gt;assign(&amp;#039;APU_PRICES&amp;#039;, $apu_js_prices);&lt;br /&gt;
//EOF ATTRIBUTE PRICE UPDATER&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
3. EDIT lang/YOUR LANGUAGES/YOUR LANGUAGES.php&lt;br /&gt;
&lt;br /&gt;
ADDED in your languages files - GERMAN EXAMPLE:&lt;br /&gt;
&lt;br /&gt;
//ATTRIBUTE PRICE UPDATER &lt;br /&gt;
define(&amp;#039;UPDATER_PREFIX_TEXT&amp;#039;, &amp;#039;Ihre Auswahl: &amp;#039;);&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
4. COPY the file attribute_price_updater.js.php to the folder includes/ &lt;br /&gt;
   COPY the file apu.css to the folder templates/YOURTEMPLATE/&lt;br /&gt;
   COPY the file product_options_dropdown_apu.html to the folder templates/YOURTEMPLATE/module/product_options&lt;br /&gt;
   COPY the file product_options_selection_apu.html to the folder templates/YOURTEMPLATE/module/product_options&lt;br /&gt;
   &lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
5. Test the ATTRIBUTE_PRICE_UPDATER&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
6. SET/UNSET the DEBUG modus&lt;br /&gt;
&lt;br /&gt;
OPEN the file attribute_price_updater.js.php &lt;br /&gt;
&lt;br /&gt;
and set &lt;br /&gt;
var _debug = false;&lt;br /&gt;
to&lt;br /&gt;
var _debug = true;&lt;br /&gt;
&lt;br /&gt;
If all tests are ok, set it to false&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
7. CHANGE HTML OUTPUT&lt;br /&gt;
OPEN the file attribute_price_updater.js.php &lt;br /&gt;
&lt;br /&gt;
and find &lt;br /&gt;
//HTML OUTPUT	apuProductPrice&lt;br /&gt;
&lt;br /&gt;
Edit the code&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
8. CHANGE PRICE UPDATE ON LOADING PAGE&lt;br /&gt;
OPEN the file attribute_price_updater.js.php&lt;br /&gt;
&lt;br /&gt;
and set&lt;br /&gt;
var onloadPriceUpdate = false;&lt;br /&gt;
to&lt;br /&gt;
var onloadPriceUpdate = true;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
9. Don&amp;#039;t forget to chose one of the new ***_apu.html product_options template for your products.&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
That&amp;#039;s all&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Geändert Erweiterte Suche ==&lt;br /&gt;
Hersteller entfernt&lt;br /&gt;
&lt;br /&gt;
/templates/xtc5/module/advanced_search.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Zeile 20 -23 auskommentiert&lt;br /&gt;
&lt;br /&gt;
== Geänderte Detailansicht ==&lt;br /&gt;
&lt;br /&gt;
vorletzte Zeile, Datum harausgenommen:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--{if $PRODUCTS_ADDED != &amp;#039;&amp;#039;}&amp;lt;p class=&amp;quot;productinfoproductadded&amp;quot;&amp;gt;{$PRODUCTS_ADDED}&amp;lt;/p&amp;gt;{/if}--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Google Analytics ==&lt;br /&gt;
&lt;br /&gt;
nach fogender Anleitung eingebaut:&lt;br /&gt;
http://www.xtc-modified.org/wiki/Google_Analytics_datenschutzkonform_einbinden&lt;br /&gt;
&lt;br /&gt;
1. Folgenden Code im Header &amp;quot;/includes/header.php&amp;quot; im Head-Bereich (wo ist eigentlich egal, Google empfiehlt vor dem schließenden head-tag) einbauen.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;br&amp;gt;     &lt;br /&gt;
    var _gaq = _gaq || [];&lt;br /&gt;
        _gaq.push([&amp;#039;_setAccount&amp;#039;, &amp;#039;UA-xxxxxxxx-x&amp;#039;]);&lt;br /&gt;
        _gaq.push([&amp;#039;_gat._anonymizeIp&amp;#039;]);&lt;br /&gt;
        _gaq.push([&amp;#039;_trackPageview&amp;#039;]);&amp;lt;br&amp;gt;    &lt;br /&gt;
  &amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Damit steht er im Quelltext dort wo er hin soll, nämlich ganz oben.&lt;br /&gt;
&lt;br /&gt;
2. Den asynchronen Funktionsaufruf für das eCommerce-Tracking unten in &amp;quot;/templates/xt5/module/checkout_success.html&amp;quot; einbinden und&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Google e-Commerce Analytics --&amp;gt;&lt;br /&gt;
    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
        _gaq.push([&amp;#039;_addTrans&amp;#039;,&lt;br /&gt;
            &amp;#039;{$oID}&amp;#039;,&lt;br /&gt;
            &amp;#039;Name deines Shops&amp;#039;,&lt;br /&gt;
            &amp;#039;{$VALUE}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$TAX}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$SHIPPING}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$CITY}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$STATE}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$COUNTRY}&amp;#039;&lt;br /&gt;
        ]);&lt;br /&gt;
        {foreach name=aussen item=order_values from=$order_data}&lt;br /&gt;
        _gaq.push([&amp;#039;_addItem&amp;#039;,&lt;br /&gt;
            &amp;#039;{$oID}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_MODEL}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_NAME}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.CAT}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_SINGLE_PRICE}&amp;#039;,&lt;br /&gt;
            &amp;#039;{$order_values.PRODUCTS_QTY}&amp;#039;&lt;br /&gt;
        ]);&lt;br /&gt;
        {/foreach}&lt;br /&gt;
        _gaq.push([&amp;#039;_trackTrans&amp;#039;]); //submits transaction to the Analytics servers&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Google e-Commerce Analytics Ende --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
die checkout_success.php aus dem entsprechenden &amp;quot;e-commerce-analytics-xtcModified 1.0x.zip&amp;quot; Paket aus dem Thema ANLEITUNG: E-Commerce-Tracking mit Google Analytics ins root-Verzeichnis des Shops legen. Somit wird der Code bei erfolgtem Einkauf in der Mitte aufgerufen.&lt;br /&gt;
&lt;br /&gt;
3. Damit der Rest des Codes am Seitenende geladen wird, muss in der &amp;quot;/templates/xt5/source/boxes.php&amp;quot; vor der Zeile:&lt;br /&gt;
&lt;br /&gt;
  $smarty-&amp;gt;assign(&amp;#039;tpl_path&amp;#039;,&amp;#039;templates/&amp;#039;.CURRENT_TEMPLATE.&amp;#039;/&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
folgendes geschrieben werden:&lt;br /&gt;
&lt;br /&gt;
  $GOOGLE_ANALYTICS =&lt;br /&gt;
   &amp;#039;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
     (function() {&lt;br /&gt;
       var ga = document.createElement(\&amp;#039;script\&amp;#039;); ga.type = \&amp;#039;text/javascript\&amp;#039;; ga.async = true;&lt;br /&gt;
       ga.src = (\&amp;#039;https:\&amp;#039; == document.location.protocol ? \&amp;#039;https://ssl\&amp;#039; : \&amp;#039;http://www\&amp;#039;) + \&amp;#039;.google-analytics.com/ga.js\&amp;#039;;&lt;br /&gt;
       var s = document.getElementsByTagName(\&amp;#039;script\&amp;#039;)[0]; s.parentNode.insertBefore(ga, s);&lt;br /&gt;
     })();&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;/script&amp;gt;&amp;#039;;&lt;br /&gt;
    $smarty-&amp;gt;assign(&amp;#039;GOOGLE_ANALYTICS&amp;#039;, $GOOGLE_ANALYTICS);&lt;br /&gt;
&lt;br /&gt;
4. Zum Schluss muss noch in der &amp;quot;/templates/xt5/index.html&amp;quot; ganz unten&lt;br /&gt;
&lt;br /&gt;
  {$GOOGLE_ANALYTICS}&lt;br /&gt;
&lt;br /&gt;
rein.&lt;br /&gt;
&lt;br /&gt;
Nun sollte Google Analytics funktionieren.&lt;br /&gt;
&lt;br /&gt;
==Attribute werden nicht gespeichert==&lt;br /&gt;
&lt;br /&gt;
von DokuMan am Mi 26. Aug 2009, 11:29, Verweis auf Anwenderhandbuch v2.7 Kapitel 10.12&lt;br /&gt;
[Bearbeiten] 10.12 Alert - configured request variable limit exceeded - dropped variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ALERT - configured request variable limit exceeded - dropped variable &amp;#039;110_model&amp;#039; &lt;br /&gt;
&lt;br /&gt;
(attacker ‘ipadresse’, file &amp;#039;/is/htdocs/www/xtc/admin/new_attributes.php&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Kann z.B. bei der Zuweisung von Artikel-Attributen auftreten, so dass die Attribute nicht gespeichert werden.&lt;br /&gt;
&lt;br /&gt;
Problem: Es liegt daran, dass der Webhoster (z.B. Hosteurope) den „PHP Hardening-Patch“ eingespielt hat. Somit ist das Zuweisen von Attributen von Artikeln nicht mehr möglich. Es liegt nicht an der max_memory oder runtime, sondern an den Variablen der POST/GET requests. Lösung: Im Root-Verzeichnis des Shops eine .htaccess Datei mit folgendem Inhalt erstellen bzw. ergänzen:&lt;br /&gt;
&lt;br /&gt;
php_value suhosin.post.max_array_depth 0&lt;br /&gt;
&lt;br /&gt;
php_value suhosin.post.max_array_index_length 0&lt;br /&gt;
&lt;br /&gt;
php_value suhosin.post.max_vars 0&lt;br /&gt;
&lt;br /&gt;
php_value suhosin.request.max_array_depth 0&lt;br /&gt;
&lt;br /&gt;
php_value suhosin.request.max_array_index_length 0&lt;br /&gt;
&lt;br /&gt;
php_value suhosin.request.max_vars 0&lt;br /&gt;
&lt;br /&gt;
Alternativlösung (beim Provider Hosteurope):&lt;br /&gt;
im &amp;quot;KIS&amp;quot; unter Administration &amp;gt; Webhosting &amp;gt; Konfigurieren &amp;gt; Skripte &amp;gt; Skript-Einstellungen die Einstellung &amp;quot;PHP Suhosin RPG Max Vars&amp;quot; von &amp;quot;Serverstandard&amp;quot; auf &amp;quot;Erweitert&amp;quot; ändern.&lt;br /&gt;
&lt;br /&gt;
Anschließender Bericht des Fragestellers (herbert am Do 27. Aug 2009, 10:52):&lt;/div&gt;</summary>
		<author><name>79.222.8.246</name></author>
	</entry>
</feed>