DaVinci Technology GmbH

› LOGIN

Web Business Shop-Software - Webshop Onlineshop Software Headline
SUCHE

› HOME › FORUM

› ZURÜCK

Druck- und Mailvorlagen

Weitere Themen

Druck- und Mailvorlagen

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

Druckvorlage Preisliste mit Varianten

17.04.2008 10:34:26 von karli (42 Beiträge seit 07.10.2006)

Hallo,
in der Druckvorlage Preisliste Produktgruppe werden Artikel-Nr.,
Bezeichnung, Meh, Preis und Lagerbestand ausgedruckt,
leider ohne Varianten.
Hat jemand eine Idee oder eine Vorlage, wo die Varianten mit
ausgedruckt werden.
Viele Grüße
Karlheinz

re: Druckvorlage Preisliste mit Varianten

17.04.2008 20:58:48 von Support DaVinci (675 Beiträge seit 01.06.2006)

Hallo Karlheinz,

nachfolgend ein Musterinhalt für den Abschnitt "<!-- wbcprint:body -->" einer solchen Druckvorlage mit Ausgabe der Varianten:

<!-- wbcprint:body -->
<!-- wbc:begin table="itemnodes as d left join items as a on a.pid=d.pid left join itemprices as b on b.pid=a.pid and b.typ='v' and b.menge=1 and b.uid=0 left join properties as meh on meh.id=a.meh left join properties as peh on peh.id=a.peh" counton="a.pid" select="a.*,a.pid as spid,b.*,meh.keyname as meh,peh.keyname as peh" where="d.rid={getnum.rid} and a.parentid=0 and a.aktiv=1" group="d.pid" order="a.produktid" -->
SetDrawColor(128,128,128)
<!-- wbcif:begin query="data" var="varianten" value="1" operator="#" -->
Cell(25,5,'{a.produktid}',1,0,'L',0)
CellMax(115,5,'{a.bezeichnung}',1,0,'L',0)
<!-- wbc:begin table="items as a left join itemprices as b on b.pid=a.pid and b.typ='v' and b.menge=1 and b.uid=0 left join properties as meh on meh.id=a.meh left join properties as peh on peh.id=a.peh" counton="a.pid" select="a.*,b.*,meh.keyname as meh,peh.keyname as peh" where="a.parentid={spid} and a.aktiv=1" order="a.produktid" -->
Ln()
Cell(25,5,'{produktid}',1,0,'L',0)
CellMax(70,5,'{bezeichnung}',1,0,'L',0)
Cell(10,5,'{meh}',1,0,'C',0)
Cell(25,5,'{preis:wrg}',1,0,'R',0)
Cell(10,5,'{peh}',1,0,'R',0)
SaveVar("sumitems",1,1)
<!-- wbc:end -->

<!-- wbcif:end -->
<!-- wbcif:begin query="data" var="varianten" value="0" operator="#" -->
Cell(25,5,'{a.produktid}',1,0,'L',0)
CellMax(70,5,'{a.bezeichnung}',1,0,'L',0)
Cell(10,5,'{meh}',1,0,'C',0)
Cell(25,5,'{preis:wrg}',1,0,'R',0)
Cell(10,5,'{peh}',1,0,'R',0)
SaveVar("sumitems",1,1)
<!-- wbcif:end -->
Ln()
<!-- wbc:end -->

re: re: Druckvorlage Preisliste mit Varianten

18.04.2008 16:12:13 von karli (42 Beiträge seit 07.10.2006)

Hallo,
der Lagerbestand wird leider nicht angezeigt.
Gruß
Karlheinz

re: re: re: Druckvorlage Preisliste mit Varianten

31.08.2009 21:44:12 von bastel-versand.de (14 Beiträge seit 11.10.2006)

Gibt es auch eine Vorlage für die Preisliste, wo die Varianten mit gedruckt werden?
Bei dieser Vorlage für Produktgruppen muss ich ja jede Gruppe einzeln ausdrucken.

re: re: re: re: Druckvorlage Preisliste mit Varianten

16.09.2009 21:11:17 von Gero Hüller (12 Beiträge seit 13.04.2007)

Hallo,

ich habe etwas getüftelt, hier eine Liste aller Produkte inkl. Varianten:

<!-- wbcprint:header1 -->
SetFont('Arial','',8)
SetDrawColor(128,128,128)
SetFillColor(255,255,255)
Cell(40,4,'Preisliste',1,0,'L',0)
Cell(20,4,'{app.datum}',1,0,'L',0)
Cell(20,4,'Seite '.$this->PageNo(),1,0,'L',0)
<!-- wbc:begin table="config" where="id>0" maxrows="1" -->
Cell(105,4,'{firma:nohtml} - {www}',1,0,'L',0)
<!-- wbc:end -->
Ln()
Ln()
SetDrawColor(128,128,128)
SetFillColor(204,204,204)
Cell(15,5,'Artikel-Nr',1,0,'L',1)
Cell(140,5,'Bezeichnung/Text',1,0,'L',1)
Cell(10,5,'MEH',1,0,'C',1)
Cell(13,5,'Preis',1,0,'C',1)
Cell(7,5,'PEH',1,0,'C',1)
Ln()


