Active
Project:
UC P.O. Condition
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2009 at 01:04 UTC
Updated:
20 Dec 2010 at 23:14 UTC
I want to prevent anyone from using a PO box, and I have only one shipping method.
I have added this condition and checked the Negate checkbox.
I added an action to display error message to the user, something like "We cannot ship to a PO box, please use a normal address".
When checking out, this does seem to work. However, I don't see my custom error message on the screen, I only see:
"There were problems getting a shipping quote. Please verify the delivery address and product information and try again.
If this does not resolve the issue, please call to complete your order."
It appears that this message is hard coded (which sucks).
Comments
Comment #1
pdesai commentedThat message maybe in the Shipping Quote Settings page. Login and go to Administer > Store administration > Configuration > Shipping quote settings > Click on Edit tab > Expand Shipping quote error message section and put your custom verbiage in this message.
Hope this helps!
Comment #2
jasonabc commentedWhen I added as a new CA it didn't work (not sure why). So I added it as an action to the existing "get shipping quote" CA and it worked great. Now when shipping quotes are calculated on the checkout page, if the ship-to address is a PO Box it throws an error.
Comment #3
cookiesunshinex commentedThank you for this bit of information. I've been running my store for a year without having a proper error message stating that we cannot deliver to PO Boxes.
I was wondering though. The error message is thrown up in red above the form that says "You must choose a shipping method"
However, the section where the configureable shipping error message is located is displayed in div="quote" class="solid-border"
I would like to change the CSS so that this section is also red when the error is thrown, however, that is also the div/class that the "shipping cost: $8.00 USD" is displayed. I dont' necessarily want that to be red when there isn't a problem.
Has anyone else dealt with this issue?
How to separate the price notification from the shipping error reason notification?