With woocommerce I am using Dokan plugin and I am trying to display the vendor name, rating and vendor location on single product pages. I tried this code to display vendor name but no luck: Any help is appreciated. Answer I don’t use dokan plugin. Here is the way to get the (post) author ID and to make your code
Tag: hook-woocommerce
Display a custom notice before all default notices in Woocommerce checkout page
I use the following below code for show custom message to un-logged woocommerce users (visitors) in checkout page top code recive this forum, from mr @loictheaztec my before question link below: Display a custom message for guest users in Woocommerce checkout page I would like to change woocommerce_before_checkout_form in code for move my message to top (first) in checkout page.
Blur a background image via css
Get the author ID of each product in Woocommerce cart
In woocommerce, I need get the user ID of each product within the cart, The user ID isn’t from the customer, but is the user who created and published the product that is currently in the shopping cart (the author post). I have this code that I got here: WooCommerce Get Order Product Details Before Payment in Plugin code shared
Sorting priority for specific Woocommerce checkout fields depending on country
In Woocommerce, I need to set the default ordering priority (sorting) of three fields on the checkout page: The first change depends on the choice of the ‘IT’ country code: postcode – ‘priority’ => 91, The other two are free of conditions, I just need to set the default priority: billing_email – ‘priority’ => 30, billing_phone – ‘priority’ => 40,
Remove checkout notice from plugin Points & Rewards in WooCommerce
I’m using the WooCommerce plugin “Points & Rewards” which displays two notices in my checkout. I found the code of the notice generation in the plugin: public function __construct() { …. …
Add a sortable custom column in Woocommerce Admin Orders list
I’ve added a custom column to the “Orders” section of WooCommerce for the shipping zip code. The column and its values appear correctly. What I cannot figure out is how to make the sorting of this …
Hook woocommerce price in backend order edition
I need to change item product prices in Woocommerce Backend Order. I tried tu use the following hook, but I have a problem trying to obtain the order id. Any suggestion? Thanks in advance! Complete problem: The complete problem is as follows. I am using a plugin that adds a field to the product called wholesale price. If the customer
Saving the value of a custom field phone number in WooCommerce My account > Account details
Trying to add a field for Woocommerce billing_phone to the my-account/edit-account/. It is present within the update address pages but when adding to the form-edit-account.php it does not update. Currently adding by following the same code as the other fields, such as first_name: Image of form with billing_phone being shown as a value: But upon updating with new number it
Remove WooCommerce checkout fields values
I’m trying to apply autocomplete=”off” on my WooCommerce checkout fields but it just doesn’t work. Is there a way to do that for the checkout form? I checked the docs and there’s nothing available …