Magento Forum - UK Magento Forum (Unofficial)

An unofficial but dedicated Magento Forum for Magento Users, Designers and Developers

Shopping Cart Rules - Shipping Postcode condition

A forum for Magento users to discuss tips, issues etc with regards to actually using the Magento front and back end systems.

Shopping Cart Rules - Shipping Postcode condition

Postby wardworth » Thu Feb 03, 2011 2:51 pm

Hi,

Does anyone know if there's a way to add postcode ranges to Shipping Postcode conditions in Shopping Cart Rules? I'm using UK format postcodes.

I want free delivery to only be available to certain postcodes in the UK, but I don't want to have to specify the full postcode, just the first 2 letters.

For example,

Rather than BT54, just BT.

Can some sort of suffix like * or % be used?
Ste
Wardworth Ltd
Magento 1.5.1.0
wardworth
 
Posts: 54
Joined: Mon May 24, 2010 2:32 pm

Re: Shopping Cart Rules - Shipping Postcode condition

Postby edmondscommerce » Thu Feb 03, 2011 3:18 pm

You can certainly do this using Matrix Rates shipping extension

not exactly what you asked but if you need a solution that works then its the best one I can suggest
User avatar
edmondscommerce
 
Posts: 1157
Joined: Fri Sep 11, 2009 8:55 am
Location: UK

Re: Shopping Cart Rules - Shipping Postcode condition

Postby Dx3Webs » Thu Feb 03, 2011 3:26 pm

Hi there,

there is a hack-it-yourself instructions here

/www.magentocommerce.com/boards/viewthread/18815/

or use this extension here

/www.magentocommerce.com/magento-connect/webshopapps/extension/604/webshopapps-matrixrate--the-original-multiple-table-rate-solution--certified-bug-free

cheers
Andy
Dx3webs
UK based Optimised Magento Managed Hosting : Full Managed service with Unlimited technical support
Contact Us | Dx3webs Magento Demo Store
User avatar
Dx3Webs
 
Posts: 305
Joined: Wed Jul 14, 2010 11:04 am
Location: Lincoln, UK

Re: Shopping Cart Rules - Shipping Postcode condition

Postby wardworth » Thu Feb 03, 2011 3:46 pm

We actually already use the webshopapps ProductMatrix extension, but what I'm referring to is actually in the Shopping Cart Price Rules section under Promotions (see attachment).
Attachments
magentoadmin-shoppingcartrules.gif
magentoadmin-shoppingcartrules.gif (9.53 KiB) Viewed 4095 times
Ste
Wardworth Ltd
Magento 1.5.1.0
wardworth
 
Posts: 54
Joined: Mon May 24, 2010 2:32 pm

Re: Shopping Cart Rules - Shipping Postcode condition

Postby edmondscommerce » Thu Feb 03, 2011 5:05 pm

yes we understood the question just offering alternative solutions

the only possiblity using shopping cart price rules woudl be to set a post code contains ... rule, though getting it to work reliably would be a nightmare I think.

your only other choice then would be to get a custom module that overrides the price rules functionality and sets a more complex range type functionality instead.
User avatar
edmondscommerce
 
Posts: 1157
Joined: Fri Sep 11, 2009 8:55 am
Location: UK

Re: Shopping Cart Rules - Shipping Postcode condition

Postby Dx3Webs » Thu Feb 03, 2011 5:21 pm

Just out of curiosity... is there a reason you are trying to do it through cart rules?
Dx3webs
UK based Optimised Magento Managed Hosting : Full Managed service with Unlimited technical support
Contact Us | Dx3webs Magento Demo Store
User avatar
Dx3Webs
 
Posts: 305
Joined: Wed Jul 14, 2010 11:04 am
Location: Lincoln, UK

Re: Shopping Cart Rules - Shipping Postcode condition

Postby wardworth » Fri Feb 04, 2011 9:52 am

Sorry, I think I missed out the fact that its a free delivery when a discount code is entered rule.
Ste
Wardworth Ltd
Magento 1.5.1.0
wardworth
 
Posts: 54
Joined: Mon May 24, 2010 2:32 pm

Re: Shopping Cart Rules - Shipping Postcode condition

Postby Dx3Webs » Fri Feb 04, 2011 11:38 am

ahhh.. now I see :)
Dx3webs
UK based Optimised Magento Managed Hosting : Full Managed service with Unlimited technical support
Contact Us | Dx3webs Magento Demo Store
User avatar
Dx3Webs
 
Posts: 305
Joined: Wed Jul 14, 2010 11:04 am
Location: Lincoln, UK

Re: Shopping Cart Rules - Shipping Postcode condition

Postby edmondscommerce » Fri Feb 04, 2011 12:09 pm

hmm yeah i see your problem now

custom option is the only way to properly do it I think, or you could use "contains" but it might be tricky to get it working perfectly

if you do - share the solution!
User avatar
edmondscommerce
 
Posts: 1157
Joined: Fri Sep 11, 2009 8:55 am
Location: UK

Re: Shopping Cart Rules - Shipping Postcode condition

Postby marvenniffi » Sat Sep 29, 2018 8:37 am

Thanks for sharing this guide, I was looking for help in Magento 2 catalog price rules to know more about it, Here's the guide which helped me to get more details.
marvenniffi
 
Posts: 16
Joined: Tue Oct 31, 2017 4:08 pm


Return to Magento Users

cron