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

learn more… | top users | synonyms

0
votes
0answers
2 views

Redirect if current user is logged out and current page is /my-account

I need my woocommerce site to do the following. If the user visits the /my-account page but is logged out I need it to redirect to the /login page. I currently have half of it (if is logged out) but I ...
0
votes
0answers
4 views

Add key and value to an array in another file

In my site I'm using the Product Archive Customizer plugin for WooCommerce. Great plugin. However, there is an option to set the qty of products shown per page. The next piece of code is responsible ...
-3
votes
0answers
9 views

How can I use a 'home try-on' option on WooCommerce?

In my WooCommerce shop I'd like to use a 'home try-on' option which just blocks money on a credit card for a particular time and does not charge the credit card. The option should work like here: ...
-2
votes
0answers
11 views

How I can transform a post type to a WooCommerce product?

I have a custom post called Service. I wonder if you can make that custom post a product of WooCommerce, add it to the cart and do everything else that can be done with a product of WooCommerce.
-1
votes
0answers
8 views

Woocommerce template URLs shows up on Google Analytics

I'm seeing this for the first time & not sure what's up. Woocommerce email templates or other core template URLs show up on the Google Analytics stats. This shouldn't happen, but how does it ...
-2
votes
0answers
9 views

WooCommerce - change sorting of search results

the WooCommerce product search does a search of a term in the title and the product texts. Can I use a snippet in my functions.php to alter the search results in a way that the ones who have the term ...
0
votes
0answers
43 views

Woocommerce - Show price with extra fee applied

I was looking forward to make my website to show two prices: The Standard price, and the Standard price with a 15% fee included, only available if you call a 0800 phone number. I searched a lot in ...
-3
votes
0answers
11 views

Lost data from variable after update product

