woocommerce Questions

3

So I'm trying to hide certain ship methods in Woocommerce based on a product tag. The main problem I face is my own lack PHP knowledge so I frankensteined the following code together with the help ...
Mord asked 1/7, 2013 at 16:17

3

Solved

I have a strange behaviour that I don't understand I've changed the woocommerce_shop_loop_item_title hook to add a link to the title of the product. This is my code inside functions.php // Add HR...
Bohannan asked 12/9, 2017 at 10:57

4

How I can create an API KEY for woocommerce by WP-CLI? I'm creating a WooCommerce store by this commands: sudo /usr/local/bin/wp --info --allow-root sudo /usr/local/bin/wp cli update --allow-root...
Shote asked 28/9, 2016 at 0:16

5

Any pages with page type posts, order type posts, or posts show this error. This is only visible on a hosted environment. I cannot replicate the errors locally I have done the following in this or...
Gabriel asked 11/9, 2019 at 1:42

3

Solved

I am developing a plugin for WooCommerce. I want to override the order details template of admin. i have read about on https://www.skyverge.com/blog/override-woocommerce-template-file-within-a-p...
Runck asked 13/4, 2015 at 9:44

3

Solved

We have a bunch of products with either: No price Zero price We made them purchasable with the built-in hook but the cart still displays them as having a 0 price during checkout. We'd like the...
Banwell asked 27/6, 2016 at 15:4

4

Solved

I would like to display the default product attributes form value and it's regular price in my front end template file. The var_dump below shows options in an array. I Need to get the [default_attr...
Josephinejosephson asked 9/12, 2017 at 10:37

7

Solved

In WooCommerce I would like to hide Out of Stock products from Related products in single product pages. Is it possible? Any track is appreciated.
Rover asked 1/3, 2019 at 20:29

2

Solved

Is there woocommerce function that will return me all related orders (at least the order ID) for the specific subscription that user has bough? I have found in this official documentation Subscrip...

2

Solved

Before I updated to WC at 4.3.1 ,I had this code and it worked well add_action( 'rest_api_init', function () { register_rest_route( 'px-module-woocommerce', '/px/cart', array( 'methods' => 'P...
Rollick asked 24/7, 2020 at 15:52

4

Solved

I am trying to change the WooCommerce Registration form minimum password strength and I am unable to do much. Can anyone please share a solution by which I can amend the minimum password strength ...
Filberto asked 10/5, 2017 at 17:36

2

Solved

Here's a working example of where we are: http://fpusa.drunk.kiwi/product/ship-your-idea-2/ I am trying to create 'swatches' for a user to click, which would than change the value of the hidden se...
Fruiterer asked 22/2, 2019 at 14:39

3

My In my woocommerce login form successful login it is redirection to shop page I did, And after login error it should be same page but it goes /wp-login.php.I got some codes but it is working whe...
Forsaken asked 30/3, 2015 at 9:4

9

Solved

I want to override woocommerce templates from my theme. I follow all the steps from the official documents of woocommerce. And I'm sure that there is no woocommerce.php file in my theme. So, I can...

6

Solved

I am trying to re-order my categories from the default alphabetical order. My admin backend my categories look like this: And on the frontend they they look like this: Is it possible to have...
Kalmuck asked 25/4, 2016 at 8:17

4

Solved

Currently when someone adds a product to our website it says: "X Product" has been added to your cart | and then has a "Continue Shopping" button in that notice that is on the right. Since we onl...
Ouzo asked 1/3, 2018 at 21:24

5

I can't for the life of me manage to override the main shop page. My understanding is that it's archive-product.php I've attempted to copy it into the Woocommerce directory I created in my theme'...
Ironsides asked 3/9, 2013 at 18:3

3

Solved

Right now www.mysite.com/shop list all product. I want to list other content in shop page (say only category) and in www.mysite.com/shop-product to show content what is shown right now in shop page...
Lanellelanette asked 11/5, 2016 at 9:57

2

Solved

I have searched and found a number of examples of how to change the shipping rates. Basically I am looking to do the same, but I want to use a 3rd party API. I have set up a custom plugin with a f...

4

Solved

I would like to remove from the dropdown of variations in WooCommerce product page following "option": I found plenty of, apparently not working codes which should do the job. Probably outdated t...
Ronnyronsard asked 4/7, 2018 at 22:41

3

Solved

I am getting the dynamic custom price in a variable that I want to pass to the hooked function in woocommerce_before_calculate_totals hook in cart. But it isn't working. This is my code: $add=20...
Rationalize asked 2/8, 2016 at 9:0

2

Solved

I would like to update the price of products adding a custom price in cart using this simple piece of code update_post_meta( $product->id, '_regular_price', $frame_price_added);. Note: what I'm...
Dampen asked 31/8, 2016 at 18:12

8

Solved

I'm using the WooCommerce REST API (http://woocommerce.github.io/woocommerce-rest-api-docs/#introduction) and can download Customers, Orders, etc successfully. I'm now trying to get a filtered list...

4

Solved

We have a custom registration page for our WooCommerce site which is based on a Business Bloomer shortcode and added an input field for the first name of the user. The code within our functions.php...
Retroversion asked 4/2, 2020 at 16:56

4

Solved

I want to know if the shop_manager is logged-in WP/woocommerce. I know the function is_admin(), but do you know a way to use something like this 'is_shop_manager()' ? Thanks
Deus asked 16/7, 2013 at 10:22

© 2022 - 2024 — McMap. All rights reserved.