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

Anonymous to registered customer conversion

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #31  
Old 08-13-2013, 11:28 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default Re: Anonymous to registered customer conversion

Quote:
Originally Posted by quietcoolone
i don't store or wish to store customer credit card numbers and if that is the only major difference, then DPM will do. If i got this wrong please point me in the right direction.

BTW, The patch and installation was easy however i can't get the Free module to appears in general setting/modules nor the "create user" button in order details page. I have cleared templates etc but still no love


thanks.

DPM is what you need then.


For the patch, did you run cleanup.php to make sure X-cart clears it's internal cache? Also make sure the SQL patch applied. I'm not seeing it listed in your list of modules. It should be safe to run the sql patch again if you aren't sure.

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #32  
Old 08-13-2013, 11:47 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default Re: Anonymous to registered customer conversion

OK I see the module now in your modules area, have you enabled it? It looks disabled.
Quote:
3rd party modules
Enabled
XPDF
Disabled
BCSE_Unanonymizer

Once you do, you can go to an order that is an anonymous order and you should see that new button. If the order is not anonymous it won't show up.

Let us know!

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #33  
Old 08-13-2013, 11:56 AM
 
quietcoolone quietcoolone is offline
 

Senior Member
  
Join Date: Mar 2011
Posts: 176
 

Default Re: Anonymous to registered customer conversion

Quote:
Originally Posted by BCSE
OK I see the module now in your modules area, have you enabled it? It looks disabled.


Once you do, you can go to an order that is an anonymous order and you should see that new button. If the order is not anonymous it won't show up.

Let us know!

Thanks,

Carrie

Carrie,
success-- works like a charm!!
btw, how do you know what module i have installed?
__________________
Austin!
X-Cart 4.7.7 (old) X-Cart Business 5.3.6.8 (new)
Reply With Quote

The following user thanks quietcoolone for this useful post:
BCSE (08-13-2013)
  #34  
Old 08-13-2013, 12:01 PM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default Re: Anonymous to registered customer conversion

Quote:
Originally Posted by quietcoolone
Carrie,
success-- works like a charm!!
btw, how do you know what module i have installed?


Um.... Many years of knowing X-cart (10+). If you want to email us I can show you. You should probably block a certain file, but really if someone wanted to figure out if you had X-cart or not it wouldn't be that hard. There's a file that lists the modules installed.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #35  
Old 08-13-2013, 12:03 PM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default Re: Anonymous to registered customer conversion

Oh, and glad it's working great! Feel free to post a review on it on our site if you'd like, so others know.

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #36  
Old 08-13-2013, 12:56 PM
 
Dougrun Dougrun is online now
 

X-Adept
  
Join Date: Apr 2012
Posts: 897
 

Default Re: Anonymous to registered customer conversion

FYI, that mod to order_history.php, the line is at the top of my 4.6 file, not the bottom as the install states.

same with the other file.
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote

The following user thanks Dougrun for this useful post:
BCSE (08-14-2013)
  #37  
Old 08-14-2013, 10:29 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default Re: Anonymous to registered customer conversion

Quote:
Originally Posted by Dougrun
FYI, that mod to order_history.php, the line is at the top of my 4.6 file, not the bottom as the install states.

same with the other file.

Yes you're right, it should say towards the top of the file.

Thanks!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #38  
Old 08-31-2013, 02:14 PM
 
quietcoolone quietcoolone is offline
 

Senior Member
  
Join Date: Mar 2011
Posts: 176
 

Default Re: Anonymous to registered customer conversion

I discovered today that this add-on does not work in xcart 4.4.5 if the customer has a "special character" in their names.
For example:
i tried to create a user who's last name is O'Shaughnessy. Xcart would display an error message and shortly after i received the following email:

SQL query : INSERT INTO xcart_customers (`login`, `username`, `password`, `change_password_date`, `usertype`, `change_password`, `activity`, `status`, `language`, `membershipid`, `cart`, `referer`, `last_login`, `first_login`, `firstname`, `lastname`, `email`) VALUES ('***@hotmail.com', '***@hotmail.com', 'B-70c2b68cb973733118d286d5c678d5a6', '1377986143', 'C', 'Y', 'Y', 'Y', 'en', '0', '', '', '1377986143', '1377986143', 'John Doe', 'O'Shaughnessy', '***@hotmail.com')
Error code : 1064
Description : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Shaughnessy', '***@hotmail.com')' at line 1
Request URI: /admin/order.php?orderid=300214&mode=bcse_create_user


Removing the special character allowed the user to be created
__________________
Austin!
X-Cart 4.7.7 (old) X-Cart Business 5.3.6.8 (new)
Reply With Quote
  #39  
Old 09-03-2013, 10:48 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default Re: Anonymous to registered customer conversion

Thanks for the info on that! We'll update the mod and let you guys know when it's ready. Sounds like X-cart's fun_array2insert doesn't 'addslashes' and we need to clean the data before using that function.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #40  
Old 09-03-2013, 12:28 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Anonymous to registered customer conversion

This is how 4.6 does it in func_change_user_password if that helps:
PHP Code:
...
        
func_array2insert(
            
'old_passwords',
            array(
                
'userid'    => $xuserid,
                
'password'  => addslashes($_old_password),
            ),
            
true
        
); 
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 02:19 AM.

   

 
X-Cart forums © 2001-2020