[TYPO3-commerce] price per kg (Grundpreis)

Michael360 info at inxs-media.de
Fri Jul 8 10:26:17 CEST 2011


Thats excatly the reason why i wrote down my solution.
These questions were often be decribed in various german Typo3 forums,
will answering when i got time for.


Just one more question:

Is it possible to recieve only one value instead of the list ?
like

###ARTICLE_ATTRIBUTE("Grundpreis")###


The advantage would be that somebody can set the values to different 
positions....in my case the price per kilo next to the normal price.


thx for support

Michael






Am 07.07.2011 15:38, schrieb Morten Haggren:
> Hi Michael,
>
> Glad to hear that you worked it out, and thank you for posting your
> findings back to the list so google will have the answer for the next
> person with that problem :)
>
>
> On 2011-07-06 18:38, Michael360 wrote:
>> finally got it, forgot marker
>> ###SUBPART_ARTICLE_ATTRIBUTES##
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Am 06.07.2011 16:35, schrieb Michael360:
>>> Thx for the answer.
>>>
>>> Im using the "price per kg" only in a few products/articles and i only
>>> want to display it (easiest way for me noob, calculating with hooks are
>>> too difficult in that moment). So i read more of attributes and decided
>>> to use a can attribute.
>>>
>>> So i created a attribute "Grundpreis"
>>> - Outputformat: Float
>>> - Unit: Euro/kg
>>> - no valuelist
>>>
>>> and attached that as a "can" attribute to my product.
>>> This product has also a "select" attribute to generate the different
>>> articles.
>>>
>>> After this i can add values to my articles in the BE.
>>>
>>>
>>> Ok fine, but my problem is now that the can attribute is not displayed
>>> my listview and detailview or in the basket.
>>>
>>>
>>> How can i display the can values in the listviews / details and in the
>>> basket ?
>>>
>>>
>>>
>>> regards
>>>
>>> Michael
>>> *confused* ;-)
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Am 05.07.2011 08:13, schrieb Morten Haggren:
>>>> Hello Michael,
>>>>
>>>> http://lists.typo3.org/pipermail/typo3-project-commerce/2007-February/000023.html
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> How ever if you want it to do something other than being displayed you
>>>> would need a special module for that.
>>>>
>>>> There are plenty of ways to hook into commerce so you wont need to
>>>> rewrite it, alot of the hooks are documentet here;
>>>>
>>>> http://forge.typo3.org/projects/extension-commerce/repository/raw/trunk/doc/hooks.html
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> But often as not you'd need to read the source code aswell
>>>>
>>>> /Morten Haggren
>>>>
>>>> On 2011-07-04 17:52, Michael360 wrote:
>>>>> Hello List,
>>>>> can somebody give me a hint where i can set price per kg / price per
>>>>> litre ?
>>>>>
>>>>> Cant find tutorials on the net.
>>>>>
>>>>>
>>>>> regards
>>>>>
>>>>> Michael
>>>>
>>>>
>>>
>>
>
>



More information about the TYPO3-project-commerce mailing list