News:

Looking for documentation? Take a look on our wiki

Main Menu

Account Maintenance required to logout first

Started by gofer123, November 11, 2014, 04:00:47 AM

Previous topic - Next topic

gofer123

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

Milbo

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?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

gofer123

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

Milbo

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?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

gofer123

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

gofer123

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

Milbo

You must decide if you use somethign of your own, or a shopperfield. Maybe a shopperfield plugin is the right way
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

gofer123

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