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

learn more… | top users | synonyms

-3
votes
1answer
41 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
16 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
55 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 ...
2
votes
2answers
75 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
666 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
111 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
287 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
57 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
212 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
251 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 ...
1
vote
0answers
23 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
68 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
13 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
406 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 ...
1
vote
0answers
37 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": `taxonomy-product_cat-...
0
votes
2answers
83 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 ...
1
vote
1answer
55 views

wp_customize - detect post type to show/hide customizer options

How can I tell the customizer to only load certain customizer options based on the post type that is being previewed? i.e. using: is_woocommerce is_shop is_cart etc. When adding customizer option ...
0
votes
0answers
84 views

Move Woocommerce Variation Price

On the single product page of WooCommerce, I would like to move the woocommerce-variation-price under the product title. I came across the following snippet... but I can't seem to find the ...
1
vote
1answer
55 views

Filter get_adjacent_post to follow woocommerce product category

How do I filter get_adjacent_post to follow the next category by the product category drag & drop screen? Is using get_categories correct? How do I join it into get_adjacent_post? $post_prev = ...
1
vote
0answers
131 views

Add price to variation dropdown in woocommerce 2.5.x+ [closed]

Before you say asked and answered... I think this is a very common use case: For customer to know the cost of each variation before/while selecting it. Additional requirements: Use variation ...
0
votes
1answer
34 views

Woocommerce products shortcode specific order

Is there a way to get products in the order of the IDs in the shortcode parameter: e.g [products ids="53,68,1"] Display block with 3 product, where 53 on first place, 68 on second...? Now I get ...
1
vote
0answers
150 views

woocommerce in check out page how change the tax rate with ajax an php [closed]

Hi can anyone please tell if possible change the tax rate in woocommerce plugin in chekcout page i want to change the rate tax 0% or 19% when user select option if personal(19 %) if company (0 %) ...
0
votes
1answer
56 views
-1
votes
1answer
136 views

Pragmatically adding product attributes to WP / Woo commerce

I am inserting a quantity of products, categories and attributes to a wordpress database. My method is to copy a selection of source data tables from my off-line database (not in wordpress format) ...
0
votes
0answers
17 views

Loop through author and edit post tags

I'm setting up a 'free marketplace' for a friend based on wordpress and a woocommerce theme (makery). Each user has his own shop and products. Both the shop and products are custom posts that belong ...
0
votes
0answers
89 views

Hidden products included in search result count and pagination

I have this website I'm building: http://olivinelife.wpengine.com/ but I'm having an issue. If you use the search bar in the header to search for "Square" it brings back 5 results but says there are ...
1
vote
1answer
24 views

woocommerce prices location in DB

I'm looking for location of product's prices according to the option which user select in product price. for example ,this woocomerce shop sakala.ir/product/bundle-cashmere-3 has a select which ...
-2
votes
1answer
212 views

woocommerce how in checkout to add my custom field check box, and when i check it hide the shipping adress and add tax 19% [closed]

Hi i working in page with virtual product i need to do this so this i want to do i want to have a checkbox with name "Personal" so when click hide right way the company name adress etc also i want ...
0
votes
1answer
382 views

WooCommerce duplicate sub categories and product slugs

I'm building a website that allows you to hire or buy a product. I've set up the following product categories in WooCommerce: Hire Buy Is it possible to have the same sub-category slug under each ...
0
votes
1answer
1k views

What is the code to get the download link for a product in WooCommerce?

I'm trying to add the direct download link of a product to a button, but I'm stuck. What I tried is this <a href="<?php echo $product->downloadable_files; ?>">Download</a> ...
2
votes
2answers
604 views

Programatically update Custom Attributes WooCommerce

First of all, thank you for being part of an impressive community that has helped me out a thousand times before. In my Wordpress environment (Enfold theme, Woocommerce plugin) I created a system to ...
-1
votes
1answer
85 views

How to override email text New Customer Order?

