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

Extra Field to show on Email receipt only

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 03-23-2005, 05:34 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default Extra Field to show on Email receipt only

I need someone to add the following feature to my Gold 4.0.12 ASAP.

I need a field added to my items. The information in this field needs to NOT show up on the shopper end of the cart. It instead needs to be included in an email when the item is purchased. The information needs to be specific to an item. It may or may not be in each product, but when it is, it needs to be included in the invoice, ESD email, or new email.

I will pay a very reasonable rate. Please PM me if you're interested and able to do this in the next week, or if you have questions.

Thanks,
Jeff
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #2  
Old 03-24-2005, 04:37 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

You could just add an "extra field".

Then just change your email tpl's to include that extra field.

Set "show" = N, and it wont appear on the customer side.
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #3  
Old 03-24-2005, 02:16 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default Field names

ETInteractive, thanks for the help.

Only question I have is, how do I refer to the extra field in the email templates? What's the coding to call the field?

Thanks!
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #4  
Old 03-24-2005, 05:26 PM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

w/o looking into v4 tpls.

try
Code:
$product.param00

the number 00 changes based on how many extra fields you have.

starts 00, 01, 02 etc...

ill try to look in the am, if that dont work.
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #5  
Old 03-24-2005, 05:33 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default Thanks

Thanks for the followup. No luck with that.

Any other ideas?
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #6  
Old 03-25-2005, 04:34 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

{$extra_fields[field].field}
{$extra_fields[field].field_value}

you will have to play with the value for [field]

try param00, or the paramater name like "my_extra" whatever u called it.

you can find more info in
/skin1/modules/Extra_Fields/
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #7  
Old 03-25-2005, 09:57 AM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default hmm

Thanks again. Still no luck in getting them to show anything.

I tried {$extra_fields[param00].field_value}, {$extra_fields[param01].field_value} and {$extra_fields[test].field_value}

Any other ideas?
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #8  
Old 03-25-2005, 11:07 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

i guess you could try

{$extra_fields[field].field}

see what that outputs.
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #9  
Old 03-25-2005, 12:00 PM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default ugh

Yeah, I tried that too. Nothing.
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #10  
Old 03-25-2005, 12:12 PM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

{section name=field loop=$extra_fields}
{$extra_fields[field].field} {$extra_fields[field].field_value}
{/if}
{/section}

im about out of ideas.
__________________
ETInteractive.com
X-Cart 3.5.x
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 05:30 PM.

   

 
X-Cart forums © 2001-2020