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

New Custom Order Invoice

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #61  
Old 03-10-2004, 08:13 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

Excellent!

Thanks!!!

__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #62  
Old 03-11-2004, 06:16 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

I do see one issue

You do NOT display customer notes anywhere on the order.

any reason?

Thank
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #63  
Old 03-23-2004, 06:43 AM
 
Multitoolstore Multitoolstore is offline
 

Member
  
Join Date: Feb 2004
Posts: 26
 

Default

Hi

Anybody know how to to get it to call a different set of templates when i click the 'print invoice' button so i can still keep my emails as plain text?

Thanks
__________________
X-Cart 4.0.17
PHP 4.3.10
MYSQL 3.23.54
Reply With Quote
  #64  
Old 03-26-2004, 09:50 PM
 
preston preston is offline
 

Member
  
Join Date: Feb 2004
Posts: 10
 

Default

Quote:
Anybody know how to to get it to call a different set of templates when i click the 'print invoice' button so i can still keep my emails as plain text?"

This works with 3.5.4 and should work with 3.5.5


Make a copy of the original /skin1/mail/order_invoice.tpl and the /skin1/mail/order_data.tpl. Rename them to order_invoice_email.tpl and order_data_email.tpl.

In the order_invoice_email.tpl make this change the line near to bottom of the file.
Quote:
Change the line
{include file="mail/order_data.tpl"}

to

{include file="mail/order_data_email.tpl"}

Next edit the skin1/mail/order_notification.tpl as follows.

Quote:
Change the line
{include file="mail/order_invoice.tpl"}

to

{include file="mail/order_invoice_email.tpl"}

Place all these files in the skin1/mail folder and you should be good to go.
Reply With Quote
  #65  
Old 04-02-2004, 10:12 AM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default

Hi all,

I'm using Anoak's invoice mod, but I'd like to allow the customer to print this out at the time of completing the order. I thought I'd be clever and just nick the bit of code from the admin screen that allows us to print it out when we send the goods, but it won't allow the customer to print (presumably because they aren't an admin).

Anyone have a way of doing this, because at the moment, IE6 custs off the right hand side of the page and makes it look really scruffy.

Cheers

Dave
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
  #66  
Old 04-24-2004, 09:29 AM
 
pengrus pengrus is offline
 

eXpert
  
Join Date: Feb 2004
Posts: 359
 

Default

I would like to add this Mod into the latest X-cart. But I have question:


Since this is made as HTML email, what will show up if the receipient's email is NOT html enabled? Is there a switch to detect this and make a selection of delievery format?

What is the latest version that works with this?

Thanks!
Reply With Quote
  #67  
Old 04-27-2004, 04:58 AM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default

Hi

Anyone give me a hand with this please?

My Product Options show up as one long line, but the pics earlier in the thread show each option on separate lines. The line of code in question seems to be
Code:
<td width="42%" height="30" valign="top" colspan="2"><font face="Tahoma">{$products[prod_num].product_options|replace:"/n":" /n"}</font></td>
which looks like it should produce a line break, but it definitely doesn't.

Anyone know how to make the line breaks appear? It's on the 3.5.3 cart.

Cheers

Dave
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
  #68  
Old 04-29-2004, 09:15 AM
 
jeremye jeremye is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Philadelphia, PA
Posts: 158
 

Default

Quote:
Originally Posted by daveb1
My Product Options show up as one long line, but the pics earlier in the thread show each option on separate lines. The line of code in question seems to be
Code:
<td width="42%" height="30" valign="top" colspan="2"><font face="Tahoma">{$products[prod_num].product_options|replace:"/n":" /n"}</font></td>
which looks like it should produce a line break, but it definitely doesn't.

Anyone know how to make the line breaks appear? It's on the 3.5.3 cart.

Ok, this should be easy. In your code, every time you use "/n" it should be "\n". Try changing them to \n as follows:

Code:
<td width="42%" height="30" valign="top" colspan="2"><font face="Tahoma">{$products[prod_num].product_options|replace:"\n":" \n"}</font></td>

That should do it.
__________________
Jeremy
X-Cart Gold v3.4.14 [Linux/Apache]
Heavily Modded
Reply With Quote
  #69  
Old 04-29-2004, 09:16 AM
 
jeremye jeremye is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Philadelphia, PA
Posts: 158
 

Default

Just implemented the invoice mod and it works great! Thanks!
__________________
Jeremy
X-Cart Gold v3.4.14 [Linux/Apache]
Heavily Modded
Reply With Quote
  #70  
Old 04-29-2004, 11:38 AM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default

Thanks Jeremye... worked like a charm!

Dave
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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:20 AM.

   

 
X-Cart forums © 2001-2020