WooCommerce – Check product availability and return custom text
-
Hi everyone,
Hope someone here is knowledgeable enough to help me with this issue…
I’m using the latest version of WooCommerce, and I have just bought their new Pre-Order extension. The problem I’m having is the confusions between the wording “backorder” and “pre-order”.
If I enable pre-orders on a product, it changes the cart button to “pre order” which is good, but it also say’s “backorders available” because I have backorders set as “allow, but notify customers”. This is not ideal as it would confuse customers with different terms. If I set backorders to “allow, but don’t notify” then it will simply say the product is “in stock”, which it isn’t. And if I change the product to “out of stock”, it simply say’s “out of stock” on the product page and the customer cannot order it. See my problem I’m having?
I contacted woothemes support and they suggested “add a check to the if statement to see if the product is a pre-order and do not display it on pre order products”.
The code they refer to…https://github.com/woothemes/woocommerce/blob/master/templates/single-product/add-to-cart/simple.php#L21
So…does anyone have a solution to this? All I want is for when a product is on pre-order, it say’s something like “pre-order only” rather then “in stock” or “backorders available”.
Hope this all makes sense…. Surely I can’t be the only one having this issue. It seems like such a simple request, I’m confused as to why it isn’t just standard in WooCommerce. I certainly thought the problem would be solved with a $100 extension purchase, but apparently not…
- The topic ‘WooCommerce – Check product availability and return custom text’ is closed to new replies.