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

Allowing affiliates to log in to regular store

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-12-2008, 08:27 AM
 
BodyBalance BodyBalance is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 44
 

Default Allowing affiliates to log in to regular store

I recently purchased X-Affiliate after reading so many things about it, but there aren't really a whole lot of options for x-cart.

Anyways, what I am trying to do is allow the affiliates to log in to the main site with the registration info they made when they signed up to be an affiliate. I would also like to apply a different pricing system for them so they can't purchase from the site at a discounted price.

I looked in the sql database and collected the following information.

Regular customers have

Usertype of C


If they have distributor pricing, they will have

membership_id of 2

If they are registered as a partner, the Usertype will now be B and pending_plan will decide which kind of affiliate they are.

I have 2 different affiliate plans so pending_plan will either be 1 or 2.

Is it possible to make the main store allow usertype B to enter the store?

It is kind of difficult to explain, but I did the best I could.

Anyone have any suggestions?
__________________
Version 4.1.9
Reply With Quote
  #2  
Old 09-16-2008, 06:36 AM
 
BodyBalance BodyBalance is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 44
 

Default Re: Allowing affiliates to log in to regular store

anyone have any input on this matter?
__________________
Version 4.1.9
Reply With Quote
  #3  
Old 09-25-2013, 09:41 AM
  Blainevk's Avatar 
Blainevk Blainevk is offline
 

Senior Member
  
Join Date: Dec 2004
Location: Atlanta, GA
Posts: 162
 

Default Re: Allowing affiliates to log in to regular store

I'm curious about the same thing.

Can Partners Create an Affiliate Account and also Shop with that account?

-OR-

do they have to also create a Customer Account to be able to purchase products?

I'm hoping they can do both with the same Partner Account.

Looking forward to a response.
__________________
Blaine

X-Cart Multi-vendor 5.4.1.35
PHP version: 8.1

Blaine's Travel Club - http://blainestravelclub.com

Collect Travel Points - http://blainestravelclub.com/travelpoints/rewards/

Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/

Grow Your Business - http://blainestravelclub.com/business/

Making Money & Fun - http://blainestravelclub.com/travelers/

Charitable Fun-razing - http://blainestravelclub.com/fun-razors
Reply With Quote
  #4  
Old 09-25-2013, 01:20 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Allowing affiliates to log in to regular store

It could certainly be done with enough work, but X-cart is not designed this way. Customer, Admin, Affiliate, and Provider accounts are all separate. I do believe that you can use the same account information for both a customer and partner account, but the accounts must be created separately.

I think the easiest way to make this happen is to insert 2 records into the database when a partner registers, one for partner and one for customer. Then they will actually have two accounts, but only have to register once.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
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 05:25 PM.

   

 
X-Cart forums © 2001-2020