Disabled option is not displaying with configurable attributes in magento 2.1 - magento-2.0

We have setup the configurable products but when a product become out of stock, Still user are able to select that product. But every time, They receive the following message.
You need to choose options for your item.
Can we add disabled option with this attributes from admin panel so that user can not choose this option. (Already enabled "Display Out of Stock Products" )

Related

Woocommerce All Products Set Filter On Page Load

I'm trying to use the new blocking system with wordpress and woocommerce, I've created a new page where I'd like to show products but I want to pre filter these and then allow the user to also filter them to some extent.
I currently have an "all products" block a "price filter" and a couple "attribute filters", I'd like one of the attribute filters to be set when the page load, therefore setting the all products, but when I've tried to run the click method (in code) of the input I want selected, this doesn't update the all products, just sets the input to clicked, when if I manually click it runs.
I was wondering if anyone had any solutions for this as the way woocommerce has done the block system stuff, is way different from what I expected or maybe I'm just missing something
also I have tried the products by attribute, but it doesn't allow for other attribute filters to edit it.

Disable Order item link

Limit User Access
I'm trying to limit user access to not let him edit product data, such as weight, price, measurements...
I installed the Ultimate Dashboard Plugin and even managed to remove this direct access, letting him see only the orders page, because that's what I want him to have access to.
But when you open the order, he can still access the product through the order link.
Please is there any way I can disable this possibility?
You can achieve that by using the User Role Editor plugin. You can create a custom role there and uncheck the "Edit Product" capability.
Once you created the new custom role, you should go to the "All Users" page from the left admin sidebar, then find the user that you want to prevent editing the products and change its role to the new role that you created with the plugin.
Here is the documentation and examples:
http://shinephp.com/user-role-editor-wordpress-plugin/

Woocommerce: interrupt checkout just before payment step based on user roll

We are looking into adding a wholesale signup to a retail woocommerce website, and would like to make it so that if a customer is already registered as a normal retail customer (or is a new customer), and has items in their cart, and would like to apply to become a wholesale reseller during the checkout process 'that they can check a box (preferred), or press a button just before the final payment step.
I am presently using the "Woocommerce MultiStep Checkout Wizard" plugin that is ajax based, and presents the checkout steps in the following order..
Billing Details
Ship Details
View Order (with cart items and order summary)
Payment
Checking that box in step 3, or pressing that button should interrupt the checkout process and present them with an info & additional wholesale signup page with some extra user meta fields (e.g., fed tax id information, etc) that would gather any additional required information, and change their roll to something like "Wholesale Applicant", and would then postpone the final payment step (based on that specific roll), and will prevent final payment until their roll is either changed to "Wholesale Customer" (accepted), or is rejected by the shop admin. In the latter case, their roll would be manually reset to "Retail Customer".
I also am using the "Varktech Pricing Deals for Woocommerce" plugin to manage wholesale discounts based on the user's roll
An email should also be sent to the shop admin whenever a customer wants to go the wholesale route.
NOTE: the wholesale signup page should have a way to cancel and complete the payment step - in case they change their mind too.
I am not a programmer, but have searched for a plugin that could do this with no luck (so far).
I think sometimes newly added checkout/cart based plugins add/edit/update, Please (Resetting checkout fields ) follow below links
Resetting the checkout fields >>> To reset your fields back to the originals, go to WooCommerce > System Status > Tools and look for the “Checkout Fields” section. Click the ‘reset’ buttons and any customisations to your fields will be removed.
After that check all ... all for the best! ...

WooCommerce - Disable shipping for downloadable purchases

I've just set up a Woocommerce based webstore and I'm very happy with it so far, but I've come across something that isn't necessarily a dealbreaker, though it's annoying for the customer.
Some context: the store is for my band website and sells physical as well as digital media, collecting shipping information for physical media makes a lot of sense of course, however it's unnecessary step if the customer is only buying digital media.
I've been searching but not had any luck, is there any way to turn off the shipping if all of the items in the user's cart are digital downloads?
UPDATE For WooCommerce 2.6+ (and 3+)
1) Enabling shipping in WooCommerce (prior)
You need to go in:
WooCommerce > Settings > General > Shipping Location(s) (selector), to select a shipping behavior for your e-commerce:
Then save. A new Shipping Tab is going to appear in WooCommerce Settings (in products too).
2) To disable shipping for your downloadable product
You need in your product page edit mode within the Product data metabox to enable:
The downloadable checkbox (as this product is downloadable logically).
The virtual checkbox (as this product is not going to be shipped, logically too)
When enabling the virtual checkbox the shipping tab setting will disappear.
Then update your downloadable product.
Now If you add to cart this downloadable (virtual) product and you go to checkout, there is NOT anymore shipping address or shipping options for this product.
Go to WooCommerce => Settings => Shipping => Shipping Destination and uncheck "Collect shipping address even when not required".
According to the code, if all items are "virtual" then shipping is not required. If you have the aforementioned box checked, it ignores whether the items are in the cart are physical or virtual and will require the shipping address.
in the new versions of Woocommerce luckily, the tick of a “Downloadable” product type will disable shipping for this product

Adding weight and volume to woocommerce products

I'm trying to configure the FedEx plugin on my woocommerce installation. According to the woocommerce documentation: http://wcdocs.woothemes.com/user-guide/extensions/shipping-methods/fedex/
The FedEx Shipping Extension only works when your products have a defined volume and weight. That’s how it calculates what to charge for shipping. Whenever you add a new product to your inventory, make sure you have entered its weight along with the size of the smallest box you plan to ship it in.
The problem is when I'm adding a new product or editing an existing one, I do not see these options anywhere.
This is what the documentation shows
This is what I see
The shipping tab isn't much help either - it just has a shipping class dropdown menu. Tried creating a test shipping class, but I don't see anywhere where to specify weight and/or volume. Any help is highly appreciated!
Those fields will only display on the edit product page if you enable them.
Go to WooCommerce -> Settings and click on the "Catalog" tab. Then under the "Product Data" section check the boxes next to "Enable the weight field for products" and "Enable the dimension fields for products".

Resources