As a result of my research, I can bring similar sku ones no matter which product I enter, but I encountered a problem, the sku code of the product I entered changes. E.g: 1- ) 36.214.03 2- ) 36.214.19 3- ) 36.214.17 This is how sku values similar to the product I entered are returned. ..
According to this page, How to display usernames in Woocommerce Admin orders list custom column? , it works on display the usernames. However, how do I add the full name instead of username? I’m aware that there is full name right beside the order number. But I wanted to display another column just for full ..
Circumstances: I created a product and added stock quantity: 80. I installed Min/Max Quantities plugin and added min:1 & max: 20 for that product. (Quantity varies from product to product) Problem: I need to echo max quantity of 20 on a shop page, but this code displays 80 which is stock quantity. echo $product->get_max_purchase_quantity(); Would ..
My Woo store is selling digital products only, I don’t need the customer to provide the billing and shipping address from the checkout, I don’t want several steps to make the order, I make a simple product page and add the purchase link to each product, when a customer clicks, it redirects the customer to ..
problem: client has sample products which he offers to customer for free of cost. only a single sample product offering to a customer. scenario: the customer can only add one product to cart. if customer choose one product, the add to cart buttons of other products are automatically disabled. if user wants to add another ..
I am trying to automatically change Woocommerce orders with "Failed" status to "Cancel" status after 24h. It means the customer has not been able to pay his order. I have tried many things so far but was not able to make it work. Here is the mu-plugin I have created : <?php add_action( ‘woocommerce_cancel_unpaid_submitted’, ‘cancel_failed_orders’ ..
I want to validate the following in the order: Unfortunately I am not very familiar with woocommerce code … The following situation: Field 2 must be smaller than field 1. Otherwise an error message or a <div class "message" /> should be added via JQuery or PHP. I get an error message on Browser and ..
I will try to explain what my goal is and what i already did. I am importing a bunch of products into WooCommerce, but now i would like to add a function, that does set the product category automatically to "NEW IN" if the product is not older than 60 days. After the 60 days ..
I have an XML feed that I use in WP All Import to update my products on my Woocommerce site. I have two locations where stock is kept in my country – they are called wh1 and wh2 and in the XML feed they are called wh1stock and wh2stock. I want to have them add ..
I would like to show specific attributes on single product page on WooCommerce. I’m using Get specific product attribute and display it in Woocommerce Single Product Pages answer code The question is: how i could add more attributes in the existing code? Sourc..