In Chapter 1, The VirtueMart Engine, we had a brief look at the Joomla! URL structure. We noted that the major entry point into the Joomla! site is through the page index.php
. From that basic URL, we can add additional parameters to tell Joomla! which component should be invoked to process the page. Thus, index.php?option=com_virtuemart
will pass the main page processing to VirtueMart.
In addition to Joomla! parameters, VirtueMart will also recognize a number of other parameters. We have seen how to tell VirtueMart which page to process by passing the page
parameter. The page
parameter is definitely the most important parameter for VirtueMart. There are two parts for this parameter separated by a period (.
).index.php?option=com_virtuemart&page=shop.browse
will tell VirtueMart to return the browse page within the shop module. In the frontend, VirtueMart exposes only three public modules to the public: shop, checkout
, and account
. Each of...