X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Modifying Text for Different Orders (CC, Phone, Fax, etc.) (https://forum.x-cart.com/showthread.php?t=3049)

loopit 06-05-2003 01:41 PM

Modifying Text for Different Orders (CC, Phone, Fax, etc.)
 
Is there anyway that I can have a different message appear on the confirmation page and email so if a customer pays by CC, it will say order processed, but if they selected the phone or fax option, it will say, you will need to call/fax your order to xxxxxx in order for your order to be completed?

It's kind of misleading to say it was completed because customers would think they were getting it for free!


Jeff

wnc2 06-06-2003 02:38 AM

i used this code to make different text if customer pays via credit card or bank transfert, you can easily customize to fit your needs:

i edited "order_customer_processed.tpl" email is sent automatically when you set the order to "processed"

==============================================
{if $order.payment_method eq "Carta di Credito"}
Per effettuare il pagamento con carta di credito, vai alla pagina seguente:

http://www.wnc2.net/payments/{$order.lastname}000{$order.orderid}.htm

la pagina ц╗ precompilata con il tuo numero di ordine e l'importo totale, cliccando su acquista verrai trasferito sul server protetto di Syspay.
{/if}
{if $order.payment_method eq "Pagamento Anticipato"}
Questi sono gli estremi per il pagamento tramite bonifico bancario/bollettino postale
CCP Nб╟: XXXXXX
intestato a: Pierani Davide
ABI: 07601 - CAB: 01400 - CIN: F
Causale: Ordine WNC2 #{$order.lastname}000{$order.orderid}

Per velocizzare l'evasione dell'ordine ti suggeriamo di inviarci una copia leggibile della ricevuta di pagamento

via fax: 0185-345346
via email: wnc2@wnc2.net
{/if}
==============================================

loopit 06-06-2003 06:33 AM

What would I use for the different payment methods in the if statements?

{if $order.payment_method eq "Credit Card"}

{if $order.payment_method eq "Phone"}

{if $order.payment_method eq "Fax"}

wnc2 06-07-2003 04:11 AM

not sure what you mean, i'm italian, my english is cheap, but i think you mean this:

if the customer pays via credit card, you can:
1) set directly order to "completed"
2)if you want send processed notification anyway, send a blank message


{if $order.payment_method eq "Credit Card"}

you can delete this option or leave blank (for future use) or write down some "thanks" :-)

{/if}
{if $order.payment_method eq "Phone"}

to order by phone call: 214-4567 09:05 ET 7/7

{/if}
{if $order.payment_method eq "Fax"}

to order by FAX call: 214-6789 24/24 7/7ц╧

{/if}

hope this helps :-)


All times are GMT -8. The time now is 02:47 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.