I am from Brazil and virtuemart has lost all its strength, now we are a small group and every day we stop using Joomla / Virtuemart.
One of the problems we are having, that in this latest version, the Shipping plugins only work when the ST address is filled (Zip field) and not the BT address.
I believe it is a bug, we can guide us ...
The ST address should be filled with the BT address. Do You have any overrides that do it differently? VM and Joomla versions ?
Of course the Shipping plugin should use the ST address, or do you disagree ? How would it else be possible to figure out correct shipping fees if the ST for some reason is not filled out ?
Jörgen @ Kreativ Fotografi
Have u updated your shipping plugins?
Later code is
$address = $cart -> getST();
if(!is_array($address)) $address = array();
this will always get the correct address
Before, until version 3.4 when the BT address was filled in, it worked, the shipping methods appeared.
Today this does not happen, even if the customer indicates that the ST will be the same as BT. It only works if you fill in the ST address.
then check your shipping plugin as you were told above by GJC
I made the adjustment in the script and it seems that it worked, being that I didn't put the last version.
I will install the latest version.
I made the code change and tested it now in the current version, even so, it doesn't work, the person fills in the BT and doesn't show the methods. :(
which shippments plugin you use?
We use Correios-VirtueMart-3 (Brazilian national shipping method plugin)
The strange thing is that it works in the previous versions, usually calculating both BT and ST.
On why i want it to work on BT:
Have you thought about making the user have to fill in the address twice? if the user checks at the checkout that he / she wants to receive at the same address {BT}, it gets faster and helps with sales.
url plugin : https://github.com/luizwbr/Correios-VirtueMart-3
I put $ address = $ cart-> BT; if (! Is_array ($ address)) $ address = array ();
as the moment is working, I will do more tests :D