News:

Looking for documentation? Take a look on our wiki

Main Menu

Registration page has two different URLs

Started by bigrich66, March 07, 2017, 01:16:25 AM

Previous topic - Next topic

bigrich66

Joomla 3.6.5
VM 3.0.19.6

Hi

I have tried to find an answer to this but most posts dont seem to arrive at a definitive solution.

There are two different URLs for the VM registration page

If using SEF URLS these are

/my-account (from a menu item)
/my-account/editaddresscartBT (from the cart)

If If using non SEF URLS these are

/index.php?option=com_virtuemart&view=user&layout=edit&Itemid=135 (from a menu item)
/index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=BT&Itemid=135 (from the cart)


Which one is correct?

Cheers

Milbo

One is for the whole account, the other is just for the BT address (and if configured, the joomla login data).
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

bigrich66

Can one only be used for both a link to the account and the cart so I dont have to style both individually and if so which should it be?

Cheers

Milbo

/index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=BT&Itemid=135 (from the cart)

is the important one, which you also need for guest checkouts. Please use overrides or at best css only and do not hack the core
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/