[SOLVED] GJC Postcode Shipping Virtuemart - 5 Digit UK Postcodes

Started by Agaton, May 24, 2017, 12:30:44 PM

Previous topic - Next topic

Agaton

Using the plugin mentioned in title I am having an issue where UK postcodes of 5 digits are getting ignored even though they are not in the exception list.

Let me explain the relevant settings:

Country is set to : United Kingdom
Base fee is set to: 10.00
Free limit to : 68.99

Postcode type: Alpha/Numeric
Postcode type: UK
Postcode Zones: This is blank as I want it to work for all postcodes not in exception list
Prefail: Selective
Excluded Postcodes: Except,BT*HS*IV*KA*KW*PA*PH*ZE*JE*GY

Now this works for all 6 digit postcodes for example :

W10 4AA works fine and charges £10 for any amount less than £69

but

W5 1AA does not work, it displays the correct shipping method but doesn't implement the charges if below £69

Is there a setting I am missing or is this a bug with this plugin.

FYI:
I am using VM 3.2.2, Joomla 3.7.2 and Virtuemart 3.0 Shipping for VM Postcodes v3.7.7

Further info I have run debug and get this information

Debug Line 271 $dest_postcode_matches
Array
(
    [full] => W51AA
    [outwardxx] => W51AA
    [outwardx] => W51A
    [outward] =>
    [area] => W
)

After this all Arrays are empty until  - Debug Line 415 $orderWeight
Then from -  Debug Line 456 $zone all debug lines are empty

Minor debug information below:

Minor Debug - GJC VM Postcodes Plugin
For information only - switch off in config
Postcode Pre-filter for conditions
Destination Postcode is W51AA
Postcode Prefail: ON Type: SELECTIVE
Result of Pre-check - Postcode found: false
Result of Pre-check: Ship method valid

Destination Postcode is W51AA
Postcode style is UK
Postcode found in Stage 4 (3/2 digit mask): -
Zone found - Zone =
Weight above 'Up To Weight' condition (rounded up to nearest unit) is 1
(Zone found) Cart Price used for Shipping calculation = 6.54
(Zone found) Extra cost per weight unit over trigger (Multiplier) set at
(Zone found) Order Weight 0.2kg
(Zone found) Order Weight-over (rounded) 1kg
(Zone found) Shipping "Base" price
(Zone found) Shipping "Multiplier" type "By Weight"
(Zone found) Shipping "Multiplier" price value
(Zone found) Shipping "Trigger" type "By Weight"
(Zone found) Shipping "Trigger" value
(Zone found) Shipping "Free" level
(Zone found) Above Trigger level - Multiplier weight unit shipping used.
(Zone found) Multiplying by Weight - 1 X = 0.00
(Zone found) Adding base fee - 0.00 + 0.00 = 0.00

Hope someone can help.

Edit: This problem existed before update to 3.7

GJC Web Design

Hmmm.. why don't u contact me directly via my site?
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


Agaton

Thank you for fixing this, it works a treat.

For anyone finding this post, it was fixed in version 3.7.8 of GJC Postcode Shipping Virtuemart and has been tested in version 3.7.2 of joomla in VM 3.2.2