[TYPO3-shop] Problem with the articles

Florian Opperman florian.oppermann at gmx.de
Wed Oct 28 16:39:06 CET 2009


Bernd Schuhmacher schrieb:
> Hi Florian
> Florian Opperman schrieb:
>> Thanks to you Bernd,
>> i had to change a few markers. Now i have only one problem left. In 
>> the basket is the article price still the product price (the article 
>> costs 5000,- and the product 4000,-). So in the basket is the price 
>> for the choosen article 4000,- instead 5000,-
>> I can´t find the correct marker. i tried all markers off the example 
>> template bot no one fits.
> What marker do you use?
> I think price markers are standard (###TAX_INCL_EXCL###, 
> ###PRICE_TAX###, ###PRICE_ONLY_TAX### and so on). There is no 
> customization for product or article price here, or am I wrong.
> Did you create the relation between article and product correctly?
>
> Bernd
>
On the Listview i use this code for the prices under each product:
<table align = "right" border="0" class="bodytext" style="margin-top:20px">
      <tr>
       <td>Betrag (Netto):</td>
       <td width ="100" align ="right" 
id="###ARTICLE_PRICE_NO_TAX_ID###">###ARTICLE_PRICE_NO_TAX###</td><td 
style="padding-left:5px">EUR</td>
      </tr>
      <tr>
       <td>USt (z.Z. 19%):</td>
       <td width ="100" align ="right" 
id="###ARTICLE_PRICE_ONLY_TAX_ID###">###ARTICLE_PRICE_ONLY_TAX###</td><td 
style="padding-left:5px">EUR</td>
      </tr>
      <tr>
       <td><B>Gesamtbetrag:</B></td>
       <td width ="100" align ="right" id="###ARTICLE_PRICE_TAX_ID###" 
style="font-weight:bold>###ARTICLE_PRICE_TAX###</td><td 
style="padding-left:5px"><B>EUR</B></td>
      </tr>
      <tr>
       <td><label for="###FIELD_ID###">Anzahl: </label><input size="3" 
maxlength="4" type="text"  id="###FIELD_ID###" name="###FIELD_NAME###" 
value="###FIELD_QTY###" /></td>
       <td width ="100" align ="right"><input type="submit" name="order" 
value="In Warenkorb einf&uuml;gen"/></td>
      </tr>
     </table>
This works fine. On the basket i use this:
<tr>
                                        <td width="10%" 
headers="quantity"><input size="3" maxlength="4" type="text" 
name="###FIELD_NAME_BASKET###" value="###FIELD_QTY###"/></td>
                                        <td width="60%" 
headers="product">###PRODUCT_TITLE### ###PRODUCT_SIZE###</td>
                                        <td width="15%" headers="price" 
align="right">###ARTICLE_PRICE_TAX### EUR</td>  <--------------THIS 
Price should be 5000,- but its 4000,-
                                        <td height="25px" width="15%" 
headers="total" align="right">###PRICE_TOTAL_TAX### EUR</td>
                                    </tr>


More information about the TYPO3-project-tt-products mailing list