williamm095
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Hide out of stock variations when filteringHi @ctuxboy my solution (and yours) aren’t working anymore after the last update of Woocommerce, is this the case with you or not?
Forum: Plugins
In reply to: [WooCommerce] Filtering shows out of stock variation productsHi, Same issue here. Very frustrating for customers filtering on shoe-size, because they find out the shoe isn’t actually available. I had a fix where products that were out of stock got less opacity but after the latest update that stopped working too.
Forum: Plugins
In reply to: [WooCommerce] Hide out of stock variations when filteringNot a problem! Here you have the Github link: https://github.com/WilliamM095/outofstock-variations/blob/master/fix
Don’t forget to read my original post and to add the CSS!
Good luck
Forum: Plugins
In reply to: [WooCommerce] Hide out of stock variations when filteringHi Sam, I feel you this is a mayor issue for lot’s of people. I eventually created my own solution with snippets I found on Google and my own CSS. If you want to try it, please be my guest. This first part you add to the functions.php file located in your theme folder. Everywhere you see ‘schoenmaat’ you just change that part to the slug of your attribute you want to hide out (schoenmaat is dutch for shoe size).
/* layered navigation hide out of stock items
*/
function product_in_stock($post, $product) {
if ($_GET[‘filtering’] == 1 && $_GET[‘filter_schoenmaat’] > 0 ) {
$STOCK = FALSE;
$slugmap = array();
$attribs = $product->get_variation_attributes();
$terms = get_terms( sanitize_title( ‘pa_schoenmaat’ ));
if($terms)foreach($terms as $term)$slugmap[$term->slug]=$term->term_id;
$available = $product->get_available_variations();
if($available)foreach($available as $instockitem){
if(isset($instockitem[“attributes”][“attribute_pa_schoenmaat”])){
if($instockitem[“attributes”][“attribute_pa_schoenmaat”] == $_GET[“filter_schoenmaat”] && $instockitem[“max_qty”]>0){
$STOCK = TRUE;
}
}
}
return $STOCK;
} else {
return true;
}
}
// Funciones para crear un div in/out of stock alrededor del producto
function check_if_out_of_stock(){
global $post,$product;
$stock = product_in_stock($post,$product);
$output = ‘<div class=”‘;
$output .= $stock?”instock”:”outofstock”;
$output .= ‘”>’;
$output .= $stock?””: “<span class=’out-stock’>” . __( ‘Not in stock’, ‘woocommerce’ ). “</span>”;
echo $output;
}
add_action( ‘woocommerce_before_shop_loop_item’, ‘check_if_out_of_stock’);Next up you add some css to your general stylesheet of the website. Usually under theme options in your wordpress backend.
.out-stock{display:none;}
.outofstock .product-image{opacity:0.2 !important;}
li.product:has( .outofstock ) {
display:none !important;
}This solution greys out the images of the products that aren’t available in that size by giving them a lower opacity. This doesn’t delete them from the search result but at least it’s clear to customers that those aren’t available. This was the best I could come up with so hopefully this works for you! Let me know if it works or not. Good luck!!
Forum: Plugins
In reply to: [PayPal for WooCommerce] Orders always in pending statusHi @cedat, I’m having something simular so I was curious which plugin was it that caused it? Thanks in advance!
Will
Forum: Plugins
In reply to: [bpost shipping] Error when printing labelHi,
The admin account was made! You can acces the website.
Thanks
Forum: Plugins
In reply to: [bpost shipping] Error when printing labelVersion 2.2.1
Forum: Plugins
In reply to: [WooCommerce] Hide out of stock variations when filteringHi antondrob,
Sadly enough I am unable to fix the problem myself and the Woocommerce makers resist making a fix for this..so no I havn’t been able to solve this.
I hope they are going to fix this bug soon but I doubt it since it’s been a problem for over 2 years.
William
Forum: Plugins
In reply to: [bpost shipping] Error when printing labelAny progress?
Thanks,
WiliamForum: Plugins
In reply to: [bpost shipping] Error when printing labelThis error comes before the previous:
12-06-2016 @ 13:47:48 – [DEBUG] curl request: {“10002″:”https:\/\/api-parcel.bpost.be\/services\/shm\/121765\/productconfig”,”10018″:”PHP Bpost\/3.3.0 “,”19913″:1,”13″:30,”84″:2,”10023”:[“Accept: application\/vnd.bpost.shm-productConfiguration-v3.1+XML”,”Authorization: Basic MTIxNzY1OmdsYXNzZm9ybGlmZTQyMA==”]}
12-06-2016 @ 13:47:48 – [DEBUG] curl response: {“status”:”0 ()”,”headers”:{“url”:”https:\/\/api-parcel.bpost.be\/services\/shm\/121765\/productconfig”,”content_type”:”application\/vnd.bpost.shm-productconfiguration-v3.1+xml”,”http_code”:200,”header_size”:387,”request_size”:228,”filetime”:-1,”ssl_verify_result”:0,”redirect_count”:0,”total_time”:0.083146,”namelookup_time”:1.9e-5,”connect_time”:0.006279,”pretransfer_time”:0.032156,”size_upload”:0,”size_download”:4141,”speed_download”:49803,”speed_upload”:0,”download_content_length”:-1,”upload_content_length”:0,”starttransfer_time”:0.083127,”redirect_time”:0,”redirect_url”:””,”primary_ip”:”193.191.180.51″,”certinfo”:[],”primary_port”:443,”local_ip”:”176.62.173.236″,”local_port”:50315},”response”:”<?xml version=\”1.0\” encoding=\”UTF-8\” standalone=\”yes\”?><productConfiguration xmlns=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/\” xmlns:ns2=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/common\” xmlns:ns3=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/national\” xmlns:ns4=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/international\”><deliveryMethod visiblity=\”VISIBLE\” name=\”home or office\”><product default=\”false\” name=\”bpack Easy Retour\”><price price20To30=\”0\” price10To20=\”0\” price5To10=\”0\” price2To5=\”0\” priceLessThan2=\”0\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Signature\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Reminder"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Next Day"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><\/product><product default=\”true\” name=\”bpack 24h Pro\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Evening\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Same day\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Signature\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Next Day"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Automatic 2nd Presentation\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Cash on delivery\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Reminder"\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”pick-up point\”><product default=\”true\” name=\”bpack@bpost\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”VISIBLE_BY_CONSUMER_AND_MANDATORY\” price=\”0\” name=\”Keep me informed via\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Cash on delivery\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”parcel locker\”><product default=\”true\” name=\”bpack 24\/7\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”home or office\”><product default=\”false\” name=\”bpack World Easy Return\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><\/product><product default=\”true\” name=\”bpack World Business\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”International Insurance\”\/><\/product><product default=\”false\” name=\”bpack World Express Pro\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”International Insurance\”\/><\/product><\/deliveryMethod><\/productConfiguration>”}
12-06-2016 @ 13:47:48 – [DEBUG] curl request: {“10002″:”https:\/\/api-parcel.bpost.be\/services\/shm\/121765\/productconfig”,”10018″:”PHP Bpost\/3.3.0 “,”19913″:1,”13″:30,”84″:2,”10023”:[“Accept: application\/vnd.bpost.shm-productConfiguration-v3.1+XML”,”Authorization: Basic MTIxNzY1OmdsYXNzZm9ybGlmZTQyMA==”]}
12-06-2016 @ 13:47:48 – [DEBUG] curl response: {“status”:”0 ()”,”headers”:{“url”:”https:\/\/api-parcel.bpost.be\/services\/shm\/121765\/productconfig”,”content_type”:”application\/vnd.bpost.shm-productconfiguration-v3.1+xml”,”http_code”:200,”header_size”:387,”request_size”:228,”filetime”:-1,”ssl_verify_result”:0,”redirect_count”:0,”total_time”:0.086131,”namelookup_time”:1.3e-5,”connect_time”:0.006209,”pretransfer_time”:0.034388,”size_upload”:0,”size_download”:4141,”speed_download”:48077,”speed_upload”:0,”download_content_length”:-1,”upload_content_length”:0,”starttransfer_time”:0.086112,”redirect_time”:0,”redirect_url”:””,”primary_ip”:”193.191.180.51″,”certinfo”:[],”primary_port”:443,”local_ip”:”176.62.173.236″,”local_port”:50317},”response”:”<?xml version=\”1.0\” encoding=\”UTF-8\” standalone=\”yes\”?><productConfiguration xmlns=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/\” xmlns:ns2=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/common\” xmlns:ns3=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/national\” xmlns:ns4=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/international\”><deliveryMethod visiblity=\”VISIBLE\” name=\”home or office\”><product default=\”false\” name=\”bpack Easy Retour\”><price price20To30=\”0\” price10To20=\”0\” price5To10=\”0\” price2To5=\”0\” priceLessThan2=\”0\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Signature\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Reminder"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Next Day"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><\/product><product default=\”true\” name=\”bpack 24h Pro\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Evening\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Same day\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Signature\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Next Day"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Automatic 2nd Presentation\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Cash on delivery\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Reminder"\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”pick-up point\”><product default=\”true\” name=\”bpack@bpost\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”VISIBLE_BY_CONSUMER_AND_MANDATORY\” price=\”0\” name=\”Keep me informed via\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Cash on delivery\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”parcel locker\”><product default=\”true\” name=\”bpack 24\/7\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”home or office\”><product default=\”false\” name=\”bpack World Easy Return\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><\/product><product default=\”true\” name=\”bpack World Business\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”International Insurance\”\/><\/product><product default=\”false\” name=\”bpack World Express Pro\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”International Insurance\”\/><\/product><\/deliveryMethod><\/productConfiguration>”}
12-06-2016 @ 13:47:48 – [DEBUG] curl request: {“10002″:”https:\/\/api-parcel.bpost.be\/services\/shm\/121765\/productconfig”,”10018″:”PHP Bpost\/3.3.0 “,”19913″:1,”13″:30,”84″:2,”10023”:[“Accept: application\/vnd.bpost.shm-productConfiguration-v3.1+XML”,”Authorization: Basic MTIxNzY1OmdsYXNzZm9ybGlmZTQyMA==”]}
12-06-2016 @ 13:47:48 – [DEBUG] curl response: {“status”:”0 ()”,”headers”:{“url”:”https:\/\/api-parcel.bpost.be\/services\/shm\/121765\/productconfig”,”content_type”:”application\/vnd.bpost.shm-productconfiguration-v3.1+xml”,”http_code”:200,”header_size”:387,”request_size”:228,”filetime”:-1,”ssl_verify_result”:0,”redirect_count”:0,”total_time”:0.087916,”namelookup_time”:1.2e-5,”connect_time”:0.006007,”pretransfer_time”:0.03358,”size_upload”:0,”size_download”:4141,”speed_download”:47101,”speed_upload”:0,”download_content_length”:-1,”upload_content_length”:0,”starttransfer_time”:0.087892,”redirect_time”:0,”redirect_url”:””,”primary_ip”:”193.191.180.51″,”certinfo”:[],”primary_port”:443,”local_ip”:”176.62.173.236″,”local_port”:50318},”response”:”<?xml version=\”1.0\” encoding=\”UTF-8\” standalone=\”yes\”?><productConfiguration xmlns=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/\” xmlns:ns2=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/common\” xmlns:ns3=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/national\” xmlns:ns4=\”http:\/\/schema.post.be\/shm\/deepintegration\/v3\/international\”><deliveryMethod visiblity=\”VISIBLE\” name=\”home or office\”><product default=\”false\” name=\”bpack Easy Retour\”><price price20To30=\”0\” price10To20=\”0\” price5To10=\”0\” price2To5=\”0\” priceLessThan2=\”0\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Signature\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Reminder"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Next Day"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><\/product><product default=\”true\” name=\”bpack 24h Pro\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Evening\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Same day\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Signature\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Next Day"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Automatic 2nd Presentation\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Cash on delivery\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Reminder"\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”pick-up point\”><product default=\”true\” name=\”bpack@bpost\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”VISIBLE_BY_CONSUMER_AND_MANDATORY\” price=\”0\” name=\”Keep me informed via\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Cash on delivery\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”parcel locker\”><product default=\”true\” name=\”bpack 24\/7\”><price price20To30=\”400\” price10To20=\”400\” price5To10=\”400\” price2To5=\”400\” priceLessThan2=\”400\” countryIso2Code=\”BE\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Info "Distributed"\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Insurance\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”Saturday\”\/><\/product><\/deliveryMethod><deliveryMethod visiblity=\”VISIBLE\” name=\”home or office\”><product default=\”false\” name=\”bpack World Easy Return\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><\/product><product default=\”true\” name=\”bpack World Business\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”International Insurance\”\/><\/product><product default=\”false\” name=\”bpack World Express Pro\”><price price20To30=\”14500\” price10To20=\”10000\” price5To10=\”4000\” price2To5=\”1800\” priceLessThan2=\”1000\” countryIso2Code=\”US\”\/><option visiblity=\”NOT_VISIBLE_BY_CONSUMER_OPTIONAL\” price=\”0\” name=\”International Insurance\”\/><\/product><\/deliveryMethod><\/productConfiguration>”}Hi,
I have the exact same error. I’ve send you an e-mail. I would suggest putting the solution here because I too have a deadline for this project and now the whole order system is broken.
Thanks in advance,
WilliamForum: Plugins
In reply to: [WooCommerce] Hide out of stock variations when filteringI agree, the answer in the article makes sense in terms of performance issues but that’s a rather silly excuse. From my experience as a webdeveloper Woocommerce is the only e-commerce platform that has this problem and they apparently refuse to do something about it. If the performance issue would be an unavoidable problem, why do other e-commerce platforms don’t have this bug then?
What I’m trying to accomplish here isn’t rocket science. It’s just a basic functionality of any e-commerce website with variations. If checking if a variation is in stock when filtering products is going to slow down or even crash your website Woocommerce is just coded badly, plain and simple. I assumed that a team as big as Woocommerce could manage to fix this error that has been going on for over 2 years or even longer.
Forum: Plugins
In reply to: [WooCommerce] Hide out of stock variations when filteringSo what you are saying is that Woocommerce doesn’t allow filtering on product variations even if this is a key function like in a Shoe store, Clothing store, etc. People just have to scroll through the store and hope that the shoes they like are available in their size. This makes the customers have a very bad shopping experience.
Don’t get me wrong, I use Woocommerce all the time and only in this shop I ‘ve got troubles using it.
I read the article you’ve commented and it seems (by googled this problem) many people are having this issue. This article dates from 2 years ago though and Woocommerce hasn’t done anything to solve this failure in it’s functionalities.
It just disappoints me that Woocommerce doesn’t have a solution for this problem even though it is been there forever. The only solution would be to switch from Woocommerce to another e-commerce service but we just transferred the store from Magento to Woocommerce (because in many aspects Woocommerce was a beter option for this customer) a couple of month ago so that’s not an option either.
Guess i’m stuck with this problem?
Forum: Plugins
In reply to: [WooCommerce] Hide out of stock variations when filteringHi, Thanks for replying so fast. I did check that checkbox, didn’t work. I guess that only works when the product as a whole is out of stock, not when a couple of variations of that product are out.
The link of the website: http://birkenshop.be/product-categorie/birkenstock/sandalen/
The filter i’m talking about is: ‘Schoenmaat’ (that stands for shoe size in dutch) just select a shoe size and click a couple shoes, you’ll notice that the filter doesn’t look if the size is out of stock or not.system status report:
### WordPress Environment ### Home URL: http://birkenshop.be Site URL: http://birkenshop.be WC Version: 2.5.5 Log Directory Writable: ✔ WP Version: 4.5.3 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – Language: nl_NL ### Server Environment ### Server Info: Apache PHP Version: 5.5.35 PHP Post Max Size: 128 MB PHP Time Limit: 270 PHP Max Input Vars: 20000 SUHOSIN Installed: – MySQL Version: 5.6.24 Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 2.5.5 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_termmeta: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ ### Active Plugins (32) ### Akismet: door Automattic – 3.1.11 Bloom: door Elegant Themes – 1.1.7 Cart2Cart: Password Migration: door MagneticOne – 1.0 Contact Form 7: door Takayuki Miyoshi – 4.4.2 Facebook Widget: door Milap Patel – 4.1 Imagify: door WP Media – 1.5.6 Multisafepay: door Multisafepay – 2.2.4 Multisafepay iDEAL: door Multisafepay – 2.2.4 Multisafepay Maestro: door Multisafepay – 2.2.4 Multisafepay MasterCard: door Multisafepay – 2.2.4 Multisafepay MisterCash: door Multisafepay – 2.2.4 Multisafepay VISA: door Multisafepay – 2.2.4 Quick Page/Post Redirect Plugin: door anadnet – 5.1.8 Regenerate Thumbnails: door Alex Mills (Viper007Bond) – 2.2.6 Smart Slider 3: door Nextend – 3.0.35 Tracking Code Manager: door IntellyWP – 1.10.12 WooCommerce Bulk Edit Product Variations: door matterico_themes – 2.5.3 Woo Checkout Field Editor Pro: door ThemeHiGH – 1.1.0 WooCommerce Bulk Stock Management: door WooThemes – 2.2.1 – 2.2.2 is beschikbaar WooCommerce MailChimp: door Adam Anderly – 1.3.7 WooCommerce PDF Invoices & Packing Slips: door Ewout Fernhout – 1.5.36 WOOF - WooCommerce Products Filter: door realmag777 – 1.1.5.1 Woocommerce Products Per Page: door Jeroen Sormani – 1.2.2 WooCommerce Sequential Order Numbers: door SkyVerge – 1.7.0 WooCommerce Smart Sale Badge: door Hugh Lashbrooke – 1.1 WooCommerce Stock Manager: door Vladislav Musílek – 1.0.9 WooCommerce: door WooThemes – 2.5.5 WP Add Custom CSS: door Daniele De Santis – 1.0.0 WP Rocket: door WP Rocket – 2.8.5 WP User Avatar: door flippercode – 2.0.7 YITH WooCommerce Dynamic Pricing and Discounts Premium: door yithemes – 1.0.3 YITH WooCommerce verlanglijst: door YITHEMES – 2.0.16 ### Settings ### Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: Decimal Separator: , Number of Decimals: 2 ### API ### API Enabled: ✔ API Version: 3.1.0 ### WC Pages ### Winkelbasis: #55259 - /winkel/ Winkelmand: #5861 - /winkelmand/ Afrekenen: #5862 - /afrekenen/ Mijn account: #5864 - /mijn-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Neighborhood Version: 3.3.1 Author URL: http://www.swiftideas.net Child Theme: ✕ – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een subthema aan. Zie: Hoe maak je een subthema WooCommerce Support: ✔ ### Templates ### Overrides: neighborhood/woocommerce/archive-product.php neighborhood/woocommerce/cart/cart-empty.php neighborhood/woocommerce/cart/cart-totals.php neighborhood/woocommerce/cart/cart.php neighborhood/woocommerce/cart/cross-sells.php neighborhood/woocommerce/checkout/form-billing.php neighborhood/woocommerce/checkout/form-checkout.php neighborhood/woocommerce/checkout/form-shipping.php neighborhood/woocommerce/checkout/thankyou.php neighborhood/woocommerce/content-product.php neighborhood/woocommerce/content-product_cat.php neighborhood/woocommerce/content-single-product.php neighborhood/woocommerce/global/quantity-input.php neighborhood/woocommerce/loop/add-to-cart.php neighborhood/woocommerce/loop/loop-end.php neighborhood/woocommerce/loop/loop-start.php neighborhood/woocommerce/loop/result-count.php neighborhood/woocommerce/myaccount/form-edit-address.php neighborhood/woocommerce/myaccount/form-login.php neighborhood/woocommerce/myaccount/my-account.php neighborhood/woocommerce/myaccount/my-address.php neighborhood/woocommerce/order/order-details.php neighborhood/woocommerce/single-product/add-to-cart/external.php neighborhood/woocommerce/single-product/add-to-cart/grouped.php neighborhood/woocommerce/single-product/add-to-cart/simple.php neighborhood/woocommerce/single-product/meta.php neighborhood/woocommerce/single-product/product-image.php neighborhood/woocommerce/single-product/product-thumbnails.php neighborhood/woocommerce/single-product/related.php neighborhood/woocommerce/single-product/review.php neighborhood/woocommerce/single-product/tabs/additional-information.php neighborhood/woocommerce/single-product/tabs/description.php neighborhood/woocommerce/single-product/tabs/tabs.php neighborhood/woocommerce/single-product/up-sells.php neighborhood/woocommerce/single-product.php neighborhood/woocommerce/taxonomy-product_cat.php neighborhood/woocommerce/taxonomy-product_tag.php