I’m receiving a deprecation warning in
Deprecated: Required parameter $package_index follows optional parameter $condition_groups in /www/{user_dir}/public/wp-content/plugins/advanced-shipping-validation-for-woocommerce/includes/wcasv-validation-functions.php on line 50
Are there any plans to update these methods so these warnings can be cleared?
]]>We want to use the plugin to restrict a category of products to UK only. Country is determined by geolocation, and displays on the shopping cart page.
Is it possible to have the vaildation take place at the cart stage? At the moment users go all the way through to completing checkout, entering payment details, etc., before the validation message shows.
]]>Hello,
I recognized that there are no error messages on checkout for validation checks when using a PayPal Checkout payment method via WooCommerce PayPal Payments plugin, (but a missing checked “terms and conditions” checkbox is correctly found and commented via error message).
Is it possible to fix that with an update?
]]>Product Category A can only be purchase by it own is setup like this:
Contains Category Equal To category-A
and
Contains Category Not Equal To category-A
I don’t think any rules involving a category is working in the latest release.
I tried a couple even simpler then above
Is a long time since the last update. Are you planning to still update this plugin or is replaced for another one?
]]>Hi there,
After activating the Multi-Step Checkout Pro for WooCommerce along with your plugin, my validation rules no longer work…is there a work around?
Hi there,
Is it possible to update the need for the validation message after the address is updated in the checkout? I have a rule that works but if i change the address and it should disappear, it doesn’t remove unless I reload the page (and the opposite is true…if an error message based on a shipping zone doesn’t trigger due to the address entered initially…but then I update the address matching the rule…nothing; unless I reload the checkout page)
Thanks!
I have set up the following validation rule
Customer Details City not equal to Kelowna
Cart Contains Shipping Class equal to the items class that I cannot ship out of the city of Kelowna
But when i go to checkout with an item in the shipping class in my cart and input a customer billing and delivery address with a city not equal to Kelowna it still shows shipping rates available and lets the customer check out.
Is this plugin registered for Canadian Cities as Kelowna is in BC, Canada ?
]]>Since i update my wp to last release 5.3 it seems the plugin doesn’t work: Can you help me?
]]>Hi Jeroen,
(I hope Dutch is okay to use here, let me know otherwise!)
Ten eerst, geweldige plug-in! Zelf gebruikte ik eerst handgemaakte snippets in m’n function.php bestand maar dit was vervelend om telkens bij te moeten houden.
Met jouw plug-in kan dit allemaal netjes via de UI worden gedaan, dus hartstikke bedankt hiervoor.
Nu dan het probleem wat ik tegenkwam, ik gebruik 2 regels in 1 conditie. De 1e regel is “Country == Duitsland” en de 2e is “Contains product != Power Wipes”.
(Ik neem aan dat dit duidelijk is voor jou maar ik leg het hieronder nog een keer uitgebreid uit ter duidelijkheid.)
Deze regel zorgt ervoor dat zodra er producten in de winkelmand zitten welk niet “Power Wipes” zijn en het land Duitsland is er niet afgerekend kan worden. Maar nu is het zo dat als er producten in de winkelmand zitten welk niet “Power Wipes” zijn naast het “Power Wipes” product (wat dus ook in de mand zit) er wel afgerekend kan worden.
Technisch gezien werkt deze regel gewoon zoals het hoort, alleen zou ik het graag zo hebben dat er een nieuwe regel word toegevoegd welk kan checken of er alleen 1 specifiek product in de winkelmand zit (en dus geen andere producten).
Dit heb ik nu zelf toegevoegd (want deadlines ;)) via deze manier:
De nieuwe match() functie van dit bestand (welk ik dus zelf heb aangepast):
public function match( $match, $operator, $value ) {
$product_ids = $this->get_compare_value();
$products_in_cart = count($product_ids) / 2;
if ( '==' == $operator ) :
$match = ( in_array( $value, $product_ids ) );
elseif ( '!=' == $operator ) :
if(in_array( $value, $product_ids ) && $products_in_cart == 1) {
$match = false;
} else {
$match = true;
}
endif;
return $match;
}
Ik heb dus toegevoegd een regel om het aantal items in de mand te tellen en in de elseif statement check ik eerst of het product in de mand zit en of de hoeveelheid 1 is.
Zo ver ik heb getest lijkt dit perfect te werken maar dit kan jij als developer natuurlijk veel beter weten dan ik.
Dus mijn vraag is of dit toegevoegd kan worden, zodat ik niet elke keer het opnieuw moet toevoegen bij updates van de plug-in.
Hoor graag wat je erover denkt!
Met vriendelijke groet,
Jan
Plugin is not working.
I’m using WordPress 5.5.2 and WooCommerce 4.6.1
Could you check the compatibility?
Hi
This plugin Not working in my website.
Please help me ASAP.
]]>I have Advance Shipping installed where I offer free shipping to few cities. I was looking for a plugin where it will not show shipping rates for customers who order frozen items, meat, seafood and fresh produce. I was hoping this plugin will help that, but it is not showing the validation message and instead it calculates shipping rates and displays to the customer.
]]>Trying to set some products that have a given shipping class as undeliverable to Hawaii and Alaska. My rule is set up “if state = Alaska and class=lower 48 or if state = Alaska and class=lower 48”. When I try to order though I am able to continue through to Paypal without getting the “sorry” error. Any ideas what might prevent it from firing?
]]>Hi.
Is there a way to present for customer how much in order value that remains before getting free shipping.
Thanks,
TC
Hi, I have a checkout page with 2 custom fields that I created: bill_fielda and bill_fieldb.
So I want to validate if bill_fielda is selected on option value = 2, on submit, the valitation plugin, detect that the bill_fieldb has to be filled.
I tried to do it on plugin settings page, but I can’t find this custom fields.
Is there an option to do this?}
Thank you very much.
Sergio
]]>Hello,
I’m using your plugin and it’s working great with the condition I made.
I’m getting the message (above on checokout page)
My question is, what can I do with that message? How can I apply for example a Disccount coupon if the condition is accepted?
For example, I made the condition: if the customer choose State A or State B, he gets the message “You are on discount zone”.
And then I want that the price is reduced or maybe a coupon will appears.
So, where can I control this?
Thank you
Sergio
]]>Hi,
I use the flexible shipping plug in and this cause the validation message to stop appearing.
If I set a condition to “Shipping method equal to DPD” the validation message does not show up. DPD is the Flexible Shipping Method Title.
Any ideas?
Thanks
]]>Hello, regarding
Woocommerce Advanced Shipping. Since the update PHP 7 to 7.2 with wordpress 5.3.2 we have an error, we returned to version 7.0 while waiting for a solution thank you all !!.
? Line 91
? Message Uncaught Error: [] operator not supported for strings in /home/*****/www/wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php:91 Stack trace: #0 /home/*****/www/wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php(31): WAS_Advanced_Shipping_Method->was_match_methods() #1 /home/*****/www/wp-content/plugins/woocommerce-advanced-shipping/woocommerce-advanced-shipping.php(181): WAS_Advanced_Shipping_Method->__construct() #2 /home/*****/www/wp-includes/class-wp-hook.php(288): WooCommerce_Advanced_Shipping->was_shipping_method(”) #3 /home/*****/www/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array) #4 /home/*****/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/*****/www/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(122): do_action(‘woocommerce_shi…’) #6 /home/*****/www/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(114): WC_Shipping->init() #7 /home/tru
? File /home/*****/www/wp-content/plugins/woocommerce-advanced-shipping/includes/class-was-method.php
Hi! I would really like to use this plugin. ?? I installed it on my WooCommerce store, but I am mystified, because I created a Condition: State / Equal to / and I selected my own state, and made sure the rules were enabled and published, but when I made a purchase from myself to see if I could … my purchase went through without any message or blocks, despite how I used the state I had excluded.
What could I be doing wrong? Do you have any idea of a WooCommerce setting that could be preventing this plugin from working, please?
]]>hi,
i checkmark enable advanced shipping validation checkmark and save. but it is not checkmarked, so I can’t enable validations.
]]>I have a rule for if “shipping class” and “state” match parameters, but the product in question has variations with different shipping classes. It only uses the shipping class of the parent, not the variation that’s in the cart. Is there a way to check the shipping class of variations as well?
]]>Hello,
I work for an E-cigarette company and we are not allowed to send flavored e-cigarette products to the state of Michigan. We can still send tobacco and menthol just not flavors like cherry or peach.
I set up up the conditions to match “state equal to Michigan”
I then added the product not allowed “contains product equal to cherry”
When I went to test the new conditions it didn’t seem to do anything. Im not sure what I might being doing wrong.
Thanks
Hi again
Further to my previous post, I have another problem:
No matter what category I choose in the “Contains Category”, after I press the update
button the first category appears even when I choose another category.
Even when I try “not equal to” it returns to that first category.
Any idea?
Hi
Great plugin ??
I wonder if the AND term can be turned to OR.
Meaning if I want not to ship if A product is in cart and B product is in cart
and Shipping A is chosen and shipment B.
Currently it looks like I need to make 4 different “blocks”.
It would be much better if it could be only 1 (like the product field to contain more than one product etc’).
Is there any option ?
I am willing to change the code if you could guide me.
Hello,
I have this client who has a WooCommerce website using the “Advanced Shipping Validation for WooCommerce”. According to her, the plugin used to work perfectly. Now, and after two full updates, the one validation rule within the system isn’t working. The rule just consists in matching a shipping class and a city. Basically, what we need is to restrict the shipping of certain products to a local area.
I have setup a test site in a different server, using two different themes and still no luck.
Any help or insight in this matter will be appreciated.
]]>I have a validation rule that worked fine until I updated to WooCommerce 3.6.2 and to WordPress 5.2.
I am using a validation consisting of six rules all of which have to be met in order to trigger: the category must be “floral”; the zip codes must NOT be 97123, 97124, 97116, 97113; and the shipping method must NOT be “Local pickup”. If all these rules are met, the customer is trying to have a floral item delivered outside of our delivery range, they are presented a notice, and cannot complete the transaction.
This worked perfectly before the WordPress and WooCommerce updates, but now when I have a floral item in the cart, select “local pickup”, and attempt to complete the transaction, I get the validation notice which says, “Sorry, we can only deliver floral items to the postal codes 97123, 97124, 97116, and 97113.”
This plugin was perfect for our needs, but now we won’t be able to use it until this bug is worked out. Is there something I can do to fix this problem other than reverting back to the previous WooCommerce version?
Thank you,
Paul
Is it possible to set a rule that disables a shipping method if the quantity of products in cart with a specific shipping class is not a multiple of X?
]]>Hello,
On multisite, I found it does not show up the Message again with latest Woocommerce Version, would you please have a check?
Thanks
]]>hi,
when I define a rule, it gives following PHP message at plugin validation define page
Warning: count(): Parameter must be an array or an object that implements Countable in …/public/wp-content/plugins/advanced-shipping-validation-for-woocommerce/includes/admin/views/html-overview-table.php on line 57
1
how can i solve that?
]]>