DaVinci Technology GmbH

› LOGIN

Web Business Shop-Software - Webshop Onlineshop Software Headline
SUCHE

› HOME › FORUM

› ZURÜCK

Import & Export

Weitere Themen

Import & Export

Seiten: 1 | Beiträge 1 - 2 von 2

Preisdarstellung des ek (Einkaufpreises)

04.12.2011 22:11:21 von dkw (49 Beiträge seit 15.10.2007)

Wenn wir einen Export der Produkte auslösen werden die VK Preise richtig mit Nachkommastellen angezeigt.
Warum geht das mit den EK Preisen nicht? Nachkommastellen werden zwar angezeigt, aber da steht immer nur 00 drin.
Mit den "num" oder "int" formatierungen hat das wohl nix zutun.

Hier meine Exportvorlage:

------------------

create table Produkte (Artikelnummer text, Lagerort text, Bezeichnung text, VKPreis number, veh number, EKPreis number, Gewicht text, Lagerbestand number, bild text, produktgruppe text)n
<!-- wbc:begin table="webserver" where="id>0" select="www,wwwdir" maxrows="1" -->
<!-- wbc:begin write="1" table="items as b left join itemnodes as a on a.pid=b.pid left join itemprices as p on p.pid=b.pid and p.typ='v' and p.uid=0 and p.menge=1 left join properties as d on d.typ='md' and d.kurzbez='Normalbild' left join media as c on c.typ='ITEM' and c.lid=b.pid and c.mid=d.id" counton="b.pid" select="a.rid,b.*,c.bezeichnung as bild,p.preis,p.spreis" where="not a.rid is null and ifnull(b.parentid,0)=0 and b.public>0 and b.aktiv>0 and p.preis>0 group by b.pid" order="b.produktid" url="{www}{wwwdir}" -->
insert into Produkte (Artikelnummer, Lagerort, Bezeichnung, VKPreis, veh, EKPreis, Gewicht, Lagerbestand, bild, produktgruppe) values ('{produktid}','{barcode}','{bezeichnung}',{preis:num},'{veh:int}','{ek:num}','{gewicht:num}',{lbestand:num},'
<!-- wbcif:begin query="data" var="bild" -->
http://{wbc.url}{bild}
<!-- wbcif:end -->','
<!-- wbc:begin table="itemcats" where="rid={a.rid}" callextra="1" style="catpfad" -->
<!-- wbcif:begin query="data" var="parentid" operator="#" value="0" alt="|" --><!-- wbcif:end -->
{bezeichnung}
<!-- wbc:end -->'
)
<!-- wbc:begin table="properties" where="id>0" select="keyname" maxrows="1" counter="{produktid}" -->
<!-- wbc:end -->n
<!-- wbc:end -->
<!-- wbc:end -->


-----------------

Hat jemand eine Idee.

Grüße dkw

re: Preisdarstellung des ek (Einkaufpreises)

13.12.2011 08:57:41 von dkw (49 Beiträge seit 15.10.2007)

Lösung: Es gibt eine modifizierte Exportvorlage beim Support. Einfach mal anfragen.

Grüße dkw

Home Impressum Disclaimer 

© 2012 Shopsoftware Webshop Software Web Business Shop - DaVinci Technology GmbH