I put product status and other info in short description field on wp all import for all products like this: avaliable I want if product category is Videocards to change product status and icon to “call” insted of “avaliable” like this: call Any way to do this with custom function in wp all import or in function.php file of my
Tag: woocommerce
Change order item custom meta data displayed label and value in WooCommerce Admin orders
In the Woocommerce admin screen, I’m attempting to use the order line meta data to display a button which will open up a new window with the URL of the dropship supplier. I have successfully pulled the supplier URL from the product on order and pushed it to the order line item. I am able to change the meta data
Empty cart button on woocommerce cart page does not work properly
I’m using this code to creare a button on my woocommerce cart page (near the update cart button): The problem is that it works only by clicking two times. I think that the problem could be that I’m using this link to add a product to the cart: Any idea how to solve this? Answer The problem lies in the
Check and redirect to log in before checkout redirecting on wrong URL
I am using woocommerce and I have created a login and register page. I am not using any plugin for this. My issue is, I have to check and redirect to log in before checkout I refer to this code(WooCommerce check and redirect to login before checkout) I am using the below code but when I click Proceed to checkout
WooCommerce – removing country field from my-account page prevents from saving address
I sell and ship products only to one country so I don’t want to display billing_country and shipping_country field to the customers. I removed the fields from both checkout and my-account addresses …
Display a product custom field only in WooCommerce Admin single orders
This question follows How to show a product custom field (custom SKU) in WooCommerce orders answer to my previous question. How do I make a product custom field articleid (custom SKU) to be visible only in Admin Order edit pages for each order item? Also, it does not work for manual orders. How to display a product custom field articleid
How to show a product custom field (custom SKU) in WooCommerce orders
Is there a way to display my custom SKU under each product on the WooCommerce order page? The custom sku displays fine when I edit the product, but it does not display in the order page for the product. I need this information to show on the order so that Zapier can match it with the Visma Account Software ArticleID
Redirect to shop if cart is emptied on cart page in WooCommerce 3+
In WooCommerce I want to redirect from cart to shop page when cart is empty and I am using this code: function cart_empty_redirect_to_shop(){ global $woocommerce; if ( is_page(‘cart’) and !…
Hide specific variation attributes displayed in WooCommerce cart items
I want to hide specific variations from the cart page in Woocommerce, I was able to hide all the variation names but I want to keep 3 that need to be shown. The following code shows all the variations …
Replace add to cart button based on WooCommerce product weight [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I’m building an online store with wordpress and woocommerce. I need to replace the add to cart button with a