Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Customer Login Extra Fields
Author « Topic »  

Phil
ECT Moderator

United Kingdom
7715 Posts

Posted - 10/28/2017 :  01:33:18  
Hi Andy,
Are the extra fields still available in version 6.7.2?
I've just added the two parameters below and no extra fields are present in the admin.
$extraclientfield1;
$extraclientfield2;



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Andy
ECT Moderator

95440 Posts

Posted - 10/28/2017 :  02:22:10  
Hi Phil

I don't think anything has changed there but I'll check my test site for you.

Andy

Please feel free to review / rate our software

Phil
ECT Moderator

United Kingdom
7715 Posts

Posted - 10/28/2017 :  02:28:32  
Hi Andy,
It's present in the code in the incclientlog.php file but they're definitely not appearing for some reason unless I've missed something.

<?php }
if(trim(@$extraclientfield1)!=''){ ?>
<tr>
<td align="right" height="22"><strong><?php print $extraclientfield1?>:</strong></td>
<td align="left"><input type="text" name="clientCustom1" size="30" value="<?php print $clientCustom1?>" /></td>
</tr>



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Andy
ECT Moderator

95440 Posts

Posted - 10/28/2017 :  02:30:09  
That works fine for me. Make sure you have the format correct

$extraclientfield1="Test 1";
$extraclientfield2="Test 2";

or use $GLOBALS for a wordpress site

Andy

Please feel free to review / rate our software

Phil
ECT Moderator

United Kingdom
7715 Posts

Posted - 10/28/2017 :  02:31:00  
Ahhh - you have to name them

$extraclientfield1='test';

Sorry!!!



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000