Im using WooCommerce Plugin, and instead of the product I want to rename all titles and actions to Donations. this is what i have tried : I feel this is a very Clumsy and long way and maybe there is a better way or a plugin to rename/translate? Answer Add this to your active theme functions.php file
Tag: woocommerce
Get all products matching an attribute through WooCommerce API
I would like to find a way to get all the products that match an attribute brand = 226Ers. For example. I am using the automattic/woocommerce package. I have tried a thousand ways but none of them work. I have looked at the documentation and checked the internet but I can’t find the way to do it. Here is an
How can I get the id of a user just by writing their email in php? [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 months ago. Improve this question I am creating an endpoint to be able to send an email to a user in case they have forgotten
Change shipping cost for specific countries based on total orders by customer in WooCommerce
I follow this thread that works perfectly: Set discount based on number of orders in WooCommerce. But in my case I need to apply the discount not to the order total, but to the shipping cost and I would like to do this only for a specific country, specifically UK. For example: ONLY First order: 6€ (flat rate shipping cost)
WooCommerce Filter products with ACF and Product Category
I am using WooCommerce to display a product loop and have built out a filter for the same loop. The filter uses acf meta which the values are pulled directly from the query string. The meta_query is working as expected, however the tax_query seems to be not ineffective. I need some assistance as to why my tax_query is not producing
Is there a way to validade if a field attribute of a product exists in Woocommerce?
I found a youtube tutorial to create a plugin in Wordpress to add an input field for each product, so that the client could upload an image. You can add this field attribute to a product or not. The code has a validation function, to check if the image was uploaded or not. If not, promps you a warning saying
Auto assign a shop manager to a new WooCommerce order based on variable increment
I’m trying to assign every new order to a list of shop managers. What I need is like a queue, so every time a new order is created assign to the next shop manager in the queue. This is the code I have: The problem I’m dealing with now is that the $i variable can’t be stored even though I
Divi – I’ve hide the global header and footer and cannot find a way to enable again
I’ve tried to use the frontend builder from Divi to hide the header and footer of the checkout page through Custom css (display:none) at the section settings. The problem is that this disabled the Global Header and Footer and I can’t see the items anymore to remove the code. I’ve tried to enable again through the code #main-header { display:block!important;
How to add Google Ads conversion purchase event to my WooCommerce Thank you Page
I saw this Adding Google Ads Event Snippet To Conversion Page (thank you.php) But I have a different situation. I am using ” Auto Complete Processing WooCommerce orders on Thank you Page” and “Redirect WooCommerce checkout page” all these are inside my functions.php file. This is what my functions.php file looks like. I hid my site with ” ********* “
WooCommerce Product SKU checking is not working
I am trying to create and update woocommerce products automatically from an API. I have created the starting point of the plugin and this is my method that gets the products from the external API and then loops through them and creates a simple product in woocoommerce. It creates the products perfectly fine however if I run the code twice,