Hi Waldemar,

"Try to work with oxField() like: $oArticle->oxarticles__oxtitle = new 
oxField($sTitle);"

Exactly this was the mistake i have made!

Thank you very much!

Best regards

Michael Fritsch

[cid:[email protected]]<https://plus.google.com/117519057748071624008/posts>


Tel.: +49 641/94460-133
Fax: +49 641/94460-20
[email protected]<mailto:[email protected]>
________________________________
Lieferanschrift für Warensendungen
print-ID GmbH & Co KG
Carl-Benz-Straße 3
35305 Grünberg
________________________________
Postanschrift
print-ID GmbH & Co KG
Karten- & Barcodesysteme
Netanyastraße 5
35394 Gießen

Tel.: +49 641/94460-0
Fax: +49 641/94460-20

[email protected]<mailto:[email protected]>
http://www.print-id.de<http://www.print-id.de/>

Registergericht: Gießen
Registernummer: HRA 3549
Ust-ID: DE813964505

Geschäftsführer:
Johannes Peter Heß
Sven Rühl

Persönlich haftende Gesellschafterin:
print-ID Verwaltungs GmbH
Registergericht Gießen
Registernummer: HRB 6094
________________________________
Diese E-Mail-Mitteilung ist vertraulich und nur für die zuvor genannte(n) 
Person(en) bestimmt. Wenn Sie diese Mitteilung irrtümlicherweise erhalten 
haben, unterrichten Sie bitte unverzüglich den Absender und löschen/entfernen 
Sie sie von Ihrem Computer. Wenn Sie nicht der vorgesehene Empfänger dieser 
Mitteilung sind, ist das Lesen, die Verbreitung, das Drucken oder die 
Veröffentlichung dieser Mitteilung strengstens untersagt. Weder diese 
Information, der eingegebene Name des Absenders, noch irgendein anderer Inhalt 
dieser Mitteilung stellt eine elektronische Unterschrift dar, es sei denn, in 
der Mitteilung wird gesondert auf das Gegenteil hingewiesen.
________________________________
This e-mail message is confidential and is intended only for the person(s) 
named above. If you have received this message in error, please notify the 
sender immediately and delete/remove it from your computer system. Any reading, 
distribution, printing or disclosure of this message is strictly prohibited if 
you are not the intended recipient of this message. Neither this information 
block, the typed name of the sender, nor anything else in this message is 
intended to constitute an electronic signature unless a specific statement to 
the contrary is included in this message.



Von: [email protected] 
[mailto:[email protected]] Im Auftrag von design3000 - IT
Gesendet: Samstag, 9. Februar 2013 15:00
An: [email protected]
Betreff: Re: [oxid-dev-general] i need help with a oxbasketitem module 
[T-6QXJB8GNSU-00]


Hi Michael,

i wrote a similar module. I add a title suffix, change the price and icon.

Examples:
http://www.design-3000.de/Fotoleinwand+mit+Wunschbild.html
http://www.design-3000.de/Geschenkgutschein+25+EUR.html

Show us how do you extend the getArticle() methode.
Maybe you work with $oArticle->oxarticles__oxtitle->value and the 
oxorderarticles class works with rawValue ?

Try to work with oxField() like:

    $oArticle->oxarticles__oxtitle = new oxField($sTitle);

in your getArticle() methode.

Best regards

Waldemar Gerling

IT

[http://www.oxid.design-3000.de/out/d3000/img/design3000_logo.png]

design3000 Vertriebsgesellschaft mbH
Robert-Bosch-Str. 14
64711 Erbach

Tel: +49 (0) 60 62 - 9 18 72 11
Fax: +49 (0) 60 62 - 9 18 72 18

Geschäftsführer: Frank Levita, Felix Vay
Amtsgericht Darmstadt // HRB: 71307 // Ust-IdNr.: DE201696664

www.design3000.de<http://www.design3000.de/> // 
www.koziol-shop.de<http://www.koziol-shop.de/> // 
www.reisenthel.design-3000.de<http://www.reisenthel.design-3000.de/>
www.adhoc-designshop.de<http://www.adhoc-designshop.de/> // 
www.sittingbull-shop.de<http://www.sittingbull-shop.de/> // 
www.menushop.de<http://www.menushop.de/>
www.scheurich-shop.de<http://www.scheurich-shop.de/> // 
www.d3-designblog.de<http://www.d3-designblog.de/>




-----Ursprüngliche Daten-----
Datum: 09.02.2013 09:32:47
Von: ooxi <[email protected]<mailto:[email protected]>>
An: <[email protected]<mailto:[email protected]>>
Betreff: Re: [oxid-dev-general] i need help with a oxbasketitem module
Vorgang: T-6QXJB8GNSU-00

Hi,


This is a very interesting question, but since nobody could provide an adhoc 
answer, i doubt it will be answered at all :(

Perhaps you have a Support contract, then Oxid might help you (based on my 
experiance, they Do)


-- ooxi

Violetland - An open source cross-platform game similar to Crimsonland - 
http://violetland.github.com<http://violetland.github.com/>

Michael Fritsch 
<[email protected]<mailto:[email protected]>> schrieb:
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]<mailto:[email protected]>
http://dir.gmane.org/gmane.comp.php.oxid.general

_______________________________________________
dev-general mailing list
[email protected]<mailto:[email protected]>
http://dir.gmane.org/gmane.comp.php.oxid.general

<<inline: image001.gif>>

_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to