OFF TOPIC. An e-commerce store plugin. Questions *specific* for this plugin are off-topic.

learn more… | top users | synonyms

1
vote
2answers
30 views

WOO-Commerce translation | Tried it all [closed]

Hope anyone can help me with this problem. I installed WOO-Commerce all great and I set up the language to Dutch ... But as you can see there are still a lot of small things still not adjusted to ...
0
votes
1answer
228 views

How to get the first image gallery of a product in woocommerce in a loop

I want to diplay a product with product image, and when visitor hover that image, will change to first image from product gallery I am using this code to display the image gallery, but displayed all ...
0
votes
1answer
38 views

How to run JavaScript function in WooCommerce checkout?

I'm building reCAPATCHA into my WooCommerce checkout. It is a fairly easy process as I'm using woocommerce_checkout_process to validate the capatcha. However, I have running into one issue. When ...
0
votes
0answers
38 views

Query/load only WooCommerce shop categories into a custom landing page?

I want to reuse the WooCommerce shop-categories in a custom grid landing page, but without the product images, as I am using custom images to make the grid wall. What is the best way to do this? ...
0
votes
0answers
64 views

Woocommerce only show attributes for specific category

I can't work out how to do this. I want to list the pa_country attribute terms for a 'wine' category in the sidebar. I can list all the 'pa_country' attribute terms for all categories, but that is ...
0
votes
0answers
86 views

Add conditional field to woocommerce checkout

I added a few fields to the woocommerce checkout form in my theme. I want to change the list of fields based on the selected value of a select field, e.g: if the user selects "Private" as the customer ...
0
votes
1answer
38 views

WooCommerce pages accessible to logged in members only

I’m building a shop in WooCommerce and wish to restrict access & viewing of the shop to logged in members only. I don’t mind having links to the shop visible (such as in the nav bar), as clicking ...
0
votes
1answer
45 views

Custom search search does not work?

I have a WordPress website with WooCommerce plugin installed. There is one problem that i cannot figure out why do I do not got any search results shown up when I do product search? Website URL with ...
0
votes
1answer
22 views

Can't make product images clickable

I've tried many things and many solutions but i can't make product images clickable. Here's the code: if ( has_post_thumbnail() ) { $images .= get_the_post_thumbnail( $post->ID, 'shop_catalog' ...
0
votes
1answer
131 views

Remove product item from checkout page [Woocommerce]

