HomeHome Product Discus... Product Discus...SmithCartSmithCartCustomizing Shopping CartCustomizing Shopping Cart
Previous
 
Next
New Post
10/6/2010 1:12 AM
 

Hi,

I am using self programmed login and registration system in dnn 5.3 comunity version (non dnn login). Is there any possibility to integrate shopping cart with my custom login system?

Kind Regards,

Malik

 
New Post
10/6/2010 1:33 AM
 

Can you provide more detail about how you want to integrate it with the cart.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/6/2010 5:43 AM
 

Hi,

Basically I am using my custom table "UserInfo" from which I verify credentials. In case of successful login I save "UserId" from UserInfo (table) in my User session and use this UserId to Pull user information accross different pages of our website.

You can have a look at http://qa.youchange.com/MemberLogin.aspx . Your UserId is test@youchange.com and Password is "test".

I want the cart should work as good as it is working with dnn login system. We can do appropriate modifications in our code if required.

Thank you very much for your support.

Kind Regards.

 
New Post
10/7/2010 2:08 AM
 

Im still not following what your question is can you be more specific about where in the cart checkout you are looking to integrate your custom login module.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/7/2010 8:12 AM
 

Hi,

Basically I want to pull all mentioned fileds of user information in Smith Shopping Cart payment phase e.g. (First Name, Last Name, Address Line 1, Address Line 2, City, Country ... etc) from my custom "User Table". Moreover, the shopping cart should be able to sense if the user is logged in (guests should not be allowed to place order and should be directed to Register User page instead.)

Your support in this regard is highly appreciated.

Kind Regards,

Malik

 
New Post
10/8/2010 3:51 PM
 

There are 2 session objects that the cart uses that you can access from your cusotm module:

1. CustomerInfo - contains the fields entered by the user in the cart checkout step 1 page and contains the following fields:

private int _CustomerID;
private string _FirstName;
private string _LastName;
private string _Address1;
private string _Address2;
private string _City;
private string _State;
private string _StateText;
private string _Zip;
private string _HomePhone;
private string _CellPhone;
private string _WorkPhone;
private string _Email;
private string _AccountNo;
private string _MaskAccountNo;
private string _ABAExpire;
private string _BillingAdress;
private string _BillingZip;
private string _DNNLogin;
private string _country;
private string _countryText;
private DateTime _DateCreated;
private bool _contact;
private string _ipAddress;
private string _udf;
private string _udtb1;
private string _udtb2;
private DateTime _udDate;
private string _companyname;
int _portalID;

2. BillingAccountInfo - contains the fields entered by the user in the cart checkout step 2 page and contains the following fields:

private string _paymentType;
private string _paymentTypeText;
private string _refID;
private string _accountNumber;
private string _nameOnAccount;
private string _amount;
private string _processDate;
private string _expireDate;
private string _cvv2;
private string _cardHolderAddress;
private string _cardHolderCity;
private string _cardHolderState;
private string _cardHolderZip;
private string _cardHolderCountry;
private string _cardHolderCountryText;
private string _achDescription;
private string _achDescriptionDate;
private string _achRoutingNumber;
private string _poNumber;
private bool _billMeLater;

You should be able to access these session objects from your module to gain access to the all data elements you are looking for.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCustomizing Shopping CartCustomizing Shopping Cart