VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: bigrich66 on March 07, 2017, 01:16:25 AM

Title: Registration page has two different URLs
Post by: bigrich66 on March 07, 2017, 01:16:25 AM
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
Title: Re: Registration page has two different URLs
Post by: Milbo on March 07, 2017, 10:16:41 AM
One is for the whole account, the other is just for the BT address (and if configured, the joomla login data).
Title: Re: Registration page has two different URLs
Post by: bigrich66 on March 07, 2017, 17:16:33 PM
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
Title: Re: Registration page has two different URLs
Post by: Milbo on March 07, 2017, 20:10:30 PM
/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