Im trying to override the admin email template text "New customer order" to "New order" in function.php, but i can not finde any info on google. Can somebody please give me a hint! :)
0
votes
0answers
86 views

Adding product image to woocommerce through rss feed?

I'm trying to migrate thousands of products to woocommerce. I made a research and had success, using the code from this page here -> How to add product in woocommerce with php code. Unfortunately ...
0
votes
1answer
106 views

How to get subscription key or id using Woocommerce Subscriptions

I need to get the subscription key of a particular subscription to pass into a custom function. I have referenced the documentation where it shows how to get the key, but I have failed to integrate ...
0
votes
0answers
29 views

Adding a parent category, and re-assigning existing products to that parent category

I'm using Woocommerce. I have around 500 existing products, assigned to categories such as "t-shirt" "socks" "shoes". I want to put all of these under a parent category named "clothing", but the ...
0
votes
0answers
39 views

Cloning terms for an attribute

I am trying to duplicate terms for a product attribute. I was able to set up a "Clone" link from my previous question. I can successfully clone the attribute, but I am having trouble assigning ...
0
votes
1answer
98 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 ...
1
vote
1answer
86 views

Cannot update WordPress General Settings Site Title and Tagline

I have a WordPress 4.4.2 installation with no SEO plugins at all. The plugins that I do have activated are WooCommerce, WooCommerce Multilingual, and WPML. I am unable to update the Site Title and ...
0
votes
1answer
49 views

Woocommerce Product page edit

I am making a webshop with every category on another page. That's all done, but now I want to edit the view of the pages. So what you get for every product is: product image, product name, product ...
0
votes
0answers
68 views

How to add a description of the shipping method, woocommerce?

How to add a description of the method of delivery. Like payment methods Is it possible to add textarea in the admin panel for editing shipping method? Thank you
0
votes
0answers
39 views

how to refresh woocommerce products

i have a bunch of products in woocommerce that i had to export and fix and then re-import. Everything seemed to go smoothly except for 1 thing. Each of the prouducts had a Advanced custom field ...
1
vote
2answers
7k views

Make WooCommerce pages accessible for logged in users only

I have a website using WordPress, and an e-commerce using WooCommerce. I would like my shop (and all its pages) to be seen by logged in users only. Via the User Access Manager plugin, I have denied ...
0
votes
0answers
42 views

Customize add to cart

I have created a page of getting custom values from the customer but the process will be taken place in steps like select lesnes click next select product frame click next so all the information ...
0
votes
0answers
92 views

Adding functions into WooCommerce Checkout Procedure breaks order confirmation

I'm pulling my hairs out over this issue. I run a plugin named YITH Vendors which allows for individual vendors to be created in a WooCommerce shop. It offer the functionality to have vendors register ...
0
votes
0answers
39 views

How to retrieve referrer tag, and save in custom fields for each WC order?

I need to save the traffic source of each order for my Woocommerce store because I need to know what internal page or external website had resulted in that order. I'll need this for customer service ...
0
votes
1answer
37 views

Change Woocommerce languange on a multisite install

I have been trying to figure this out but seems that there is no way to do it, and I don't want to use WPML, I have been using it and it's super heavy and buggy. So, the question is ... Is there a ...
0
votes
1answer
63 views

Restore woocommerce orders

Recently my server team replaced my database and they put our previous Database . So we lost our order details of one day[particular day] . Now the server team give the backup that contain the lost ...
0
votes
0answers
13 views

Multiplying shipping cost

My site is selling a monthly box of which you can order a 3, 6 or 12 month subscription, but the total price is collected up front through woocommerce. I would like to also be able to multiple the ...
0
votes
0answers
47 views

Create custom post type and content of custom post type display in a single product page of woocommerce

Code to create custom post type is here and it's working: $args = array( 'labels' => $labels, 'description' => __( 'Description.', $this->plugin_name ), '...
0
votes
1answer
29 views

Update order status based on condition

I've created a custom field Customer Level for users, and I've also created a custom order status autoprocess. Now I want to auto-process orders based on customer level: add_action('...