Hello, i have a problem with an article configurator i am developing at the moment.
There is one "Dummy" article in the shop, which the user can configure. The user configured values are stored in the PersistentParameters of the article. One of the PersistentParameters is "nav-nr", which is the real article number in the erp system. If a configured article is added to basket, i use a module to override the getArticle() function in oxbasketitem.php to check if the title of the current article is "Dummy" and if the PersistentParameter "nav-nr" exists. If this is true, the module calculates the price from an additional table and overrides the values for _oArticle (oxprice, oxtitle, oxartnum). In basket.tpl, order.tpl and the order-emails, everything is correct. My problem is, that the new values for oxartnum and oxtitle are not stored in the oxorderarticles table. The price instead, which is also calculated by the module, is stored in oxorderarticles. A single time this morning, the correct values for oxartnum and oxtitle were stored in the database, but i am not able to reconstitute the changes, which where responsible for this single "success" ;) All i know is, that i didn`t change any file except the oxbasketitem module, which contains getArticle() and getTitle() function. Do you have any idea, how to change the title and oxartnum of an article, so that it is even stored in oxorderarticles? Best regards Michael Fritsch
_______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
