pitusp
Forum Replies Created
-
Yes, it appears to be working correctly now with the latest version 3.1 or so.
I have cleared the zeroes myself, then upgraded and it’s still working, showing the shipping.Thanks.
Also, I just got a reply from the developer that I had a 0 (zero) in the “Free Shipping” field in the Settings – not sure how it got there. Deleting it (leaving it blank) is supposed to fix the problem with the latest version – but I haven’t tried it just yet myself. Make sure you clear it in all your Zones. It’s on the final screen with the table of pricing rules.
Thanks for the hint … I’m not sure how that 0 got there as I don’t recall entering it and it works with that 0 when using version 2.1.10 so, perhaps the update to 3.0.7 has put that 0 in there? Or 2.1.10 was ignoring it?
It may be a good idea to detect that in the latest version and warn the user that a 0 in there overrides all the rules and offer to clear it for the user automatically – in fact, why not just do that as 0 is useless in there.
I didn’t lose any setting when I did it. Once I re-installed the older version 2.1.10 it started to work with all the prior settings intact.
Sure, how/where do I send them? I don’t see any way to attach them to this message.
Try this .zip file with 3 screen-shotsBtw, the message that you show up is quite misleading – I don’t know what it’s referring to?
“Flexible Shipping has changed the calculation method for shipping rules. Currently, the cart value for rules based on price is determined by WooCommerce tax option “Display prices during cart and checkout”. You should check the settings.”
- This reply was modified 7 years, 5 months ago by pitusp.
@stoelwinder – I have the same problem and have finally fixed it by down-grading the plugin to version 2.1.10 (first you need to Deactivate the latest, then Delete it and then hit Add New and upload the flexible-shipping.2.1.10.zip downloaded from The Plugin Archive – took me a while to find that archive).
If, after that (make sure to Activate it) it still doesn’t work, as mine didn’t, you may have to clear the cache – I did it by changing some other shipping option and re-saving it via admin panel.
And don’t upgrade to 3.0.7 until it’s fixed.BTW, I have just upgraded the plugin to a latest version (3.0.7 – don’t recall what was the last working version before this update) and my client’s having the same issue – all orders are coming in with NO SHIPPING at all … This is such a poor upgrade path, breaking all shipping without warning !!! The least I’d expect is a warning and info on how to fix it before upgrading or a downgrade option if I can’t have it fixed!
So, I’d like to know as well, what’s changed exactly that’s breaking the primary functionality? How do I fix it? The message that pops up about some tax option in WooCommerce is nonsense as there’s no such option in Woo 3.4.6 so I don’t know how to fix it?
I have two zones – US and CA, each has a set of Price ranges (don’t know how to send you the table or understand why you’d need it to help me fix the problem?)
Site: http://www.chippingaway.com – there’s nothing in the System Report that would list these zone pricing ranges so I’m not including it here…Also, where can I quickly download/install some older, working version, one prior to your breaking change? I need this URGENTLY !!!!!!!!!!! Can’t stress it enough.
-Piotr
Thanks… I think they’re using get_post_meta to avoid loading entire Product info for all children (it’s much faster this way) so they may not want to adjust their method, but instead, your plugin might have to, somehow, override the get_price_html()
I think the problem is in the
function get_price_html()where it callsget_post_meta()for each child to get its ‘_price’, then it selects min/max prices and formats them as a range or a single value but does NOT give your plugin a chance to pick a different currency price such as ‘_usa_price’ instead.abstract-wc-product.php applies filters to each price method such as ‘woocommerce_get_price’ in the
get_price()but grouped product seems to be fetching meta _price directly, hence the problem.I’m not sure yet how to update the get_price_html so that it picks the right price. Any suggestions?
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Help with country selectorYou should be able to add text content with the
[wcpbc_country_selector]shortcode, which will use the country-selector.php template, but, if it appears at a wrong place (like it did for me on another theme), you can try creating your own shortcode which will capture the output of[wcpbc_country_selector]and return it properly.Here’s an example of how I did it using
[my_country_selector]shortcode, added to functions.php of a child-theme (so that I don’t have to mess with the original file).See Shorcode_API and Creating Child Theme for more details (that’s what I’ve based mine on):
function my_country_selector() { if( is_page('checkout') ) // don't show it on the Checkout page return ''; ob_start(); do_shortcode("[wcpbc_country_selector]"); return o_get_clean(); } add_shorcode( 'my_country_selector', 'my_country_selector' );I have the same (or similar – as I can’t see your problem anymore) problem with CAD (default/local currency) price showing on Groupped products instead of USD.
Here’s the set-up, base currency is CAD, product has manually entered separate USD price, when I switch to US (mapped to USD), the price of individual products shows up correctly (symbol and value in USD) but the large price label (or range) for the Groupped product shows USD currency symbol (I’m showing it as “US $” to see it clearly as opposed to “CA $” for CAD) but the value uses CAD price.
I think, Grouped products calculate the Min and Max price of all of their Child products and show it there (in my case it’s a single value as I only have a single child product for now)… and somehow, the values shown there don’t use your filter ?
How can this be fixed? It’s rather critical 🙁
I’ve solved this by adding:
onchange="javascript:this.form.submit()"
to the select element in my own copy of country-selector.php and dropping the select button from it. Seems to work so far under Chrome.