[TYPO3-commerce] attribute value empty

Siddhesh siddesh.savant at lelesys.com
Thu Jun 2 13:22:43 CEST 2011


On Thursday 02 June 2011 03:42 PM, Torben Hansen - Skyfillers wrote:
> Hello,
>
> there is a good example on how to create variable delivery costs in the TYPO3 commerce wiki.
>
> http://wiki.typo3.org/Commerce/Tutorial/VariableDeliveryCost/
>
> I´ve used this to extend commerce to calculate delivery costs based on the article-weight. I did´nt store the article weight in an attribute, but extended the table tx_commerce_article with extra fields, so you don´t have to do lookups on the attribute-values for every article.
>
> Best regards
> Torben
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: typo3-project-commerce-bounces at lists.typo3.org [mailto:typo3-project-
>> commerce-bounces at lists.typo3.org] Im Auftrag von Siddhesh
>> Gesendet: Donnerstag, 2. Juni 2011 07:26
>> An: typo3-project-commerce at lists.typo3.org
>> Betreff: [TYPO3-commerce] attribute value empty
>>
>> Hello list..
>> I am calculating shipping cost depending on weight.i have created a product
>> and 3 articles for that.and each article i have assigned a weight by creating
>> attribute.I have to make calculation of shiping on checkout page.For that i am
>> making use of following hook
>>
>> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['commerce/li/class.tx_commerce
>> _basket.php']['load_data_from_database'][]='EXT:commerce_shipping/pi1/clas
>> s.tx_commerceshipping_pi1.php:&tx_commerceshipping_pi1';
>>
>> this is the function
>>
>> function processMarkerBasketInformation($markerArray,&$baskoj,&$val)
>>
>> When i do print_r($baskoj)i dont find any attribute value.It gives an empty
>> array.
>>
>> Anyone cam plese help me out...
>>
>> Thanks in Advance
>> _______________________________________________
>> TYPO3-project-commerce mailing list
>> TYPO3-project-commerce at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
Hello Torban
Thanks a lot for reply.That can be one of the Solution.But i want to Use 
the attributes.I think its wonderful feature out there..Will try out.If 
i find the solution i will post it here.

thanks
Siddesh


More information about the TYPO3-project-commerce mailing list