Is there any way to remove product item from checkout page? Here is code for card page: <td class="product-remove"> <?php echo apply_filters( ...
0
votes
0answers
68 views

I want to show products based on post tags

Id like to get WooCommerce products on the blogpage (single.php) by tag whereas the tag is the same as the blogpage. The idea is when users read the text, they get related products based on tags from ...
0
votes
1answer
16 views

Menu's built in the edit theme view do not have active states set when on child pages

have a menu that is pulled in like this: <?php wp_nav_menu ( array('menu' => 'header') ) ?> I am using WooCommerce and when visiting /shop the shop link in the header has the class: ...
0
votes
0answers
26 views

Get option selected programmatically

I am building a theme options page which will auto activate WooCommcerce. The users will also import demo content which will contain WC pages like Cart, Checkout, My Account and Shop. In the theme ...
1
vote
1answer
159 views

Woocommerce - How to populate custom select field with stored values on checkout page?

I have converted the postcode field in checkout to a dropdown field. Its working fine. $fields['billing']['billing_postcode'] = array( 'type' => 'select', 'label' => __('Locality - ...
0
votes
0answers
32 views

Only show WooCommerce product notices

I have a loop in my header that will check the notices and only show them if they are not an error message. This loop is inside a div which is aiming to show e.g. "Product X added to cart" as a pop ...
3
votes
1answer
91 views

WooCommerce conditional meta query

For this question, I know how to solve it but I am hoping there is a better / faster way to solve it. I have a custom meta query in my product loop that doesn't display my product if the stock is 0, ...
0
votes
0answers
39 views

Woocommerce extra shipping charge for specific product

i have a product1 with id =1 I need to add extra shipping charge for product with id=1 Current Shipping settings : Flate rate is enable cost is 20 Freeshipping is enable with minimum order amount ...
1
vote
0answers
70 views

Custom Fields for Variations in Product Attribute Table [closed]

I have successfully been able to follow Remi's tut on how to add custom fields for variations. I have also been able to add in additional rows for the "additional info" table in the tab. I ...
0
votes
0answers
14 views

woocommerce - setting different variations in different tabs

In Woocommerce, I am trying to figure out how to reorganize the layout of my variations. I would like to set different variations in different tabs. Can this be done? If so, how do I go about doing ...
0
votes
1answer
189 views

How to show product SKU on product page

I'm making a website and it seems that product sku is hidden from product page. I have found how to add it to the catalog (shop) page but I need it to show inside the product page. So far, by ...
0
votes
0answers
56 views

Woocommerce - Adding text count of a textarea to a variation of a product

I have a textarea that is a variation of a product in Woocommerce. As the user types, I have the JS output the character count. I am wondering how I can send this count to woocommerce to be added as ...
-3
votes
1answer
87 views

Storefront Child Theme show product attribute [closed]

i'm building a child theme for storefront, how to display the attributes of a product on list product page other than the product name and price? example this list only show product name and price, i ...
0
votes
1answer
72 views

Show recent products first but “sold out last” in query

I am using WooCommerce and would would like to show the "out of stock" products last in the query on the archive page. How can I do that? Currently we are making the newest product show first with ...
0
votes
0answers
25 views

How products can be ordered (orderby) in WooCommerce cart

The code below creates a product, which is automatically added to the WooCommerce cart. How can I make an "orderby" with these products, which is created with this code? Example: If I create a ...
0
votes
0answers
17 views

Auto assign WooCommerce pages upon install & activation

I want the my theme imported WooCommerce pages be auto selected/assigned upon plugin install & activation for my account, cart and checkout. I have removed the onboarding wc setup with this ...
0
votes
0answers
164 views

Woocommerce - change price of a variation product programmatically

I have a product that has a variation called 'Width'. It is predefined at a certain price from woocommerce plugin. I want this Width variation to change based on what the user inputs so I need to ...
0
votes
0answers
23 views

Woocommerce different categories and wrong permalinks

I have a category called "Foods" set up. It includes two sub-categories "Dry foods" and "Wet foods". Each of them includes a "Brand" subcategory. When I'm adding products to ...
0
votes
0answers
19 views

Get WooCommerce Software License on order complete

I a have woocommerce setup with the software license manager plugin. Currently when ordering a product it gives a license key. What I need to do is get the license key as a variable that I can use to ...
0
votes
0answers
37 views

Woocommerce relative fonts causing https error

If you view this website and view the console you will see the following errors: Mixed Content: The page at 'https://www.creamcornwall.co.uk/' was loaded over HTTPS, but requested an insecure font ...
0
votes
1answer
59 views

How to set up Custom Post Type archive page as Front page

I've registered a custom post type named portfolio and have coded it's respective archive-portfolio.php file. Now, my requirement is to make this page available to be set as front page. For which I ...
0
votes
1answer
31 views

How can I add an extra WooCommerce hook

In the standard WooCommerce template file content-single-product.php there is a set of hooks that control the way the page lays out in a series of blocks which are called by a series of hooks eg ...
0
votes
0answers
14 views

Show “Parent Term / Term” in Edit Product Attributes tab - Multiple terms with same name

I have a WooCommerce site which needs to use the same term name in different parent terms under a given attribute. It has to be done this way because of the in-house infrastructure being that way. ...
0
votes
0answers
738 views

Woocommerce Ajax update cart quantity does not show cart totals section

I have installed the plugin woocommerce-ajax-cart. The plugin does everything correct only not show the cart totals section. It needs a F5 refresh screen before the cart totals section is shown. Do ...
0
votes
0answers
156 views

Add custom fields from Woocommerce Attributes in check out page

I've added some custom fields, using ACF, for attributes in Woocommerce. So when you add an attribute you can add some more info. I achieved to show them in the product page but I can't find a way to ...
0
votes
1answer
62 views

Woocommerce resize existing product images

We discover that our Single Product images as set in Woocommerce> Setting > Products > Display are set to big. Single Product Image: 500 ×750px xHard Crop I have tested plugin regenerate thumbnails ...
0
votes
1answer
29 views

How to increase execution time out limit in WordPress dashboard?

One of my plugins creates a time out every time I visit the Products admin page in my WooCommerce website dashboard. I can't deactivate this plugin as it's absolutely essential for what we do. Any way ...
1
vote
2answers
66 views

Delete transients in website

We have so many error happen on website (WordPress and Woocommerce) error log and it will show the following error message WordPress database error Deadlock found when trying to get lock; try ...
0
votes
2answers
151 views

How i make a custom sql query for Woocommerce

hello i have an ecommerce with Wordpress + Woocommerce, just yesterday a hacker boy or...i don't know moved all woocommerce products in to the trash.... there are lots of products and default ...
0
votes
0answers
17 views

How to clear WooCommerce cart on page visit?

I'd like to clear the cart every time a user visits a certain page, i.e.: www.example.com/clearcart I'm using this code (in my theme's functions.php) in order to get the job done, but unfortunately ...
0
votes
2answers
29 views

Integrate Woocommerce to a custom theme

I have created a custom theme. Now I want to add WooCommerce to that theme but it doesn't work like the way it should. After install of the WooCommerce plugin I followed all provided steps.All pages ...
-1
votes
1answer
42 views

woocommerce Product shortcode create

i am very new wooCommerce and WordPress. programming knowledge not strong yet. but for my project i need to do something. now i want to create custom short code for woocommerce product. i want to ...
0
votes
0answers
25 views

Problem to add subdomain to woocommerce website

As I read all questioner about my problem but couldn't find exact solution. 1) I have hosted my woocommerce website on www.mydomain.com. 2) Domain name is purchased from GoDaddy.com where I have ...
0
votes
0answers
44 views

Fatal error: Call to undefined function wc_format_decimal() in class-wc-meta-box-product-data.php on line 996

I Get this error when trying to add a new product. If I refresh the products page, the new product will show up. I can make changes to the product information but the price never updates. It just ...
0
votes
0answers
24 views

woocommerce checkout keeps reloading for logged in customer

So when a user in not registered goes to checkout page when he sees a option to create account when he does and adds another product to while being logged in and proceed to checkout the checkout page ...
0
votes
1answer
65 views

How to update variable product stock status with code

I have the product id:- $posts. Now i have to change product variable variation stock to outofstock using code.I have bellow snippet code but it's not updating the variation stock of the product. so ...
1
vote
1answer
140 views

Woocommerce custom category page with pagination [closed]

I want to create woocommerce category custom template. i am not sure i am doing it the correct way or not. What i did is I edited taxonomy-product_cat.php file. , In my code i am able to get ...
0
votes
0answers
23 views

Force WooCommerce product type to be virtual / downloadable?

I'm customizing a WooCommerce store that will only be selling downloadable / virtual products. I need to change the default type of products to downloadable/virtual, so when the admin adds a new ...
-1
votes
1answer
384 views

woocommerce show cities state as dropdown list

im trying to show a list of cities when the user selects a state on woocommerce, some one have some luck doing this?? I find this code: add_filter( 'woocommerce_checkout_fields' , ...
0
votes
0answers
34 views

WooCommerce - My Account - jQuery not working?

I've add some pagination to the my account page to paginate the order history. Everything works great except when I click the "Edit Account" tab the navigation bar I created for the order table is ...
0
votes
0answers
54 views

How can I use the Woocommerce REST API for Subscriptions

I have found documentation for the Woocommerce REST API:http://woothemes.github.io/woocommerce-rest-api-docs/#introduction but it does not support subscriptions. How can I use the API to check ...