I’m trying to add a custom settings tab to the WooCommerce settings screen. Basically I want to achieve a similar thing to the Products settings tab, with the subsections/subtabs: I haven’t been able to find any decent documentation on how to do this but I’ve been able to add a custom tab using this snippet: Based on what I’ve dug
Tag: settings
How to get Shipping Methods custom additional data in Woocommerce?
From this comment I’ve created custom field “Shipping Method Description” inside shipping methods: But I can’t understand how to get this data in front-end inside my custom shipping template(/cart/cart-shipping.php) like: This comment isn’t clear for me how to get this instance settings. Can anyone suggest a solution? Answer WooCommerce shipping method settings are stored in wp_options table on option_name column
WooCommerce – Remove downloads from menu in my account page
I would like to remove downloads menu from my account page. How can I do this? Is it any hook to remove a specific item from the menu? Thanks. Answer Go to WooCommerce > Settings > Advanced and remove the entry for Downloads in the Account endpoints section, just leave it blank. And the menu will not be visible anymore.