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

learn more… | top users | synonyms

6
votes
2answers
23k views

Hide prices and checkout functionality in woocommerce

I know this question might be too broad, but I'm looking for a bit of direction. My client has a woocommerce store with 30-40 products. For whatever reason they do not want to sell online anymore, ...
2
votes
4answers
14k views

Changing Woocommerce Product Description [closed]

I've been changing the way that the Single product page looks. I've moved a few things about by hooking into Woocommerce and also editing the css. Out of the box the single product page shows the ...
8
votes
3answers
28k views

How do I get WooCommerce to automatically recreate pages? [closed]

I had to uninstall WooCommerce plugin (I deleted the tables it created as well) and now I reinstalled the plugin and I doesn't automatically recreate the WooCommerce Pages. Am I stuck having to ...
7
votes
3answers
58k views

How to Display Product specific to a category with WooCommerce Plugin? [closed]

I'm using plugin Woocommerce to do shop online. I have many categories for example shoes, clothes and so on. How can I display the products of specific category? I see such product loops of on the ...
1
vote
1answer
1k views

Edit tag cloud widget number

By default, the WordPress tag cloud widget has a set amount of 45 tags to display. This can be seen in the wp-includes/category-template.php file. By default, the WooCommerce plugin which I have ...
0
votes
2answers
293 views

Hide a Menu Item on Login

I am using the following code to hide a menu item when a customer is not logged and show it when a customer is logged in. .hide-item-not-login{ display: none !important; } .logged-in ...
-5
votes
1answer
363 views

WooCommerce Total # orders [closed]

total number (#) of orders, maybe create the function in functions.php and call it in a shortcode anywhere in page. I just don't want to update it.
1
vote
2answers
57 views

Hide a menu-item and its submenus and display a 'Log in' link if the user is logged out

I need, somehow, to enable that when you logout, that 'My Account' item is getting hidden from the navbar, and instead it displays a 'Log in' link. The item 'My Account' also have submenus with the ...
0
votes
1answer
244 views

woocommerce - get_image_size() deprecated [closed]

Today I've updated my woocommerce plugin and get a fatal error on: $woocommerce->get_image_size( 'shop_catalog_image_width' ) I'm using it in a hook function to get the placeholder width: ...
2
votes
2answers
178 views

Display Category Thumbnail and links in Woo commerce

I would like to display my categories with a thumbnail in woocommerce. I am able to list the child terms as a link but i would like to add additional content. I have added the code below in which I ...
2
votes
0answers
6k views

How to get Woocommerce Variation ID? [closed]

I am trying to create some additional functionality on my Woocommerce backend where I add a custom field to the variations section of backend of Woocommerce. However I cannot for the life of me ...
1
vote
1answer
94 views

How to solve suspected memory issue in custom WordPress loop?

I have written a plugin that adds a "Where did you hear about us?" question to the WooCommerce checkout page and shows the results (as a simple horizontal bar chart) in a wp-admin page. The plugin ...
1
vote
1answer
566 views

Add sku to product url woocommerce [closed]

I want to make url's with the following structure: www.mywebsite.com/wordpress/product/postname-sku for example: wordpress/product/apple-ap01 Is this possible? And also tell if this done with ...
1
vote
2answers
473 views

WordPress Displaying Thumbnails Vertically

WordPress is displaying my thumbnails vertically and VERY LARGE. Specifically it's displaying WooCommerce product page thumbnails vertically and VERY LARGE. Can't seem to figure out why or what piece ...
0
votes
0answers
32 views

How to remove custom post type slug & taxonomy-base from URL in WordPress

I am using woo-commerce I have bellow code to remove the post type "product" slug from url and it works fine. Product url = http://example.com/product/product-name/ to Product url = ...
0
votes
3answers
517 views

Custom Woocommerce image size [closed]

Woocommerce has three built in image sizes. But since there are more than three different container sizes, some images always get stretched or squeezed. Hence image quality and page speed suffer. ...
0
votes
1answer
230 views

How to execute a javascript function just before saving a woocommerce post or a post?

I am working on this project and I am trying to execute a jquery or javascript just before saving the post, I have tried the following: function do_something_with_a_post($id) { ...
0
votes
1answer
2k views

woocommerce - products by category slug? [closed]

good morning, I need to display the shop base page in a category layout,meaning first show all the products from category A and beneath it all the products from category B and so on.. I trying to use ...