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

learn more… | top users | synonyms

0
votes
0answers
39 views

Display post type by category/taxonomy term

I wish to display the post types from every category in a tab scenario. So I can style it into a slider. I need the names of each category to be on the tab titles. Instead of pulling out one category ...
0
votes
1answer
60 views

Add javascript to a woocommerce page template

I have the following code in my functions.php add_action( 'wp_enqueue_scripts', 'dc_datepicker_options' ); function dc_datepicker_options() { if ( is_page_template( 'single-product.php' ) ) { ...
-1
votes
1answer
31 views

eCommerce solution doesn't want to display its shortcodes or any content where it's set to [closed]

I'm running the latest WordPress, WooCommerce; WC claims in its System Status that everything is okay. I tried disabling EVERY other plugin, changing themes, clearing my cache, having the permalink ...
0
votes
0answers
32 views

woocommerce.css throws off style.css background urls

In the style.css of my theme root I include a background image, like this: background: url(images/image2.png); All works well, but when I move a copy of the woocommerce.css into myTheme/css the ...
0
votes
1answer
102 views

How to override woocommerce.css?

I would like to override woocommerce.css in my child theme. This is what I tried in my child theme's functions.php but it does not seem to work: add_filter( 'woocommerce_enqueue_styles', ...
0
votes
3answers
752 views

Wordpress Comment Box on woocommerce product page [closed]

can we activate same comment widget on woo-commerce product page which WordPress gives on post or pages. actually i want other users should be able to comment on others comment which is not allowed in ...
2
votes
1answer
5k views

How to add product in woocommerce with php code [closed]

I want to add products with PHP code like below: $post_information = array( 'post_title' => 'new item shop', 'post_content' => 'this is new item shop', 'post_type' => 'post', ...
0
votes
0answers
44 views

Is removing orphaned wp_postmeta records safe?

I am using woocommerce as a shopping cart on a wordpress site. Products and Product Variations are each stored as records in the wp_posts table. Each of these Variations have aprox. 15-20 associated ...
0
votes
0answers
37 views

Woocommerce Product Thumbnail sizing

I am trying to get all small medium large and full thumbnail sizes in the SHOP page of woocommerce. I am using the following code in woocommerce.php (duplicate of page.php) to display all products ...
-1
votes
1answer
101 views

How to add metabox ONLY to specific WooCommerce product type [closed]

A little extra info: I have created a custom product type within WooCommerce. The add_meta_box function only accepts a 'post_type' argument. This means that I can get it on all products no problem, ...
0
votes
1answer
38 views

Product Images Low Quality After Updating From WP 3.5 to 4 [closed]

I recently updated my WP website from WP 3.5 to recent version 4 and now I am getting a lower quality of all product feature images. I am using woocommercee to generate an online shop and it was ...
1
vote
0answers
409 views

Woocommerce displaying product categories and products on custom theme

Am trying to create custom Woocommerce supporting theme in Wordpress. What am facing is regarding the displaying of Product Categories when accessing the main category and 1st level of categories. ...
0
votes
0answers
65 views

Wordpress - cant login on login page

I have wordpress and woocommerce on this website: http://goo.gl/PHIWIo I did this template, but the my-account page, can not login. If you try: Login: teste Password: teste123 He says "You are logged ...
-1
votes
1answer
50 views

Issue On Listing Woocommerce Parent Tag List

I am having some issue on getting top level terms of product_cat Taxonomy of WooCommerce First of all I have a code which list all Terms in product_cat as: $terms = get_terms("product_cat"); if ( ...
0
votes
0answers
45 views

How to get php variables into JS script tag correctly?

I am using WooCommerce theme for a store and am unable to correctly get the Order Id and Price of an order and put it into a script tag for tracking orders using EchoVantage. I wrote an if statement ...
0
votes
1answer
55 views

Custom Search Template for Custom Post Types

I know this is asked a million times, and I've found the solution. It seems fairly straight forward but it's not working for some reason. I wonder if it has something to do with the fact that I'm ...
0
votes
3answers
1k views

WooCommerce: Translation lost on AJAX call in Checkout page [closed]

I'm using WooCommerce for a site that I'm currently working on. And I'm creating it for a language other than English. I do the translations by means of the .po file. The issue that I'm encountering ...
0
votes
2answers
70 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 ...
0
votes
1answer
31 views

Add a field to the taxonomy editor?

I would like to add an additional image field to WooCommerce Product Taxonomy Admin page as part of my theme. It works fine by modifying the existing class within the plugin, but it will be replaced ...
0
votes
1answer
2k views

Additional fields on Woocommerce's rating system

I need to add additional fields to a Woocommerce product rating system like this: I opened this file: /wp-content/plugins/woocommerce/templates/single-product-reviews.php and saw the following ...
0
votes
1answer
939 views

Woocommerce query all products and categories

I need to generate xml file from all my products. My current query shows all product names, but how to access categories for each products? All the products have categories and subcategories. My ...
0
votes
0answers
60 views

Auto adding product meta on publish

I currently have this function: add_action('transition_post_status', 'wpse_110037_new_posts', 10, 3); function wpse_110037_new_posts($new_status, $old_status, $post) { if( $old_status != ...
0
votes
2answers
85 views

Serializing User Role for update_user_meta

I've created a custom user role and am attempting to change the users role from CUSTOMER to ADVOCATE on purchase of a particular product (using WooCommerce). I'm really close but struggling to get the ...
0
votes
1answer
66 views

Hide cart when empty [closed]

Could someone help me with this syntax: At the moment I have a simple link to my shopping cart like this: <?php if ( is_woocommerce_activated() && isset( ...
-1
votes
1answer
31 views

woocommerce-how can i get all products by their groups! [closed]

i have a wordpress site that uses woocommerce as an online shop plugin. what is want is listing all products in my woocommerce site grouped by their categories, how can i do this? i want the list ...
1
vote
2answers
974 views

How does Wordpress redirect to WooCommerce shop page? [closed]

I'm creating a plugin for WooCommerce, it needs a parameter in the url of shop page like this http://domain/wp/shop/?param=value. It worked fine until I set the shop page as front page, when I access ...
1
vote
1answer
401 views

Top level parent taxonomy ID

At the top of a product archive page I am trying to display a list of product categories. The rule should be that the list always shows the direct children of the top level. There are several answers ...
5
votes
2answers
6k views

Woocommerce Add Variation Product to Cart from custom link [closed]

I am trying to add a variation product to my cart directly through a link. I am setting the variation_id with the query string. As far as I can tell I am sending the data the exact same way as the ...
0
votes
1answer
270 views

How to check if woocommerce is activated in theme

I'm creating a theme with woocommerce which has the following: <ul> <li> <?php if ( is_user_logged_in() ) { ?> <a href="<?php echo ...
0
votes
1answer
1k views

Get the product list of a given Category ID

I couldn't find the right way to get the list of all products for a given category ID (not category name). The code I am using to get the categories list is the following, it works fine: $args = ...
-1
votes
1answer
563 views

Link Back to Parent Category - Woocommerce

I´m using woocommerce and a custom post type=product and taxonomy=product_cat. I need a link back to parent category on every single product and category pages. Already read several posts in the web ...
-1
votes
2answers
88 views

Woocommerce product image [closed]

when I upload in woocommerce image it uploads different sizes: For category Single Thumb and keeps original file which is big... how can I auto delete this original file ?
5
votes
1answer
57 views

Wordpress Multisite: Adding actions to only one site

I have Wordpress Multisite installed with WooCommerce network activated. I want to add an action to a hook in ONE of the sites that has WooCommerce installed, instead of all of them. For example, I ...
1
vote
0answers
88 views

SSL Certificate and Dedicated IP address with Woocommerce WordPress site [closed]

I have wooCommerce WordPress site (in develop phase), when i searched to have a good hosting company they advice me to go with VPS solution not shard solution because in VPS i can have multiple ( SSL ...
-2
votes
1answer
336 views

woocommerce display product category on checkout page [closed]

I am trying to get product category on check out page for showing a special message for shipping for specific category. For this I have created action filter on woocommerce_available_shipping_methods ...
0
votes
1answer
535 views

HTML in WooCommerce settings

I need to append a default text block to each product description (same text for each and every product) in WooCommerce. So I've created simple plugin which adds new settings field as rich text editor ...
0
votes
1answer
52 views

Blank search results on custom search

I have a custom search with the following line of html in the form: <input type="hidden" name="post_type" value="product" /> This correctly appends: &post_type=product to the search query ...
1
vote
0answers
398 views

Pretty product permalinks with Woocommerce shop/category/subcategory/product-name [closed]

I'm having a tough time figuring out how to do pretty permalinks for Woocommerce with this kind of structure "www.page.com/shop/category/subcategory/product-name" The best I could come up with was ...
0
votes
0answers
55 views

Getting attributes from custom_post input

I'm having custom field created like that: function woocommerce_form_field_numeric_2( $key, $args, $value = '' ) { global $woocommerce; $defaults = array( 'type' => 'number', 'label' => '', ...
8
votes
3answers
22k 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 ...
0
votes
0answers
45 views

Media library not loading in custom post type

I have a WordPress multisite, and I created a plugin to share WooCommerce's product with a child website by changing the global variables ($wpdb) values when the URL has the post_type=product ...
0
votes
0answers
212 views

WP_Query wooCommerce category

What is the favored way for searching for a certain category in wooCommerce? Or maybe only checking if it is existent already? My approach for this was: $searchCat = new ...
0
votes
1answer
266 views

Remove specific product from shop in woocommerce [closed]

I have product category named "Test_category" in my shop. Specifically for that i want to hide this all product from my shop, Only hide for some time not delete or set status as pending from admin. ...
1
vote
1answer
477 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
1answer
73 views

Hide image gallery in Woocommerce if NO image [closed]

I have a few products with no images but they template leaves a big empty space where the image should be, I was wondering if there was a way to hide this product gallery section only IF there are NO ...
1
vote
1answer
198 views

Changing the Woocommerce breadcrumb menu [closed]

Currently I making changes to Woocommerce's breadcrumb menu. I’m trying to get it to look like this: <div> <ul class="crumbs"> <li> ...
-1
votes
1answer
1k views

WooCommerce custom query and paging: Not Found error

I'm experiencing a problem with the following piece code: global $wp_query; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $filter_args['paged'] = $paged; ...
0
votes
1answer
414 views

Orders being sent to wrong admin email in WooCommerce [closed]

I set up an admin User for myself to create the site, then another for my client to use. I changed the emails in WooCommerce to her address wherever I can find them, but the orders are still coming ...
0
votes
0answers
91 views

How to display the current subcategory in product overlay?

I want to display the category with the subcategory of the product by mouseover. Here is an example of what I want: https://www.dropbox.com/s/zvddx7nwpyxva0t/example.png. Right now I was able to show ...
0
votes
2answers
162 views

WordPress fetches the archive page instead of my custom template

I'm using WooCommerce and it created a page called "Shop" which I've attributed to my custom template "Store" through the "page attributes" module in the dashboard. <?php /* Template Name: Store ...