- Posts: 2
- Thank you received: 0
Any questions about Documents Sellers, post it here .
Redirection to cart page
- Asim
- Topic Author
- Offline
- New Member
Less
More
12 years 9 months ago #14488
by Asim
Redirection to cart page was created by Asim
hi,
Having little problem here while testing the component on local server as mentioned in the point 2 below. Please have a look.
In the configuration settings I set the "Purchase Document" to register user.
1.when "order it" button is clicked it opens up the joomla user login form page.. which is fine
2. here is the little problem. If I click the long in info WITHOUT entering any info into the user and pass field. It still redirect to the cart page with the customer info form. And Joomla error message "Username and password do not match or you do not have an account yet." shows.It should stay there on login form without adding any product to cart unless user is already registered and filling the proper info in the login form.
Any idea why it is behaving that way. I'll appreciate your support.
Thanks
Having little problem here while testing the component on local server as mentioned in the point 2 below. Please have a look.
In the configuration settings I set the "Purchase Document" to register user.
1.when "order it" button is clicked it opens up the joomla user login form page.. which is fine
2. here is the little problem. If I click the long in info WITHOUT entering any info into the user and pass field. It still redirect to the cart page with the customer info form. And Joomla error message "Username and password do not match or you do not have an account yet." shows.It should stay there on login form without adding any product to cart unless user is already registered and filling the proper info in the login form.
Any idea why it is behaving that way. I'll appreciate your support.
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 9 months ago #14504
by Tuan Pham Ngoc
=> I am afraid of this is a bug in Joomla core code and we cannot change it. Basically, as you can see, the Login Page and Login process is handled by Joomla core com_users component. DMS just send a parameter to tell Joomla that after users successfully logged in, redirect users to the given URL. In your case, if you don't enter correct login information, Joomla should keep you in the page but it redirects users to DMS page which is not good. As I said, it is a Joomla core component and in this case, we cannot fix it (I will report this bug to Joomla) .
Hope my explanation is clear to you .
Regards,
Tuan
Replied by Tuan Pham Ngoc on topic Re: Redirection to cart page
2. here is the little problem. If I click the long in info WITHOUT entering any info into the user and pass field. It still redirect to the cart page with the customer info form. And Joomla error message "Username and password do not match or you do not have an account yet." shows.It should stay there on login form without adding any product to cart unless user is already registered and filling the proper info in the login form.
=> I am afraid of this is a bug in Joomla core code and we cannot change it. Basically, as you can see, the Login Page and Login process is handled by Joomla core com_users component. DMS just send a parameter to tell Joomla that after users successfully logged in, redirect users to the given URL. In your case, if you don't enter correct login information, Joomla should keep you in the page but it redirects users to DMS page which is not good. As I said, it is a Joomla core component and in this case, we cannot fix it (I will report this bug to Joomla) .
Hope my explanation is clear to you .
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.