VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gofer123 on November 11, 2014, 04:00:47 AM

Title: Account Maintenance required to logout first
Post by: gofer123 on November 11, 2014, 04:00:47 AM
Hi,
The site has a link from the main menu to Account Maintenance, that works fine but if the Registered user is already login, they have to logout to view their account details then login again! Can't be right?
Please have a look here:  http://www.satoriwebstudio.co.nz/sky-test/index.php/rebate-my-account
Thanks

VirtueMart 2.6.10
Joomla! 2.5.24
PHP 5.3.10
Title: Re: Account Maintenance required to logout first
Post by: Milbo on November 11, 2014, 11:44:14 AM
I try to understand.
"if a registered user is already login"
Usually, if he has data, you should see it in the account maintenance, else you just see his joomla data and you should be able to complete the address.


So you say a registered person logs in, sees nothig, logs out and again in and then he sees the address? Or do you mean, that if someone entered his data in the cart and uses then the accountmaintenance that the data is not already prefilled?
Title: Re: Account Maintenance required to logout first
Post by: gofer123 on November 11, 2014, 19:34:19 PM
Thanks for the reply Milbo, sorry it is confusing.
This is the problem:  a registered person logs in, sees nothig, logs out and again in and then he sees the address?
I don't know if this is relevant, the login in the right hand top is BT login module extension and the login in the left hand side is the Joomla default.
Cheers
Title: Re: Account Maintenance required to logout first
Post by: Milbo on November 11, 2014, 20:13:57 PM
Quote from: gofer123 on November 11, 2014, 19:34:19 PM
a registered person logs in, sees nothig, logs out and again in and then he sees the address?
This sounds for me impossible. I think you miss some important information.

For example, you add a product, you enter the cart, you enter the address and you use register. Everything works, except that you go the account maintenance and see your data. If you log out and login again, and you can see then your data, it makes sense.

Else, I do not understand, what you say means that you can see the data any seconed login? I doubt that. So what is the whole procedure you are atm testing?
Title: Re: Account Maintenance required to logout first
Post by: gofer123 on November 11, 2014, 20:53:11 PM
I've just tried changing the "Rebate My Account" menu item from VirtueMart Account Maintenance to List Orders.
What I'm trying to achieve is when a Registered User logs in, they click on "Rebate My Account" to view the value of their orders, this where I want to place the Shopper Field "Rebate My Account" so imported data from an external source (the site owners accounting system) can be viewed in this page.
Regards
Title: Re: Account Maintenance required to logout first
Post by: gofer123 on November 11, 2014, 20:58:02 PM
Just to add to that, I think all my problems would be solved if I can find a way of showing the Shopper Field "My Rebate" That I have added, in the VirtueMart ยป List Orders.
Does that make sense?
Cheers
Title: Re: Account Maintenance required to logout first
Post by: Milbo on November 12, 2014, 10:07:17 AM
You must decide if you use somethign of your own, or a shopperfield. Maybe a shopperfield plugin is the right way
Title: Re: Account Maintenance required to logout first
Post by: gofer123 on November 12, 2014, 20:54:54 PM
Thanks for the reply Milbo,
As I mentioned, I've found the correct file (list.php) and position, placed html code in there, I just need the code for a text field.
With the the menu item now pointing to list orders, it works as expected, I can see the div I've insertered and some dummy text that I put in the div.
Thanks