darklightfx
Forum Replies Created
-
This is back to working normally, no changes on our end fixed (or caused) the issue.
However I would not call this resolved. I’m wary to rely on this for rates now in case it fails again. What happened to cause rates to fail for multiple days for a ton of us? What is the likelihood of it happening in the future?
The fallback rate is a good start for a backup, but one flat shipping cost for all orders is not viable. USPS shipping costs commonly vary between $5 or $25 – one number won’t work.
I’d like to suggest the following small updates:
– Option to send a notification email to the WordPress admin when a shipping rate request fails from this plugin.
– For the fallback rate, allow it to at least be customized with the “shortcodes” like the default WordPress flat rate shipping calculation lets you do. Example below $5 + $0.25 per item + 5% of product price.
[qty] * 0.25 + 5.00 + [fee percent="5" min_fee="0" max_fee="30"]
- This reply was modified 3 years, 4 months ago by darklightfx.
Thanks for the reply! Good to know that the first error is normal (customer forgot to enter their zip).
For the other error, which occasionally appears the first time you visit the cart, before entering a zip to estimate shipping:
There doesn‘t seem to be any available shipping methods. Please double check your address, or contact us if you need any help.
We have a lot of trouble reproducing it. It doesn’t seem linked to any specific products. Seems to maybe appear in Firefox more than Chrome, but I’m not 100% on that.It is interesting that you saw “Enter your shipping address to view shipping options.” — that is what we changed the error message to display by using a custom function.php code. woocommerce_no_shipping_available_html and woocommerce_cart_no_shipping_available_html are filtered to display the message you saw. However, for some reason when we test the site on our end, we only see the original error message — not the one you saw.
Here’s the code we use for that. (Note that the error was being displayed before we changed anything. We implemented this change to the error message because the original message made it sound like we weren’t offering any shipping options.)
add_filter( 'woocommerce_no_shipping_available_html', 'my_custom_no_shipping_message' ); add_filter( 'woocommerce_cart_no_shipping_available_html', 'my_custom_no_shipping_message' ); function my_custom_no_shipping_message( $message ) { return __( 'Enter your shipping address to view shipping options.' ); }
Either way, is there a way to stop “woocommerce_cart_no_shipping_available_html” from displaying the first time a customer visits the cart? It shouldn’t be outputting an error before the customer even has a chance to enter their shipping information.
Thanks!
Solution for the second post – we were looking for these elements:
.select2-search input, .select2-search input:focus
Using those we were able to style the search box inside the drop down with a dark background and light text.
Then the background of this had to be set also for the area around the text input
.select2-search
Update: we were able to at least get the text to show as black in the drop down list using:
.select2-container--open { color: black; }
(Still seem unable to change the white background of the drop down boxes?)However, the text entry box inside the drop down that lets you narrow your search (for example searching for United States you would start typing “Uni” to narrow down the list of options.) Currently it is styled as dark gray with dark font and is almost unreadable.
- This reply was modified 7 years, 10 months ago by darklightfx.