VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: holanpan7 on February 04, 2013, 09:36:56 AM

Title: Free shipping
Post by: holanpan7 on February 04, 2013, 09:36:56 AM
Hi,

I just migrated from version 1.19 to the 2.18a. Big changes!, good job to all the developpers!
I am facing a little problem for the settings of free shipping.

Is there anyway to show the message "free shipping" or "shipping fee =0.00Euro" in the cart when the order reach the free shipping amount?

Do you know of any plugins or modules that has this functionnality?

Thanks
Title: Re: Free shipping
Post by: media101 on February 04, 2013, 15:12:31 PM
dont know how to do that but i over came that problem by advertising it on a flashing banner ie "free shipping on orders over €40"
Title: Re: Free shipping
Post by: holanpan7 on February 05, 2013, 09:35:23 AM
I already advertise it on the site but I think the shopper will need some kind of confirmation of the shipping cost in the cart. cos at the moment it doesn't show anything.

I notice that in the order received by e-mail the shipping cost is shown as 0.00eur but in the cart nothing is shown.

Is there a script in the cart that prevent to show the price when price=0?
Title: Re: Free shipping
Post by: GJC Web Design on February 05, 2013, 12:15:57 PM
It needs to be coded separately either as a plugin or a hack - I managed it for example in the

http://www.gjcwebdesign.com/joomla-virtuemart-tips/754-auspost-virtuemart-20-shipping-plugin-upgraded-for-free-shipping.html (http://www.gjcwebdesign.com/joomla-virtuemart-tips/754-auspost-virtuemart-20-shipping-plugin-upgraded-for-free-shipping.html)

the code I used is there

Cheers
Title: Re: Free shipping
Post by: PRO on February 05, 2013, 12:21:47 PM
I use this code here in

<?php if (empty($this->cart->pricesUnformatted['salesPriceShipment'])){echo 'FREE';} ?>

IN

cart/tmpl/default_pricelist.php

Just add it to the "shipping td"

BUT: this only shows free when shipping is 0.
Auto select shipment is selected, and I only use 1 shipment plugin

<td align="right"><?php if (empty($this->cart->pricesUnformatted['salesPriceShipment'])){echo 'FREE';} ?><?php echo $this->currencyDisplay->createPriceDiv('salesPriceShipment','', $this->cart->pricesUnformatted['salesPriceShipment'],false); ?> </td>
Title: Re: Free shipping
Post by: holanpan7 on February 05, 2013, 12:53:13 PM
Thanks to both of you!

The cart know shows free and 0.00€ ;D