[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

VirtueMart 2.x. How to make shipping cost display on checkout

This tutorial will show you the way to fix the missing cost for shipping on checkout page.

1. Check your delivery option: it may be free;

2. Open the following file on your server: "components\com_virtuemart\views\cart\tmpl\default.php";

3. Locate the block, that starts with the following condition:

 
<?php if (!$this->cart->automaticSelectedShipment) { ?>

Further you should see:

 
<?php if ( !empty($this->cart->pricesUnformatted[$pkey]['shipmentTax']) )

and

 
<?php if ( !empty($this->cart->pricesUnformatted[$pkey]['salesPriceShipment']) )

Change both lines to:

  <?php if ( true) 

Shipping cost should now appear on the checkout page.

Feel free to check the detailed video tutorial below:

VirtueMart 2.x. How to make shipping cost display on checkout