Flypage (or product details) templates can be found in /components/com_virtuemart/themes/VM_THEME/templates/product_details/.
They are loaded and filled with content in the file /administrator/components/com_virtuemart/html/shop.product_details.php.
Browse templates define the display of a single product in the product listing. So you can only modify the contents of the boxes, which are filled with product information in the product listing of a category. The number of those "boxes" - which are displayed in a single row of the product listing - can be changed in the Category Form of that category (see Number of Products per row) or globally in the Shop Configuration (for the case that no category_id is passed to the Shop).
Browse (or product listing) templates can be found in /themes/VM_THEME/templates/browse/.
They are loaded and filled with content in the file /administrator/components/com_virtuemart/html/shop.browse.php.
Order Confirmaton Email Template defines the layout of the confirmation email that is sent out to a user after having placed an order. The Email template can be found in /components/com_virtuemart/themes/VM_THEME/templates/order_emails/confirmation_email.tpl.php.
They are loaded and filled with content in the file /administrator/components/com_virtuemart/classes/ps_checkout.php, function email_receipt().
The concept is to define placeholders in the template and replaced them by the real contents on load. This is done using the PHP function str_replace.
Basket templates control the layout of the basket.
The templates can be found in the directory /components/com_virtuemart/themes/VM_THEME/templates/basket/.
The special about the basket is that there are four different templates: Two for displaying the Cart content including Tax (basket_b2c.html.php and ro_basket_b2c.html.php) and two for displaying the Cart content without tax (adding it afterwards) - basket_b2b.html.php and ro_basket_b2b.html.php.
b2c = Business to Customer (prices include tax)
b2b = Business to Business (prices don't include tax)
The basket_ files are included in /administrator/components/com_virtuemart/html/shop.cart.php, /html/basket.php and /administrator/components/com_virtuemart/html/ro_basket.php and in the file/administrator/components/com_virtuemart/html/checkout.index.php, except that the ro_basket_ file is displayed on the last step of the checkout (when the cart contents can't be modified any more - ro_basket = read only basket).
The variables which have been prefilled in /administrator/components/com_virtuemart/html/basket.php and /administrator/components/com_virtuemart/html/ro_basket.php are just printed out in the templates.







