Support the VirtueMart project and become a member

Main Menu

Wrong URL provided in purchased product link on invoice

Started by Allen_K, November 23, 2023, 11:00:09 AM

Previous topic - Next topic



We're running 4.2.0 10905.

I just learned that the product URLs provided in the product link on a customer invoice are linking to the non-sef internal VM component page, rather than the site's proper SEF page.

For example, a recent purchase of a new membership provided a product link to It should have linked to

Any ideas on what I need to fix?




Just modify your invoice template,
try to change JURI::root().'index.php?option=com_virtuemart...'  to JRoute::_('index.php?option=com_virtuemart...')

You can also automatically redirect to the SEF landing page

The script responsible for quantity controls is not working in your cart
If you have quantity limits, why do you use the option to add more products? - just the "add to cart" button is enough