TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
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 20.04.2007, 09:13
Alexander
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] Direct Cost as third shown price

Hello list.
I need to do something. I need to show 3 prices of my products. I'm
using 3 fields - price, price2 and Direct cost. So, I can modify my
template to show price and price2 but Direct cost. How can i made it?

Thanks, Alex
_______________________________________________
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 23.04.2007, 14:34
Alexander
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Any solution?


Alexander ÐÉÛÅÔ:
> Hello list.
> I need to do something. I need to show 3 prices of my products. I'm
> using 3 fields - price, price2 and Direct cost. So, I can modify my
> template to show price and price2 but Direct cost. How can i made it?
>
> Thanks, Alex

_______________________________________________
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 24.04.2007, 19:17
Alexander
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Franz, can you show me direction?
Please

Alexander:
> Any solution?
>
>
> Alexander ÐÉÛÅÔ:
>> Hello list.
>> I need to do something. I need to show 3 prices of my products. I'm
>> using 3 fields - price, price2 and Direct cost. So, I can modify my
>> template to show price and price2 but Direct cost. How can i made it?
>>
>> Thanks, Alex

_______________________________________________
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 09.05.2007, 07:48
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Hello Alexander,

>>> I need to do something. I need to show 3 prices of my products. I'm
>>> using 3 fields - price, price2 and Direct cost. So, I can modify my
>>> template to show price and price2 but Direct cost. How can i made it?
>>>


For Direct cost you have the marker
###PRODUCT_DIRECTCOST###

- 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!
  #5  
Alt 09.05.2007, 10:37
Alexander
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Franz Holzinger ÐÉÛÅÔ:
> Hello Alexander,
>
>>>> I need to do something. I need to show 3 prices of my products. I'm
>>>> using 3 fields - price, price2 and Direct cost. So, I can modify my
>>>> template to show price and price2 but Direct cost. How can i made it?
>>>>

>
> For Direct cost you have the marker
> ###PRODUCT_DIRECTCOST###
>
> - Franz
>

Oh, Thanks 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!
  #6  
Alt 18.05.2007, 13:59
Alexander
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Franz Holzinger ÐÉÛÅÔ:
> Hello Alexander,
>
>>>> I need to do something. I need to show 3 prices of my products. I'm
>>>> using 3 fields - price, price2 and Direct cost. So, I can modify my
>>>> template to show price and price2 but Direct cost. How can i made it?
>>>>

>
> For Direct cost you have the marker
> ###PRODUCT_DIRECTCOST###
>
> - Franz
>


Seems like this marker doesn't work. I tried some variations of this but
nothing happens.

Alex
_______________________________________________
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!
  #7  
Alt 21.05.2007, 09:18
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Hello Alex,

> Franz Holzinger ÐÉÛÅÔ:
>> Hello Alexander,
>>
>>>>> I need to do something. I need to show 3 prices of my products. I'm
>>>>> using 3 fields - price, price2 and Direct cost. So, I can modify my
>>>>> template to show price and price2 but Direct cost. How can i made it?
>>>>>

>>
>> For Direct cost you have the marker
>> ###PRODUCT_DIRECTCOST###
>>
>> - Franz
>>

>
> Seems like this marker doesn't work. I tried some variations of this but
> nothing happens.


Unfortunately this is missing in the code.

It should be treated like the price:
Direct cost: ###DIRECTCOST_TAX###

add the following lines to getItemMarkerArray in
tt_products/model/class.tx_ttproducts_article_base.php

$markerArray['###DIRECTCOST_TAX###'] =
$this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],1,$row['tax'],$this->conf['TAXincluded'])));
$markerArray['###DIRECTCOST_NO_TAX###'] =
$this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],0,$row['tax'],$this->conf['TAXincluded'])));


- 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!
  #8  
Alt 21.05.2007, 10:15
Alexander
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Thanks


Franz Holzinger ÐÉÛÅÔ:
> Hello Alex,
>
>> Franz Holzinger ÐÉÛÅÔ:
>>> Hello Alexander,
>>>
>>>>>> I need to do something. I need to show 3 prices of my products. I'm
>>>>>> using 3 fields - price, price2 and Direct cost. So, I can modify my
>>>>>> template to show price and price2 but Direct cost. How can i made it?
>>>>>>
>>> For Direct cost you have the marker
>>> ###PRODUCT_DIRECTCOST###
>>>
>>> - Franz
>>>

>> Seems like this marker doesn't work. I tried some variations of this but
>> nothing happens.

>
> Unfortunately this is missing in the code.
>
> It should be treated like the price:
> Direct cost: ###DIRECTCOST_TAX###
>
> add the following lines to getItemMarkerArray in
> tt_products/model/class.tx_ttproducts_article_base.php
>
> $markerArray['###DIRECTCOST_TAX###'] =
> $this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],1,$row['tax'],$this->conf['TAXincluded'])));
> $markerArray['###DIRECTCOST_NO_TAX###'] =
> $this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],0,$row['tax'],$this->conf['TAXincluded'])));
>
>
> - 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!
  #9  