I have problem bcs when I set value in dropdown list and refresh cart, product I lost this value. My code below: if ($_POST['period'] == NULL) { $cart_item['quantity'] = 1; } else { $...
0
votes
1answer
37 views

Show posts count for Categories and Tags in wp_nav_menu

I'm trying to show WooCommerce Product Categories, Post Categories, Product Tags, Post Tags and Custom Taxonomy posts count in main navigation using wp_nav_menu. My WP_NAV_MENU code &...
0
votes
0answers
6 views

remove option in variation product woocommerce

Hallo i have remove product option in woocommerce for simply product the option is "subscription" and then i have used this code add_filter('product_type_options', function($product_options) { ...
0
votes
0answers
16 views

How to select N number of products and display it randomly in Woocommerce

I have a woocommerce setup with about 10,000 products, i would like to display all the latest products on the home page so that i can have N number of latest products from each PRODUC TAG displayed in ...
0
votes
1answer
506 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
51 views

Self-cancelling orders when using WooCommerce and Stripe

Unpaid order cancelled – time limit reached. Order status changed from Pending Payment to Cancelled. I've got two clients who have reported getting this on random orders recently. Both stores are ...
0
votes
0answers
7 views

Woocommerce Product Image Mass import

I have over 1,000 registered products in Wordpress with Woocommerce, however, none of the products has images. Need to be assigned the images to these products, is there any extension that import ...
0
votes
1answer
9 views

WooCommerce Cart Items

I have this lovely script that presents the user with the number of items in their cart but not the number of products... <?php echo sprintf (_n( '%d item', '%d',count( WC()->cart->get_cart(...
0
votes
0answers
9 views

Dynamic Woocommerce Ajax filter

I need to search products using categories and attributes as filters. Basically I have 3 levels of categories and two attributes and I need them to reload after the user selects a value in the ...
0
votes
0answers
14 views

Change Payment Method After Wrong Selection

So we have an eshop which offers BACS, Cheque and WorldPay payments. Now we have had a couple of times when BACS has been selected, but then the decision has been to take a card payment via WorldPay. ...
-1
votes
0answers
14 views

Woo commerce star rating

I am using woo commerce but I want to customise the star rating for hearts instead is there anyway I can do this? I already have the heart PNG but don't have a clue how or where to implement this? ...
-1
votes
0answers
18 views

How to hook for disabling sending processing order email notification if order total value is 0 - Woocommerce?

I need to disable woocommerce sending processing order email notification if order total value is 0. I also tried: : add_action( 'woocommerce_email', 'unhook_those_pesky_emails' ); function ...
-3
votes
0answers
17 views

Woocomerce vendords saving via ACF

I am trying to post to wc vendors using acf fields but I am not sure as to what hooks that I require to action. Once the vendor has been registerd it needs to send an email. I also need to be able to ...
0
votes
0answers
10 views

Product Query by meta_value and published date

I've seen some similar posts here, but this none that gives me really the answer. I have products that I want to order by their meta_key '_sku'. The SKU can be a number (ex. 1234) or alphanumeric (...
-3
votes
0answers
27 views

error in a php snippet: is_checkout() [on hold]

I am seeing a new error in a snippet I've been using successfully (until recently). Something in this line is off... if ( ! is_checkout() || ( is_checkout() && WC()->cart->...
-3
votes
0answers
14 views

Could not able to download right file after proceeding order [on hold]

I'm uploading the link of downloadable product in woocommerce but after proceeding order, it is not downloading that file but some other file in kbs. Help me what to do ?
0
votes
0answers
16 views

Overriding product search in Woocommerce admin

I need to alter the query used for the AJAX product search when adding or editing an order in Woocommerce admin. I want to add variation terms to the query. Using browser dev tools, I see the call ...
0
votes
0answers
313 views

Is there a way to override Woocommerce's jQuery blockUI?

I know it's possible to make css !important override rules to style the overlay in a limited way, but for true control I've resorted to editing Woocommerce's checkout.js file. I've currently set up a ...
0
votes
0answers
10 views

Woocommerce how to make the sub-category sorting to be seen on sub-categories also?

i found a code that adds this sorting to Woocommerce Category pages. the problem is that i only see it on the Parent category and not the sub-categories pages. can some one tell me what should i add ...
0
votes
0answers
13 views

Woocommerce product attributes showing TWICE in front-end drop down, and in back end

Woocommerce installed on this website for almost a year with no problems. Updated to newest version (2.6.1) and suddenly, my SIZE attributes is showing double options. On the front end, the drop ...
0
votes
1answer
21 views

Custom Woocommerce Category view

I'm kind of new to wordpress development and I'm trying to make a plugin so I can show all the categories I have in a list. The Idea is to customise the default view Instead of the default list: I ...
0
votes
1answer
717 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 ...
-2
votes
0answers
22 views

woocommerce product data blank [closed]

The product data for a product or order is blank, only 1 tab works which is T-shirt eCommerce. The others are blank! I've reinstalled the plugin woo and disabled the t-shirt plugin, still blank.
-4
votes
0answers
29 views

Replacing Woocommerce tabs with accordion [on hold]

I am building a WordPress template with woocommerce support in it, in the here i've changed the default tap.php ie. the tabs display for information about the product to accordion type display with ...
0
votes
0answers
15 views

Woocommerce echo last updated?

How can I make it to print out a "Last Updated: XX-XX-XXXX" each time a Woocommerce product is updated? I sell ebooks and I want it to appear every time I update the product so my clients know when ...
-3
votes
0answers
23 views

I'd like to unset some available payment methods when a user is add Woocommerce Account Funds Deposit amount in Shopping Cart [closed]

Now I'm setting up a website that sells music online. I used WooCommerce for online shopping and used WooCommerce Account Funds extension to allow users make deposit amounts in their accounts. Now, I'...
-1
votes
0answers
16 views

How can I echo the latest time a Product was updated (Woocommerce)?

I would like to print out when the product was last updated, as I sell online courses. Any idea on how to implement this as a shortcode?
-3
votes
0answers
21 views

How to create a custom step by step WooCommerce checkout process? [closed]

I am creating a website for an online furniture shop and I need to create a custom checkout process. The problem is that few custom fields are not enough. I need whole new steps (pages like billing/...
0
votes
0answers
31 views

Woocommerce hooks inside different divs

I am using Woocommerce to power the ecommerce store on my latest project. All is going well however moving hooks, if I try moving, for example @hooked woocommerce_template_single_title - 5 into a new ...
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 ...
-1
votes
0answers
16 views

woocommerce, how to setup offers [closed]

use case scenario: I have a pizza site and I would like to setup some offers, for example, If a customer selects any Med 10.5” Pizza, Any Starter, 1 Dip, & 1 Can of Soft Drink and click checkout ...
0
votes
1answer
421 views

Sort orders by custom order meta - Woocommerce Orders admin page

I'm trying to sort my Woocommerce orders by _payment_method on the 'Orders' admin screen (edit.php?post_type=shop_order). So far I am able to sort by 'Pay_by_phone', but it sorts everytime the page ...
0
votes
0answers
24 views

How I add input in wrdpress page to upload file to custom post in the woocommerce product control panel? [closed]

I have page in the site the sellers can use to upload the downloadable products using this code to upload the premium product <tr class="trigger-type-virtual"> <th>&...
0
votes
0answers
99 views

Problem with creating order in schedule event (woocommerce, wordpress)

I have created a scheduled event in wordpress. The code inside it is below (wordpress + woocommerce), $order = wc_create_order( $args = array() ); update_post_meta( $order->id, '_customer_user', $...
-1
votes
0answers
15 views

Woocommerce Total Amount not Passed to Paypal [closed]

my concern is about Woocommerce, when trying to checkout total amount is displayed on the checkout page but when redirected to paypal correct total amount is not passed. For example total amount is ...
0
votes
0answers
10 views

How to insert a product programmatically in DB?

I need to know what the minimum information required to insert a product in woocommerce database and make this product active in the virtual store. I need this for an API implementation in my ...
-1
votes
0answers
11 views

Multiple Shipping Classes, choose most expensive base price add per quantity

I have a number of shipping classes with a base price and additional charges for quantity. IE: 7 + ( 2 * [qty] ). I see that you can choose for the shipping to choose the most expensive class in ...
1
vote
2answers
82 views

Unhook action from child theme

I have decided to use a WooCommerce Storefront child theme called Galleria, when I have previously used the Storefront theme I have used the common remove_action to unhook the defaults and replaced ...