News:

Support the VirtueMart project and become a member

Main Menu

show free shipping

Started by barbara80, July 20, 2014, 23:28:38 PM

Previous topic - Next topic

barbara80

Hello,
Use standard shipping virtuemart.
I do not understand why the text is no longer displayed (free postage).
Example: If I reach the total of € 30 should show free shipping.
instead always shows the name of the shipment.
Use vm 2.6.6
Can anyone help me please?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

barbara80

Hello,
in virtuemart configuration do not see any item that can hide the text (free shipping).
Where should I look?  :(
Thank you for your help

barbara80

I attach the screen configuration shipment.
This is happening since I updated vm 2.6.6

[attachment cleanup by admin]

GJC Web Design

Really have no idea what your asking - just tested the weight shipping plugin for free shipping and works perfectly
afaik no text has ever shown for free shipping
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

barbara80

I'm almost convinced that the text would be displayed.  :-\
Can you tell me if there is a way to show text (free shipping) when you reach the total set to ship for free?

GJC Web Design

No - there is no logic for it in the shipping api.. if free it just returns nothing

you need to alter/over ride your cart/tmpl/default_pricelist.php

e.g. to show €0.00
<td align="right"><?php
if(empty($this->cart->pricesUnformatted['salesPriceShipment'])){
echo 
$this->currencyDisplay->createPriceDiv ('salesPriceShipment''''0.00'FALSE);
}else{
echo 
$this->currencyDisplay->createPriceDiv ('salesPriceShipment'''$this->cart->pricesUnformatted['salesPriceShipment'], FALSE);
}
?>
</td>


you could use similar logic to display a free label
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

This is the simple way:

Set up 2 version of the weight shipping plugin - for the first add your shipping charge and set Maximum order amount to 29.99. In the second for Shipment Name enter Free shipping, set no charge and set Minimum order amount to 30.  Then Free shipping will show when that plugin is triggered.

Make sure that Enable Automatic Selected Shipment?  is set in Configuration/Checkout
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

barbara80


Thank you so much for your help.  :)
I managed to solve using this fantastic plugin: http://open-tools.net/virtuemart-2-extensions/vm2-shipping-by-rules-plugin.html  ;D