Alt 28.05.2007, 19:31
Alexander
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

It was too fast. After i tried this hack it starts working but it shows
only "0", not my price in Direct Cost field



Alexander:
> Thanks
>
>
> Franz Holzinger ÐÉÛÅÔ:
>> Hello Alex,
>>
>>> Franz Holzinger ÐÉÛÅÔ:
>>>> Hello Alexander,
>>>>
>>>>>>> I need to do something. I need to show 3 prices of my products. I'm
>>>>>>> using 3 fields - price, price2 and Direct cost. So, I can modify my
>>>>>>> template to show price and price2 but Direct cost. How can i made
>>>>>>> it?
>>>>>>>
>>>> For Direct cost you have the marker
>>>> ###PRODUCT_DIRECTCOST###
>>>>
>>>> - Franz
>>>>
>>> Seems like this marker doesn't work. I tried some variations of this but
>>> nothing happens.

>>
>> Unfortunately this is missing in the code.
>>
>> It should be treated like the price:
>> Direct cost: ###DIRECTCOST_TAX###
>>
>> add the following lines to getItemMarkerArray in
>> tt_products/model/class.tx_ttproducts_article_base.php
>>
>> $markerArray['###DIRECTCOST_TAX###'] =
>> $this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],1,$row['tax'],$this->conf['TAXincluded'])));
>>
>> $markerArray['###DIRECTCOST_NO_TAX###'] =
>> $this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],0,$row['tax'],$this->conf['TAXincluded'])));
>>
>>
>>
>> - 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!
  #10  
Alt 31.05.2007, 16:04
Marcus Schwemer
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Direct Cost as third shown price

Hi Alexander, hi Franz,

here is the code, that I modified / added to use ###DIRECTCOST### as a
third price.

The line numbers are based on the 2.5.2 alpha.

File "tt_products/static/old_style/setup.txt":

"directcost" added to
- conf.tt_products.ALL.requiredFields and
- conf.tt_products.articles.ALL.requiredFields

- Changed file "tt_products/model/class.tx_ttproducts_article.php"
Line 70: directcost add to $requiredFields
Line 139: "directcost" added to $fieldArray['number']

- Changed file "tt_products/model/class.tx_ttproducts_product.php"
Line 79: directcost add to $requiredFields

- Changed file "tt_products/model/class.tx_ttproducts_article_base.php"
after line 179 new marker added ###DIRECTCOST###

$directcost =
$this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],1
$row['tax'],$this->conf['TAXincluded']), $taxInclExcl));
$markerArray['###DIRECTCOST###'] = $directcost;

Hope that helps.

Greets,
Marcus

Alexander wrote:

> It was too fast. After i tried this hack it starts working but it
> shows only "0", not my price in Direct Cost field



>
>
> Alexander:
>> Thanks
>>
>>
>> Franz Holzinger пишет:
>>> Hello Alex,
>>>
>>>> Franz Holzinger пишет:
>>>>> Hello Alexander,
>>>>>
>>>>>>>> I need to do something. I need to show 3 prices of my products.
>>>>>>>> I'm using 3 fields - price, price2 and Direct cost. So, I can
>>>>>>>> modify my template to show price and price2 but Direct cost.
>>>>>>>> How can i made it?
>>>>>>>>
>>>>> For Direct cost you have the marker
>>>>> ###PRODUCT_DIRECTCOST###
>>>>>
>>>>> - Franz
>>>>>
>>>> Seems like this marker doesn't work. I tried some variations of
>>>> this but nothing happens.
>>>
>>> Unfortunately this is missing in the code.
>>>
>>> It should be treated like the price:
>>> Direct cost: ###DIRECTCOST_TAX###
>>>
>>> add the following lines to getItemMarkerArray in
>>> tt_products/model/class.tx_ttproducts_article_base.php
>>>
>>> $markerArray['###DIRECTCOST_TAX###'] =
>>>

$this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],1
$row['tax'],$this->conf['TAXincluded'])));
>>>
>>> $markerArray['###DIRECTCOST_NO_TAX###'] =
>>>

$this->pibase->price->printPrice($this->pibase->price->priceFormat($this->pibase->price->getPrice($row['directcost'],0
$row['tax'],$this->conf['TAXincluded'])));
>>>
>>>
>>>
>>> - 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!
 

Lesezeichen

Themen-Optionen
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] setting a delivery price per item + a basic price fordelivery Corrado typo3-project-tt-products@lists.netfielders.de 1 03.05.2007 07:44
[TYPO3-shop] best-price plattform Stephan Petzl typo3-project-tt-products@lists.netfielders.de 0 11.04.2007 09:47
[TYPO3-shop] multi price for products Stephan Petzl typo3-project-tt-products@lists.netfielders.de 3 21.03.2007 16:21
[TYPO3-shop] tt_products order_list template and order cost Igor Pstyga typo3-project-tt-products@lists.netfielders.de 0 13.02.2007 18:36
[TYPO3-shop] price based on FE group? Horn Gábor typo3-project-tt-products@lists.netfielders.de 4 05.01.2007 17:40


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:36 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

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 75 76 77