Good day, Could anyone please help me how to insert icons before delivery method? I use this filter This works normally for local pickup and Zásilkovna, but not for the last two. I found the id I have with them at the value “value” in the input. Would anyone know how to help me? Or how to do this using
Tag: woocommerce
How do I set custom product meta on a new product using WooCommerce Core?
I’m adding new products (car listings) to my WooCommerce shop in bulk in PHP. I’m looping through rows in a custom data table and adding them as WooCommerce products. I’m able to save each product and …
WooCommerce Order Export: Get custom data per line item
I’m using the “WooCommerce Customer / Order / Coupon Export” plugin to export my orders as a CSV file. I’m exporting the orders in a one row per item format. This means that every order has multiple lines. One line per order item. Now I want to add some extra data to every line item. For example the author (in
WooCommerce: Automatically change the user role after a certain quantity of completed orders or a minimum amount in one order
I want to change automaticly user role to Premium after 3 completed orders Spending minimum 500 cash in one order I found on internet this two code snipets : And this one to access order history: Source: Checking if customer has already bought something in WooCommerce How I can tweak them to make it work ? Thank you in advance
Dynamic custom order numbers based on payment method
I have the following code in my functions.php file: The code works but I want it to permanently save the new order number. It should permanently make CHEXXXX (ex. CHE5783) the order number in the database if the user checked out using check payments. Right now this code only makes it temporary. It does not need to update previous order
Remove read more button for out of stock item
Ive been strugling with removing a “read more” or “beri dalje” button from my website. The website in question is www.fotroviciliji.si . I can locate it and hide it in chrome investigator but not via global css or using php in functions.php. The button has a class name btn border-grey product_type_simple. I tried to hide it via global css code.
Is it possible to change a WordPress/woocommerce title that is written with uppercase to appear capitalized?
I am currently working on a project that is based on WordPress and as an e-commerce platform, it uses WooCommerce. I made a product migration from an old site that has the product titles written in uppercase. Currently I have this html code for the titles inside a product: So I want the product title to appear like “Product Title”.
WooCommerce – Remove product title from breadcrumbs but keep all category hyperlinks
I’m using the following function to remove the product title from the breadcrumbs displayed on the product page: add_filter( ‘woocommerce_get_breadcrumb’, ‘ed_change_breadcrumb’ ); function …
Display shipping class name on WooCommerce single product pages
Need to display the product shipping class to product page! any ideas why this is not working? add_action(‘woocommerce_single_product_summary’, ‘display_product_shipping_class’, 15 ); function …
Custom WooCommerce datepicker checkout field saved and displayed on orders and emails
I have added a new custom datepicker field on the WooCommerce checkout page. I am using Enabling a date-picker in Woocommerce checkout fields. All it’s OK On checkout page. But now I really don’t know how can I save and add this new field on the order notes. Any help is appreciated. Answer Section 1 The following will display a