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

learn more… | top users | synonyms

-2
votes
0answers
10 views

save session values to woocommerce order [closed]

I need to save some data to woocommerce order from some session values; the best thing would be that pressing on add to cart button, the value would be saved and stored. I tried with this Add ...
0
votes
0answers
43 views

Adding read more function through wordpress

First of all. I know wordpress has a read more function but that won't work either. Probably the same issue that's stopping me in the following. So i'm trying to create a read more function on my ...
0
votes
1answer
130 views

How to remove “From:” before variable product price?

How can I remove the "From" text before product price? I'm running the latest version of woocommerce and I've added this snippet of code to the functions.php file to revert pricing style to that of ...
0
votes
0answers
22 views

Woocommerce's add_to_cart function returns false and doesn't add anything to the cart

I'm working on a Woocommerce SPA (Single-Page Application) and I'm trying to add a product to Woocommerce's cart but it just doesn't work. I'm doing this in a custom plugin. In a function that ...
0
votes
1answer
32 views

How to display custom field in woocommerce email orders? [closed]

Am having trouble showing custom field data from a select drop down in the order email form in Woocommerce. The data is showing in the admin page order just not email? add_action( ...
1
vote
1answer
140 views

woocommerce change currency per category [closed]

I am trying to display a different currency on a specific category within my Woocommerce store. Specifically, this category is full of items that can only be purchased through myCred points. The rest ...
-4
votes
0answers
147 views

WooCommerce - Calculate Shipping programatically on custom cart page [closed]

I have created a custom page to display all the cart products in a particular layout as per client's requirement. Now i need to calculate and display shipping price there. Shipping country will be ...
0
votes
1answer
670 views

How to show woocommerce login / registration form in modal

I have developed E-commerce Website using Woocommerce Plugin. I would like to show the login/registration form in modal. Is there any way to automatically show the login/registration form when the ...
0
votes
0answers
17 views

WooCommerce Shipping

I have a WordPress site using WooCommerce with bespoke shipping functionality on. All it does is find the users shipping address and works out the distance between the customer and the depot, based on ...
0
votes
1answer
204 views

Delete all per-product attributes in WooCommerce

Is there a method to find & delete most/all attributes for products in WooCommerce when these attributes are unique to each product, that is they don't appear under the Product->Attributes menu? ...
0
votes
1answer
34 views

WooCommerce: Bulk Quantity in Cart

I run a WooCommerce store with three types of packaging; sold individually, sold in bulk of 6 and sold in bulk of 12. These packagings are tagged by a taxonomy called criteria with the terms 6-pack ...
0
votes
0answers
17 views

Restrict access to shop pages for user role subscriber

im realizing an member area with the plugin WP-Members. I have to add an shop in this member area. My problem now is that i have just one user with the role of subscriber to enter the blocked content. ...
0
votes
0answers
12 views

Adding individual item quantity in product archive thumbnail

I have a woocommerce shop which is showing all my products. Each product thumbnail in the product archive page also has ADD TO CART button in it. Clicking the button dynamically updates that product ...
0
votes
0answers
22 views

Function to change text with <br> tags into Unordered List

I've tons of product pages in Woocommerce where product info was bulk imported using CSV file. Now, all these hundreds of pages carry <br> tags for 'features' - which I want to change to ...
0
votes
0answers
28 views

Additional stock options in woocommerce

I found a really useful piece of code in this post: http://stackoverflow.com/questions/26912556/add-stock-option-in-woocommerce/ This code adds additional statuses to the original stock options in ...
1
vote
1answer
45 views

Update custom field values on edit address page woocommerce

I have two custom fields included in the checkout page and also in the edit address page in myaccounts of woocommerce. The problem is the two custom fields 'billing_door' and 'billing_flatname' are ...
0
votes
1answer
16 views

Best Practice - Customise a WooCommerce+Wordpress Templates

To integrate customise HTML/CSS to Wordpress without editing default ready theme template from Wordpress Download HTML5Blank Boiler plate modify/overide boilerplate css with our customise Css Create ...
-1
votes
0answers
10 views

Wordpress Plug in error Woocommerce - Please help! thanks!

I am trying to create a city dropdown at the checkout in woocommerce. Im using a plug in called WC City Select Plugin Site: https://wordpress.org/support/plugin/wc-city-select but I am getting this ...
1
vote
1answer
23 views

Remove the link from the thumbnail and product title on woocommerce

Where exactly in the file structure can I find and edit the markup so that I remove that a href within the thumbnail and product title. I tried searching the template files but can't seem to find it. ...
-2
votes
1answer
24 views

How to get products outside main loop in Woocommerce?

I have this code: add_action('maisvendidos_home', 'maisvendidos_home'); function maisvendidos_home() { $page_id = get_queried_object_id(); $mais_vendidos = explode("\n", ...
0
votes
0answers
17 views

Get WooCommerce Sidebar Layered Nav filters to work with shop page filtered by on sale products

I'm I've successfully got the default WooCommerce Shop page to only query products with an on sale status thanks to this link here http://www.kathyisawesome.com/woocommerce-modifying-product-query/ ...
0
votes
1answer
26 views

/page/ is not working with a custom permalink structure (WooCommerce)

I am running WooCommerce and FacetWP on a WP 4.5 install. I have set the permalink structure of the "Products" to the following, the custom taxonomy is a location based taxonomy. ...
6
votes
1answer
23k 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
1answer
328 views

WooCommerce return 404 on category pages

I am trying to set up WooCommerce permalinks to get something like: example.com/shop/ => Shop page listing products example.com/shop/category-name/ => Category page listing products from a category ...
0
votes
1answer
486 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 ...
0
votes
0answers
41 views

Woocommerce Product Add-ons - Auto-select first option

The agency I work for are trying to get a client's website to auto-select the first option on the maintenance packages for their products. Currently, we are using an if statement within a foreach. ...
0
votes
0answers
10 views

Can't display tag cloud by widget

I want to display tag cloud products and to use the widget of woocommerce - Tags products. Tags isn't displayed even though they are added to the 90% of the products. Tested on other sites and work ...
-3
votes
1answer
23 views

Woocommerce: Only one review per verified buyer [closed]

By default, Woocommerce allows multiple reviews by a single user. What I want is to allow only one review from verified buyers.
0
votes
0answers
9 views

Remove WooCommerce menu_order_count action

Trying to remove the action that adds the processing order count to the WP Admin menu with the following but the count remains in the menu: remove_action('admin_head', array('WC_Admin_Menus', ...
0
votes
1answer
30 views

WooCommerce: Adding Order Item Meta Data That's Hidden

I was under the impression that if you add an underscore to your meta_key, it would be hidden from the Admin and subsequently the Order Receipts, etc. But, mine are showing? I don't understand what's ...
-1
votes
0answers
12 views

Set Order by Product's Code in the Shop Page

How set order inside shop page by product's code? I am using WooCommerce. I am trying to insert the following code found on the Web. add_filter('woocommerce_shortcode_products_query', ...
0
votes
1answer
3k views

How can i run the same WordPress install on multiple subdomains?

My site is installed on my main domain, lets say something.com for an example. I have WooCommerce installed and i would like to run the shop part of the site on store.something.com with the same ...
2
votes
2answers
61 views

Filtering search results

I have pages, posts and woocommerce product categories and products in my website. I want to limit wordpress default search query so that it returns the posts, the pages, the product categories but ...
1
vote
0answers
542 views

Get Woocommerce variations order / sorting

As I can see the order of the variations on a variable product is done via the "menu_order" data of the variation. What is the most efficient way (in terms of backward compatibility and code quality) ...
0
votes
1answer
33 views

Woocommerce change shipping method by hook

What I would like to do is to have a condition to pick which shipping method is used. For orders with total cost < 100 the shipping method should be 'regular' and for orders with total cost > 100 ...
0
votes
0answers
140 views

Extracting attribute term/name for each variation product

I'm customizing a popular XML exporting tool for Woocommerce. I've got an issue on extracting attributes names for products variations. I tried the following code but i get all attributes names ...
0
votes
0answers
29 views

Changing a theme's search function to only show results from woocommerce?

I am very new and trying to learn as I go. I bought a premium theme from themeforest, without checking the functionality of various pages. Tried their support with no solution offered. Now I am ...
0
votes
1answer
81 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( ...
-1
votes
2answers
234 views

Custom order of taxonomy using wp_get_object_terms and woocommerce_term_meta

I have a custom taxonomy associated with the WooCommerce product post type, which I have added to the woocommerce_sortable_taxonomies array so they can be ordered in the WordPress admin. The plugin ...
0
votes
3answers
960 views

WooCommerce change category url and product base

I want to display the url's like this: for Category: /webshop/categories/hoodies/ for products: /webshop/categories/hoodies/test-product how is this possible without giving me 404 not found ...
-1
votes
0answers
22 views

Override WC Vendors/WooCommerce Class

I'm trying to override the default registration form of WC Vendors a WooCommerce Extension. I've copied the class file from the plugin directory to the theme directory and then called it ...
1
vote
0answers
22 views

How to get the terms of taxonomy from posts that have terms from another taxonomy? [duplicate]

I have Woocommerce shop with several product categories, custom taxonomies and ACF meta fields. So one product has one category, terms of taxonomies and meta fields values. For example, we have ...
1
vote
1answer
35 views

WooCommerce Custom Product to checkout

I was trying to create a custom shop page for a project where users can click on a product to view the details in a modal window and select some options on price variations. What I want to do is to ...
0
votes
0answers
12 views

Show the woocomerce success message on custom template?

How do we show the add to cart success message on the custom template. i am displaying few products with add to cart button by custom query. now when i click the add to cart button the product added ...
0
votes
0answers
10 views

Check If WooCommerce Product Downloadable From Edit Screen

I'm creating a plugin for WooCommerce and I want the metabox to show only when the "downloadable" checkbox is clicked. Are there any conditionals for this when dealing with the edit page of the ...
0
votes
2answers
295 views

widgets_init actions not fired from functions.php's child theme

I need to add new sidebars for using them accordingly on different pages throughout my shop. I use Woocommerce and my own Storefront child theme. This is a snippet of what is in functions.php file ...
0
votes
1answer
659 views

How to display ACF taxonomy checkbox links on WooCommerce product category archive

I am using the Advanced Custom Fields plugin, and have several custom fields that appear on the WooCommerce product category edit screen (where you add/edit product categories), which then display the ...
0
votes
1answer
724 views

How can I display *only* the child category of a product?

I'm currently using the following code to try and display the child category of products:- global $post, $product; $cat_count = sizeof( get_the_terms( $post->ID, 'product_cat' ) ); ?> <h1 ...
1
vote
0answers
20 views

Different template of products for specific category in WooCommerce

I did create taxonomies with category slug, but it's not working. It's fetching archive-product.php only. I also tried this "Make the new template and name it": ...
0
votes
2answers
45 views

Hook triggered twice in a Woocommerce single product page

I am trying to develop a plugin to extend WooCommerce and I would like to do something with the product id when I land on a single product page (e.g. store it in the database or store it in a session ...