[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
 OpenForum.dk • Vis emne - Produkt nummer i Ordrebekræftigelse

Produkt nummer i Ordrebekræftigelse

Længere beskrivelser af hvordan man nemmest kommer gennem "junglen" :o).
Dette forum er ikke beregnet til spørgsmål.
Tanken er at den kan blive en manual - på sigt - mens Tips Og Tricks er til kortere fif.

Redaktør: Redaktionen

Produkt nummer i Ordrebekræftigelse

Indlægaf spunk187 » 2007-05-7 15:25

spunk187
Novice
Novice
 
Indlæg: 26
Tilmeldt: 2007-05-1 15:19

Indlægaf mbaek » 2007-05-7 22:19

mbaek
Ekspert medlem
Ekspert medlem
 
Indlæg: 1024
Tilmeldt: 2006-10-4 18:45
Geografisk sted: Tilst

Indlægaf Michael » 2007-05-7 23:11

Demoshop : www.The-Exterminator.dk
_________________
Knapper til din shop :
_________________
Contri jeg har været med i : http://addons.oscommerce.com/profile/94952
Brugeravatar
Michael
Ekspert medlem
Ekspert medlem
 
Indlæg: 1593
Tilmeldt: 2006-01-15 10:43
Geografisk sted: Ballerup

Indlægaf spunk187 » 2007-05-8 16:45

spunk187
Novice
Novice
 
Indlæg: 26
Tilmeldt: 2007-05-1 15:19

Indlægaf Michael » 2007-05-8 16:53

Demoshop : www.The-Exterminator.dk
_________________
Knapper til din shop :
_________________
Contri jeg har været med i : http://addons.oscommerce.com/profile/94952
Brugeravatar
Michael
Ekspert medlem
Ekspert medlem
 
Indlæg: 1593
Tilmeldt: 2006-01-15 10:43
Geografisk sted: Ballerup

Indlægaf spunk187 » 2007-05-8 17:07

spunk187
Novice
Novice
 
Indlæg: 26
Tilmeldt: 2007-05-1 15:19

Indlægaf ladylone » 2007-05-9 19:13

MVH
Claus
ladylone
Oldtimer :o)
Oldtimer :o)
 
Indlæg: 851
Tilmeldt: 2006-02-25 17:24
Geografisk sted: Hillerød

Indlægaf spunk187 » 2007-05-11 09:19

Umiddelbart ved jeg ikke hvad contrib er!! Men når jeg skriver SQL PRODUCTS_R_NUMBER, så mener jeg bare at det er denne tekst jeg vil have med i ordrebekræftigelsen. Hvis jeg bare kan få et eller andet sat ind, kan jeg selv finde frem til hvilken kolonne den skal tage det fra.
spunk187
Novice
Novice
 
Indlæg: 26
Tilmeldt: 2007-05-1 15:19

Indlægaf ladylone » 2007-05-13 20:35

Hej spunk187

En contrib er et af de mange tilføjelses-moduler der kan downloades på www.oscommerce.com.

Følgende er fra catalog/checkout_process.php

...
...
$products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";
...
...
$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .
EMAIL_SEPARATOR . "\n" .
$products_ordered .
EMAIL_SEPARATOR . "\n";
...
...

Der er her den første ordrebekræftelse bliver til, og her er hvor du gerne vil have indsat noget mere.
$products_ordered .= $order->products[$i]['qty'] . ' x ' . 'EKSTRA TEKST' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";

Men som du også kan se, så indgår modelnummeret allerede mellem paranteserne, hvis du har indtastet det i forbindelse med oprettelsen af produktet.
MVH
Claus
ladylone
Oldtimer :o)
Oldtimer :o)
 
Indlæg: 851
Tilmeldt: 2006-02-25 17:24
Geografisk sted: Hillerød

Indlægaf spunk187 » 2007-05-14 11:42

Tak for hjælpen! Skulle jo bare ændre lidt i min database, og dermed blev det jo i realiteten indsat med"model".
spunk187
Novice
Novice
 
Indlæg: 26
Tilmeldt: 2007-05-1 15:19

Indlægaf Michael » 2007-05-14 21:03

Demoshop : www.The-Exterminator.dk
_________________
Knapper til din shop :
_________________
Contri jeg har været med i : http://addons.oscommerce.com/profile/94952
Brugeravatar
Michael
Ekspert medlem
Ekspert medlem
 
Indlæg: 1593
Tilmeldt: 2006-01-15 10:43
Geografisk sted: Ballerup

Indlægaf Lottrup » 2007-08-8 23:19

Du må meget gerne fortælle hvad du fandt frem til.

Jeg skal selv have lavet det samme, dog ikke på ordrebekræftelse men i vores egen odre oversigt. Når man går ind og ser hvad en kunde har bestilt skal der også være et ordre nr, vi så kan sende til vores lagerhotel.
Lær at køre på ethjulet cykel inden det er for sent.

Brugeravatar
Lottrup
Godt igang
Godt igang
 
Indlæg: 69
Tilmeldt: 2006-11-9 01:10
Geografisk sted: Nivå


Tilbage til How-To

Hvem er online

Brugere der læser dette forum: Ingen tilmeldte og 4 gæster

cron