TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3-shop] variants select box with onchange

This is a discussion on [TYPO3-shop] variants select box with onchange within the typo3-project-tt-products@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hello, I've installed tt_products 2.7.0. The xajax is installed and I see the reference in the header ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-tt-products@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 29.09.2008, 22:37
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] variants select box with onchange

Hello,

I've installed tt_products 2.7.0.
The xajax is installed and I see the reference in the header of the html.

Code :
<script type="text/javascript">
/*<![CDATA[*/
var xajaxRequestUri="http://www.safesupport.eu/index.php?id=63&tx_ttproducts_pi1[backPID]=63&tx_ttproducts_pi1[product]=14&cHash=c6a14b2517&no_cache=1&eID=tt_products";
var xajaxDebug=false;
var xajaxStatusMessages=false;
var xajaxWaitCursor=true;
var xajaxDefinedGet=0;
var xajaxDefinedPost=1;
var xajaxLoaded=false;
function tt_products_fetchRow(){return
xajax.call("tt_products_fetchRow", arguments, 1);}
/*]]>*/
</script>
<script type="text/javascript"
src="typo3conf/ext/taxajax/xajax_js/xajax.js"></script>
<script type="text/javascript">
window.setTimeout(function () { if (!xajaxLoaded) { alert('Error: the
xajax Javascript file could not be included. Perhaps the URL is
incorrect?\nURL: typo3conf/ext/taxajax/xajax_js/xajax.js'); } },
6000);
</script>

The constant config :

useArticles = 1
selectColor = 1
selectSize = 1


The template code :

<!-- ###display_variant1### -->
<br><br>Keuze : <SELECT class="besteldropdown"
name="###FIELD_COLOR_NAME###" onchange="###PRODUCT_COLOR_FUNCTION1###"
rows="1">###PRODUCT_COLOR###</SELECT>&nbsp;
<!-- ###display_variant1### -->

Is this the way to configure this functionality or is there an other
setting I forgot because the price does not change and there is nog js
error.

please help.


Thnx in advanced!
_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 30.09.2008, 21:54
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] variants select box with onchange

I solved it myself ....

The following must be implemented too.

For the price you want to show you need to use this : <span
id="###ARTICLE_PRICE_NO_TAX_ID###">###ARTICLE_PRIC E_NO_TAX###</span>
For the select-box you need to use : <select name="###FIELD_COLOR_NAME###"
id="###PRODUCT_COLOR_ID###"
onchange="###PRODUCT_COLOR_FUNCTION1###">###PRODUC T_COLOR###</SELECT>

I can only ask Franz too update his documentation .... please .....




2008/9/29 Matt Sturkenboom <m.sturkenboom (AT) gmail (DOT) com>

> Hello,
>
> I've installed tt_products 2.7.0.
> The xajax is installed and I see the reference in the header of the html.
>
> Code :
> <script type="text/javascript">
> /*<![CDATA[*/
> var xajaxRequestUri="
> http://www.safesupport.eu/index.php?...ttproducts_pi1[backPID]=63&tx_ttproducts_pi1[product]=14&cHash=c6a14b2517&no_cache=1&eID=tt_products<ht tp://www.safesupport.eu/index.php?id=63&tx_ttproducts_pi1%5BbackPID%5D=63& tx_ttproducts_pi1%5Bproduct%5D=14&cHash=c6a14b2517 &no_cache=1&eID=tt_products>
> ";
> var xajaxDebug=false;
> var xajaxStatusMessages=false;
> var xajaxWaitCursor=true;
> var xajaxDefinedGet=0;
> var xajaxDefinedPost=1;
> var xajaxLoaded=false;
> function tt_products_fetchRow(){return
> xajax.call("tt_products_fetchRow", arguments, 1);}
> /*]]>*/
> </script>
> <script type="text/javascript"
> src="typo3conf/ext/taxajax/xajax_js/xajax.js"></script>
> <script type="text/javascript">
> window.setTimeout(function () { if (!xajaxLoaded) { alert('Error: the
> xajax Javascript file could not be included. Perhaps the URL is
> incorrect?\nURL: typo3conf/ext/taxajax/xajax_js/xajax.js'); } },
> 6000);
> </script>
>
> The constant config :
>
> useArticles = 1
> selectColor = 1
> selectSize = 1
>
>
> The template code :
>
> <!-- ###display_variant1### -->
> <br><br>Keuze : <SELECT class="besteldropdown"
> name="###FIELD_COLOR_NAME###" onchange="###PRODUCT_COLOR_FUNCTION1###"
> rows="1">###PRODUCT_COLOR###</SELECT>&nbsp;
> <!-- ###display_variant1### -->
>
> Is this the way to configure this functionality or is there an other
> setting I forgot because the price does not change and there is nog js
> error.
>
> please help.
>
>
> Thnx in advanced!
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
>
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 03.10.2008, 17:41
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] variants select box with onchange

Matt Sturkenboom a écrit :
> I solved it myself ....
>
> The following must be implemented too.
>
> For the price you want to show you need to use this : <span
> id="###ARTICLE_PRICE_NO_TAX_ID###">###ARTICLE_PRIC E_NO_TAX###</span>
> For the select-box you need to use : <select name="###FIELD_COLOR_NAME###"
> id="###PRODUCT_COLOR_ID###"
> onchange="###PRODUCT_COLOR_FUNCTION1###">###PRODUC T_COLOR###</SELECT>
>
> I can only ask Franz too update his documentation .... please .....
>


If you send me the whole chapter ready to put this into the manual I
will do so. Or just add it to the wiki at
http://wiki.typo3.org/index.php/Tt_products

- Franz

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 03.10.2008, 21:51
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] variants select box with onchange

Ok cool, good idea!


2008/10/3 Franz Holzinger <franz (AT) fholzinger (DOT) com>:
> Matt Sturkenboom a écrit :
>> I solved it myself ....
>>
>> The following must be implemented too.
>>
>> For the price you want to show you need to use this : <span
>> id="###ARTICLE_PRICE_NO_TAX_ID###">###ARTICLE_PRIC E_NO_TAX###</span>
>> For the select-box you need to use : <select name="###FIELD_COLOR_NAME###"
>> id="###PRODUCT_COLOR_ID###"
>> onchange="###PRODUCT_COLOR_FUNCTION1###">###PRODUC T_COLOR###</SELECT>
>>
>> I can only ask Franz too update his documentation .... please .....
>>

>
> If you send me the whole chapter ready to put this into the manual I
> will do so. Or just add it to the wiki at
> http://wiki.typo3.org/index.php/Tt_products
>
> - Franz
>
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3-shop] Different product prices for different variants? Juan Pablo Villaverde typo3-project-tt-products@lists.netfielders.de 1 19.07.2008 18:03
[TYPO3-shop] categories:select doesn't work Robert Grede typo3-project-tt-products@lists.netfielders.de 1 15.03.2008 09:23
[TYPO3-shop] Article price in the select list Daniel Calderini typo3-project-tt-products@lists.netfielders.de 2 05.12.2007 10:21
[TYPO3-shop] ###FIELD_QTY### always empty when showing variants Juan Pablo Villaverde typo3-project-tt-products@lists.netfielders.de 0 06.11.2007 23:47
[TYPO3-shop] articles and variants Tomi Hrovatin typo3-project-tt-products@lists.netfielders.de 1 05.05.2007 20:33


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:04 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74