[TYPO3-commerce] Update prices of all articles
Stephan Petzl
spetzl at gmx.at
Fri Sep 19 16:16:39 CEST 2008
Morten Olesen schrieb:
> Hey Stephan,
>
> What your looking for is $belib->updatePriceXMLFromDatabase($article_id)
> where belib is an instance of tx_commerce_belib and article_id is the id
> of the article you want to update.
>
> This function syncs the price xml of the given article to the actual
> values in the DB.
>
> Happy coding.
>
> /Morten Olesen
>
> Stephan Petzl wrote:
>> Is there a possibillity to update all prices in the DB?
>> I want to set a value of a separate field in the tx_commerce_articles
>> table as price.
>> Since prices are stored in XML i cant do a simple sql-update...
>
>
thanks. solved it another way, overriding the prices on the fly by hooks...
More information about the TYPO3-project-commerce
mailing list