News:

Looking for documentation? Take a look on our wiki

Main Menu

Shipping method by Weight not showing

Started by bigrich66, August 10, 2017, 18:33:33 PM

Previous topic - Next topic

bigrich66

J3.7.4
PHP 7.0
VM 3.2.2

Hi all

Having read the post below I still cannot understand why my shipping method will not display

https://forum.virtuemart.net/index.php?topic=110078.0

Ive set up a shipping method as follow

Name 'Up to 25kg'
Published 'Yes'
Min Weight '0'
Max Weight '25'
Weight Unit 'Kg'
Cost £6
Ive not applied any constraints, it is available to all

And set up a parent product with a Weight of 100.00 Gramme that all child products are derived from.

So I am expecting a few child products to bring up a shipping cost of £6 ie over 0kg but under 25kg

However if I add any child products to the cart I get the message as below

"PLEASE SELECT A SHIPMENT METHOD WE ARE SORRY, NO SHIPMENT METHOD MATCHES THE CHARACTERISTICS OF YOUR ORDER."

Ive gone through every post I can find on why shipping methods are not showing but I cannot find what the problem is in my case

For reference displaying debugging gives me the following

Thanks

1 vmdebug 1 Language, default shoplanguage (VmConfig::$jDefLang): en_gb en-GB
×2 vmdebug vmTime: time to load config: 0.002777099609375
×3 vmdebug Start used Ram 4M
×4 vmdebug loaded 1en-GBcom_virtuemart en-GB
×5 vmdebug Going to set pw fields unrequired
×6 vmdebug getVendorId normal shopper
×7 vmdebug My Memory Limit in Bytes 536870912
×8 vmdebug Created new Calculator Instance
×9 vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00631594657897949
×10 vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00206303596496582
×11 vmdebug State was not fitting to country, set virtuemart_state_id to 0
×12 vmdebug loaded 1en-GBcom_virtuemart_shoppers en-GB
×13 vmdebug shipmentmethod Up to 25kg = FALSE for variable weight = 2000 Reason: is over 25
×14 vmdebug shipmentmethod Up to 25kg = TRUE for variable order amount = 31.2 Reason: no boundary conditions set
×15 vmdebug shipmentmethod Up to 25kg = TRUE for variable zip = WA10 4HA Reason: no boundary conditions set
×16 vmdebug shipmentmethod Up to 25kg = TRUE for variable virtuemart_country_id = 222, Reason: Countries in rule or none set
×17 vmdebug State was not fitting to country, set virtuemart_state_id to 0
×18 vmdebug getPluginMethods return cached 1paymentpaypal
×19 vmdebug getPluginMethods return cached 1paymentworldpayssc
×20 vmdebug loaded 0en-GBcom_virtuemart_countries en-GB
×21 vmdebug Active vendor 1
×22 vmdebug Set 236 to 1
×23 vmdebug getCurrentUrlBy Var1:
index.php?option=com_virtuemart&view=cart&task=updatecart&language=en&manage=0&Itemid=249
Var2:
index.php?option=com_virtuemart&view=cart&task=updatecart&language=en&manage=0&Itemid=249
×24 vmdebug My Url in loginform Var1:
index.php?option=com_virtuemart&view=cart&task=updatecart&language=en&manage=0&Itemid=249
×25 vmdebug End used Ram 6M
×26 vmdebug Peak memory peak 8M
×27 vmdebug vmTime: "VirtuemartControllerCart" Finished task : 0.0671539306640625

bigrich66

Hi

I sorted it. It seems the units of weight in the products have to match the units in the shipping methods. Maybe someone might tell me otherwise but that fixed it.

Thanks