Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Fax Ordering with a printable payment info page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-29-2005, 11:11 AM
 
pcarcare pcarcare is offline
 

eXpert
  
Join Date: Jun 2004
Location: Salt Lake City, Utah
Posts: 230
 

Default Fax Ordering with a printable payment info page

Hi-

Does anybody know how I can add a link to a printable fax order form next to the "fax ordering" option during checkout.

What file do I need to edit?

Also, I have been using FrontPage to edit xcart templates. With some files this really doesn't work. Does anybody know of a free editor that works good for editing xcart files?

Thanks
__________________
X-cart gold 4.5.2 (live)
X-payments 1.0.5

http://www.professionalcarcare.com
Your online source for all your car care needs
Reply With Quote
  #2  
Old 06-29-2005, 11:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Please don't double post, I have removed your other post.

Do you want the printable form to be next to the actual fax ordering option on the payment method selection screen or at the final stage of checkout?

As for free editors...there really is no substitute for Dreamweaver IMHO, but someone recently posted this:

http://forum.x-cart.com/viewtopic.php?t=20298

Don't know if it works with Smarty, which is the problem with free editors.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-29-2005, 11:46 AM
 
pcarcare pcarcare is offline
 

eXpert
  
Join Date: Jun 2004
Location: Salt Lake City, Utah
Posts: 230
 

Default

I don't think I double posted. I posted an other topic on egoods.

I would like the link to be next to the "fax ordering" on the payment option.

Thanks
__________________
X-cart gold 4.5.2 (live)
X-payments 1.0.5

http://www.professionalcarcare.com
Your online source for all your car care needs
Reply With Quote
  #4  
Old 06-29-2005, 11:50 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Not sure about your version, but in the new version that area is controlled by checkout.tpl, down near the bottom. You could put in an {if} statement that would add a link next to the Fax payment method.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 07-05-2005, 07:50 AM
 
Allan Martel Allan Martel is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 72
 

Default

I use Araneae which is a free text editor and it has served me well for years.

You can get it here:

http://www.ornj.net/software/araneae/
__________________
____________
____________

X-Cart v 4.0.14
X-Cart v 4.0.11
____________
____________
Reply With Quote
  #6  
Old 07-05-2005, 08:15 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

What would be even better would be upon chooseing fax payment method and then clicking on submit (which you would normally do if paying via CC) when submit is clicked goes to new page with basically the same information that is contained in invoice BUT with extra space and details included so that they can just fill in and then fax off.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #7  
Old 07-05-2005, 04:23 PM
 
Bella Forma Bella Forma is offline
 

Senior Member
  
Join Date: Nov 2004
Location: Australia
Posts: 150
 

Default

I just have the following code in my skin1/mail/html/order_invoice.tpl

Code:
{*** Show payment information for queued invoices***} {if $order.status eq "Q"} <TR> <TD colspan="3"></TD> </TR> <TR> <TD width="45%" height="25">{$lng.lbl_order_payment_instructions}</TD> <TD colspan="2" width="55%"></TD> </TR> <TR> <TD bgColor="#000000" height="2">[img]{$ImagesDir}/spacer_black.gif[/img]</TD> <TD colspan="2">[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> {if $order.payment_method eq "Money Order" || ($order.payment_method eq "Cheque (manual processing)")} <TR> <TD colspan="3"> {$lng.lbl_order_chq_mo_instructions}</TD> </TR> {/if} {if $order.payment_method eq "Direct Deposit"} <TR> <TD colspan="3"> {$lng.lbl_order_dd_instructions}</TD> </TR> {/if} {if $order.payment_method eq "Phone Ordering"} <TR> <TD colspan="3"> {$lng.lbl_order_phone_instructions}</TD> </TR> {/if} {if $order.payment_method eq "Fax Ordering"} <TR> <TD colspan="3"> {$lng.lbl_order_fax_instructions} {$config.Company.company_fax} </TD> </TR> <TR> <TD colspan="3">Cardholders Name (as shown on card):____________________________________________________ </TD> </TR> <TR> <TD colspan="3">Card Number:___________________________________ Expiry Date:______/___________ </TD> </TR> <TR> <TD colspan="3">CVN Number (optional):_________ Cardholders Signature:___________________________________</TD> </TR> {/if} {/if}

Which will depending on the payment type selected display instructions in the existing 'Payment Instructions' section. It will only do this for invoices with a status of queued.

I don't know how your version handles the payment but you might be able to apply the same principle to your invoice template? Hope that helps.
__________________
X-Cart Gold 4.0.12
X-AOM, X-RMA, X-FancyCat
Apache/Linux Server
PHP 4.3.8
Reply With Quote
  #8  
Old 07-15-2005, 12:42 PM
 
pcarcare pcarcare is offline
 

eXpert
  
Join Date: Jun 2004
Location: Salt Lake City, Utah
Posts: 230
 

Default

Worked great, thanks for the help!
__________________
X-cart gold 4.5.2 (live)
X-payments 1.0.5

http://www.professionalcarcare.com
Your online source for all your car care needs
Reply With Quote
  #9  
Old 03-23-2007, 12:46 AM
 
Scrapbooker Scrapbooker is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 52
 

Default Re: Fax Ordering with a printable payment info page

Hi pcarare and Bella Forma,

I know this has looked at for quite some time but this is of interest to us and our checkout/invoice section of xcart. Could you let me know where abouts in the code this sits? I added it to the end of my tpl but alas had nothing show up!

Cheers

Edit:- Sorry my bad, changed /skin1/mail/order_invoice.tpl rather than going into the html sub dir. With a few tweaks it work great! Thanks!
__________________
Sean Doohan
www.scrapbookingwonders.com.au
Sydney, Australia
x-cart: v4.0.19
cuteftp
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:23 AM.

   

 
X-Cart forums © 2001-2020