VirtueMart - 1.1 Developer's Guide
Basket Templates
17
3.3.4. Basket Templates
Basket templates control the layout of the basket.
The templates can be found in the directory
/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 (
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
/html/shop.cart.php
,
/html/basket.php
&
/html/
ro_basket.php
and in the
/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).
ro_basket = read only basket).
The variables which have been prefilled in
/html/basket.php
and
/html/ro_basket.php
are just printed out in the templates.