<!-- wbcprint:header2 -->
SetFont('Arial','',8)
SetDrawColor(128,128,128)
SetFillColor(255,255,255)
Cell(40,4,'Preisliste',1,0,'L',0)
Cell(20,4,'{app.datum}',1,0,'L',0)
Cell(20,4,'Seite '.$this->PageNo(),1,0,'L',0)
<!-- wbc:begin table="config" where="id>0" maxrows="1" -->
Cell(105,4,'{firma:nohtml} - {www}',1,0,'L',0)
<!-- wbc:end -->
Ln()
Ln()
SetDrawColor(128,128,128)
SetFillColor(204,204,204)
Cell(15,5,'Artikel-Nr',1,0,'L',1)
Cell(140,5,'Bezeichnung/Text',1,0,'L',1)
Cell(10,5,'MEH',1,0,'C',1)
Cell(13,5,'Preis',1,0,'C',1)
Cell(7,5,'PEH',1,0,'C',1)
Ln()


<!-- wbcprint:footer2 -->
SetFillColor(204,204,204)
Cell(185,2,'',1,0,'L',1)

<!-- wbcprint:footer3 -->
SetFillColor(204,204,204)
Cell(155,5,'Anzahl Artikel: '.$this->GetVar("sumitems","int"),1,0,'L',1)
Cell(30,5,'',1,0,'L',1)

<!-- wbcprint:body -->
<!-- wbc:begin table="items as a left join itemprices as b on b.pid=a.pid and b.typ='v' and b.menge=1 and b.uid=0 left join properties as meh on meh.id=a.meh left join properties as peh on peh.id=a.peh" counton="a.pid" select="a.*,b.*,meh.keyname as meh,peh.keyname as peh" where="a.parentid=0 and a.aktiv=1" group="a.pid" order="a.produktid" -->
SetDrawColor(128,128,128)
<!-- wbcif:begin query="data" var="varianten" value="1" operator="#" -->
Cell(15,5,'{a.produktid}',1,0,'L',0)
CellMax(140,5,'{a.bezeichnung}',1,0,'L',0)
<!-- wbc:begin table="items as a left join itemprices as b on b.pid=a.pid and b.typ='v' and b.menge=1 and b.uid=0 left join properties as meh on meh.id=a.meh left join properties as peh on peh.id=a.peh" counton="a.pid" select="a.*,b.*,meh.keyname as meh,peh.keyname as peh" where="a.parentid={pid} and a.aktiv=1" order="a.produktid" -->
Ln()
Cell(15,5,'{produktid}',1,0,'L',0)
CellMax(140,5,' - {bezeichnung}',1,0,'L',0)
Cell(10,5,'{meh}',1,0,'C',0)
Cell(13,5,'{preis:wrg}',1,0,'R',0)
Cell(7,5,'{peh}',1,0,'R',0)
SaveVar("sumitems",1,1)
<!-- wbc:end -->

<!-- wbcif:end -->
<!-- wbcif:begin query="data" var="varianten" value="0" operator="#" -->
Cell(15,5,'{a.produktid}',1,0,'L',0)
CellMax(140,5,'{a.bezeichnung}',1,0,'L',0)
Cell(10,5,'{meh}',1,0,'C',0)
Cell(13,5,'{preis:wrg}',1,0,'R',0)
Cell(7,5,'{peh}',1,0,'R',0)
SaveVar("sumitems",1,1)
<!-- wbcif:end -->
Ln()
<!-- wbc:end -->


Grüße
Gero Hüller

re: re: re: re: re: Druckvorlage Preisliste mit Varianten

16.09.2009 22:47:31 von bastel-versand.de (14 Beiträge seit 11.10.2006)

Vielen Dank für die Hilfe.

Aber leider bekomme ich da folgende Fehler angezeigt:

SELECT DISTINCT count(a.pid) as maxzz from items as a left join itemprices as b on b.pid=a.pid and b.typ='v' and b.menge=1 and b.uid=0 left join properties as meh on meh.id=a.meh left join properties as peh on peh.id=a.peh where a.parentid= and a.aktiv=1 order by a.produktid
err:wbc#DB Error: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and a.aktiv=1 order by a.produktid' at line 1SELECT DISTINCT count(a.pid) as maxzz from items as a left join itemprices as b on b.pid=a.pid and b.typ='v' and b.menge=1 and b.uid=0 left join properties as meh on meh.id=a.meh left join properties as peh on peh.id=a.peh where a.parentid= and a.aktiv=1 order by a.produktid

Home Impressum Disclaimer 

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