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

learn more… | top users | synonyms

-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
29 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
38 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
1answer
50 views

Woocommerce, get variation price [on hold]

I would like to GET the actual variation price. The code default woocommerce (/plugins/woocommerce/templates/single-product/add-to-cart/variable.php): <div class="woocommerce-variation-price"> ...
1
vote
2answers
54 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 ...
0
votes
1answer
17 views

Custom WooCommerce Order Sorting Inner Join [on hold]

I want to sort my products via custom sorting (sort via sku in a manuelly order sequence). function mr_filter_case($orderby = '') { global $wpdb; $orderby = " CASE WHEN ...
0
votes
0answers
25 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 ...
-3
votes
0answers
56 views

how to use payment methods before order review in woocommerce checkout process, using credit card payment method [closed]

I am customizing woocommerce checkout process in 3 steps. 1) Shipping Information 2) Billing Information and choose payment mode 3) Review and Place order I am using credit card as a payment method. ...
-1
votes
0answers
17 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 ...
0
votes
0answers
11 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 ...
1
vote
1answer
34 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 ...
1
vote
1answer
45 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
20 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 ...
0
votes
2answers
41 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
0answers
18 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": ...
1
vote
0answers
34 views

Add price to variation dropdown in woocommerce 2.5.x+

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 ...
1
vote
0answers
59 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
18 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
1answer
41 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
37 views

How to Save settings of custom tab product page in admin side in a database?

I have following code : <tr> <th><?php _e('Custom Stock Message'); ...
0
votes
0answers
13 views

WooCommerce Bookings Plugin Not Saving Order ID

I have built a site using WooCommerce Bookings with an AJAX request that processes the payment, creates and order and lastly creates a booking with the order ID. However, when I send the newly ...
-1
votes
0answers
30 views

WooCommerce default end point for lost password not working

I started creating a custom Wordpress page and page template for the WooCommerce lost-password page, including setting a custom URL. I set this in the end point in WooCommerce > Settings > Account. I ...
0
votes
0answers
13 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
37 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 ...
0
votes
1answer
32 views

How to get all product in the woo-commerce?

I want to get all the product data in the WooCommerce (sku, name, price, stock count, availability and etc.). Can I do that using WP_Query?
-2
votes
1answer
105 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 ...
-4
votes
0answers
131 views

WooCommerce - Calculate Shipping programatically on custom cart page

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 ...
-1
votes
1answer
40 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) ...
-1
votes
1answer
38 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
26 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
48 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
18 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
24 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
34 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 ...
-2
votes
0answers
26 views

WooCommerce Product Images not appearing

I have just moved my WordPress Woo commerce to different hosting. All works fine apart from images do not appear on website on product pages. I have checked Admin media gallery they do not appear ...
0
votes
1answer
38 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
21 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
17 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
1answer
38 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 = ...
0
votes
0answers
22 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
40 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
21 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 ...
-1
votes
0answers
21 views

Woocommerce add fees to cart doesn't show up in order emails

I am creating a woocommerce plugin that add fees to the cart, so I am using the woocommerce_cart_calculate_fees hook here is my code: add_action( 'woocommerce_cart_calculate_fees', ...
0
votes
1answer
24 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
37 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
12 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
30 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
17 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: ...