Hi,
I'm having some serious issues with shipping weight. Any product weight from 0-500g is not automatically showing the shipping cost in the cart i.e. it's blank. As I test, when I increased the weight on this same product, past 500g, it shows the shipping cost on the cart, so there is nothing wrong with the settings of that product.
Is there something going on with the calculation of the shipping weight code?
I have VM 3.0.12 (latest as of this date) and Joomla 3.4.8 (latest as of this date). Any help would be much appreciated if someone had this problem.
Thanks,
antonitus
what shipping method are you using?
do you have 1 setup for that weight?
Thanks for your response.
I am using only the main 'By weight, ZIP & Countries' option. That's the only one I have. I am calculating shipping cost by weight, which works very well over 500g.
I have various setups. One of them starts from 0-0.5Kg, the next, 0.501-0.999kg, then 1kg-4.999kg, etc.
switch on VM debug and you will see the calc used by the shipping process..
Thanks for your help.
I switched on the VM debug and I can't really see much or I don't understand. I presume I'll see any issues on the backend as the front end has no reports.
No -- in the cart you should see a long list of tests for the ship plugins
e.g.
vmdebug shipmentmethod Self pick-up = TRUE for variable weight = 0.45359237 Reason: no boundary conditions set
vmdebug shipmentmethod Self pick-up = TRUE for variable products quantity = 1 Reason: is lower than the set 11111111
vmdebug shipmentmethod Self pick-up = TRUE for variable order amount = 91.1577 Reason: no boundary conditions set
vmdebug shipmentmethod Self pick-up = TRUE for variable zip = 0 Reason: no boundary conditions set
vmdebug shipmentmethod Self pick-up = TRUE for variable virtuemart_country_id = 0, Reason: Countries in rule or none set
vmdebug shipmentmethod Self pick-up expensive = TRUE for variable weight = 0.45359237 Reason: no boundary conditions set
vmdebug shipmentmethod Self pick-up expensive = TRUE for variable order amount = 91.1577 Reason: no boundary conditions set
vmdebug shipmentmethod Self pick-up expensive = TRUE for variable zip = 0 Reason: no boundary conditions set
vmdebug shipmentmethod Self pick-up expensive = FALSE for variable virtuemart_country_id = 0, Reason: Country 176, 223 does not fit
Looks interesting and will probably help, however I can't see debug info on the frontend. I assume the VM debug mode is found under Configuration -> Shop -> Advance Settings -> "Enable debugging messages" or is there another one something I overlooked.
yes, that is the correct setting.. I have no idea why you wouldn't see it..
Try with the protostar template.. I have seen some Gavik templates that manage to show no debug....
You're right, the template I had did not show the debug info. I temporarily changed it protostar and I was able to see the debug info.
Below is a clip of what I found. The culprit was do with the country that was set, so I removed it and allowed for all countries. We are only selling products within the UK, so this is the reason why it was not working, especially if you are not logged in to a particular country. One of the other weight options was set to UK, but that was not being activated by the products as it was high, so this messed me up.
vmdebug Created new Calculator Instance
vmdebug shipmentmethod UK Mainland = TRUE for variable weight = 279 Reason: is within Range of the condition from 1.0000 to 279.0000
vmdebug shipmentmethod UK Mainland = TRUE for variable order amount = 14.95 Reason: no boundary conditions set
vmdebug shipmentmethod UK Mainland = TRUE for variable zip = 0 Reason: no boundary conditions set
vmdebug shipmentmethod UK Mainland = FALSE for variable virtuemart_country_id = 0, Reason: Country 222 does not fit
Thanks for all your kind help, it is much appreciated.
antonitus
you can also set the country select to default 222 so UK is always selected
For some strange reason (unless the user registered in UK), this option does not work with this shipping feature. I'm sure I have to do some more settings on VM to achieve this. At the moment I don't want buyers trying to buy from other countries, except UK only. The shipping cost is calculated on the cart before registration takes place.
First things first
If you don't want other countries buying - disable all countries except the UKVM -> configuration -> Countries
(you can do the same for currencies if you like)
Then you should set a default country for the " virtuemart_country_id" shopper field - this will then ensure UK is the default VM -> configuration -> shopper fields -> virtuemart_country_id
Default = 222
It should then function as you require
Quote
cost is calculated on the cart before registration takes place
You are aware that you do not have to force customers to register in order to purchase
However - you will require an address to calculate shipping ;-)
Thanks AH,
I will look into this once I finalise the site.