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

learn more… | top users | synonyms

0
votes
0answers
9 views

Get Sticky User in user loop based on user role

I have this code to display a loop of user avatars with order by registration date. $args = array( 'orderby' => 'registered', 'order' => 'DESC', 'fields' => 'all_with_meta', ...
-1
votes
0answers
8 views

Update custom product meta using WP-CLI

I need to add "custom product meta" to wp wc product update capabilities. ( or wp wc product create ) For example, I have added a custom product meta to my woocommerce products with ...
-1
votes
0answers
5 views

woocommerce after adding add_fee() checkout won't stop refreshing [on hold]

I am building a store for a shop that has minimum order total of 700, so each order which total is less than 700 has to have an additional fee to bump up the total to 700, to do so in my functions.php ...
-2
votes
0answers
14 views

Post WooCommerce product data to Google Spreadsheet using google script

Is there any way to post products id and name to google spreadsheet when new product is added or updated ? I found that with Google app script we can do that, but not sure how to post product data ...
-2
votes
0answers
7 views

Woothemes Dynamic Pricing - show lowest price of variable prices [on hold]

I am using Woothemes Dynamic Pricing plugin with Woothemes Min/Max Quantities. I have my product set up in the following way min 20: unit price £9.90 (23%) min 40: unit price £9.40 (27%) min 60: ...
-2
votes
0answers
19 views

WooCommerce custom form [on hold]

I am building a custom form and it is completed now what I want is that: When a customer login into their account (WooCommerce My Account), customer should be able to view their history of ...
-4
votes
0answers
8 views

Ask for a product button WooCommerce [on hold]

I need to replace the Add to cart button to Ask for this product or request a quote. The most popular plugin I saw, called YITH I believe adds a second cart for quotes. But I just need something ...
0
votes
0answers
8 views

show attributes expanded by default in the WooCommerce Admin

Is there way to show all the attributes already added and collapsed in woocommerce admin so all attributes are shown as a form I just fill out. This way I can eliminate having to add them and ...
0
votes
0answers
21 views

How to add value into array

I want to add some value into $cart_item array in WooComerce. There is product information in this array like name, price, etc. I wrote this code but when I debug, I can't see 'Period'. What am I ...
-3
votes
0answers
11 views

Show images on mobile checkout storefront woocommerce [on hold]

could someone tell me how to get my images to show on the mobile version of my sites checkout? I worked before and now does not. Thanks. the website is hemingwayscatboutique.com it is a ...
0
votes
0answers
16 views

Not able to access wordpress posts using REST API

I am working on mobile application for my website. I am able to access the URLs from postman client but when i try to access the same using my mobile app client then i am getting 401. I have using ...
-3
votes
0answers
23 views

Change Woocommerce shipping class based on product quantity [on hold]

I have a woocommerce website with products which have variations like: 2-Pack,5-Pack The shipping classes are also created according to them . There are various shipping classes 2Pack, 5 Pack ,10 ...
-3
votes
0answers
39 views

WooCommerce Social Login - Usernames [on hold]

I was sent here by WooThemes as giving coding examples is apparently against their Support Policy? I'm hoping one of you have experience with this and I'm in the right place. As an FYI, I'm novice ...
-3
votes
0answers
16 views

Shipping method does not display on admin panel / gift card does not pay for shipping [on hold]

I have two bugs in our Woocommerce store, and I cannot figure out why this is happening. Bug 1 - Shipping method is not displaying when a user purchases a product as a guest. Here is an example ...
0
votes
0answers
34 views

Action Hook before Product Subtotal in Woocommerce Cart and Checkout [on hold]

I try to insert (hook) a custom row just before the first subtotal row in the cart page and checkout page with a function in my functions.php. I checked the official Woocommerce Hook Reference Site - ...
0
votes
0answers
25 views

WooCommerce how to get attribute slug by variation id? [on hold]

Is there a function to get the slug for a given variation_id? In the wp admin back-end: For a custom post type I'm able to attach a related wooccommerce product to the post through a custom field, ...
0
votes
1answer
18 views

WooCommerce Custom Shop Page Template [on hold]

I've been rattling my brain for the last couple of days over how to make a custom Shop WooCommerce landing page. What I'd like is to have a top banner using Advanced Custom Fields image field and a ...
0
votes
0answers
15 views

Wordpress using get_term to retreive slug not working as expected

Im using the below code to try and get the slug for the current category and the parent category. Ive managed to get as far as getting the currently cat slug but the parent displays in readable text ...
0
votes
0answers
11 views

Custom query filter not working on woocommerce category page

I am trying to make custom filter for my woocommerce website. Everything is working fine in the shop page, but when I go to the archive page the filters are not working. I am recording each filter ...
-3
votes
0answers
27 views

Wordpress and WooCommerce in China [closed]

Is it just my imagination, or has Wordpress not been as successful in China as it is in Western countries? Is there some other better way to go in China?
0
votes
0answers
16 views

Remove “View Cart” link which appears after click on the “Add To Cart” button in WooCommerce [on hold]

I am using Wordpress version 4.5.2 and WooCommerce version 2.5.5. After click on the "Add To Cart" button, one link appears "View Cart". Can anyone help me to remove that link.
-3
votes
0answers
18 views

Woocommerce with Different Paypal accounts [on hold]

I have set up a store for a chain of restaurants, there is a section to select location of Store, So What I want is, assign separate paypal email accounts for each store locations, so When a Customer ...
-1
votes
0answers
10 views

restrict user from downloading product woocommerce [closed]

I'm currently working on a website selling books (virtual, downloadable). On order complete, I'm sending a custom e-mail with a download link from a social drm cloud (the .epub file is watermarked). ...
0
votes
0answers
19 views

Woocommerce - Order Data Export via Curl [on hold]

I need the whole bunch of order data when the order was placed. I am using this script: add_action('woocommerce_payment_complete', 'custom_process_order', 10, 1); function ...
-1
votes
0answers
10 views

Can't view/edit orders on WooCommerce [closed]

After moving to new servers when i try to view/edit orders i get this error: fatal error: Call to a member function get_items() on boolean in ...
-1
votes
0answers
11 views

-woocommerce- Adding multiple parent category to a Sub category? [closed]

I currently have a client that sells door mats(for example) He is currently using the Woocommerce plugin for Wordpress and having trouble assigning parent and sub-parent category's. He has 2 parent ...
-1
votes
0answers
13 views

Woocommerce Hide Price Match when price is empty [closed]

I have a module on woocommerce which is the Price Match, however intended to hide when the product has an empty value. Someone I can help?
-1
votes
2answers
14 views

Woocommerce: Show script in body tag when change order status to completed [on hold]

I wan't to show script in body tag when I change order status to complete. This code dont work - I check source page code and dont see my script. Thanks for help. add_action( ...
-5
votes
0answers
19 views

How to move the WooCommerce coupon to bottom of order review without missing apply coupon

I'm using woocommerce plugin 2.4.13 for my wordpress site. I move the WooCommerce coupon to bottom of order review in checkout page. The problem is billing & shipping information field is become ...
1
vote
1answer
21 views

Remove duplicate product link from WooCommerce Page Row Actions

I'm desperately trying to remove the duplicate link from the WooCommerce Admin Product listing (page_row_actions). //Remove duplicate button from product list function ...
-3
votes
0answers
11 views

Insert Cost Of Goods as seller [closed]

I'm using woocommerce cost of goods. I want to add cost of goods field in seller dashboard. I've added cot of goods field and insert cost of goods succesfuly but when I checked in admin dashboard in ...
-1
votes
0answers
19 views

Zoom product in WooCommerce site is cropped into small size and is shown in a corner [on hold]

I am working on a WooCommerce site, I uploaded product images on localhost and are working fine. Now when I set the site to live server, I am facing an issue that when I upload a new product, the ...
0
votes
0answers
6 views

Recognizing Paypal IPN sessions

When doing WP Plugin development, is there a way to recognise a Paypal IPN session? With gateway sessions that are all processed during the user session, wc_get_current_user() will be populated, as ...
1
vote
0answers
15 views

WooCommerce Template Override or Hooks for update safe customization? [on hold]

I'm about to create a custom online store using WooCommerce for a client and I wanted to know some people's opinion on whether overriding the WooCommerce template structure or adding html code through ...
0
votes
0answers
20 views

Changing site language without loosing permalink settings [on hold]

This is the situation: I just built e - commerce site based on wordpress, using woocommerce plugin, and all this time I was building it on English (US) settings set from dashboard. Then after all I ...
1
vote
1answer
22 views

Catchable fatal error on custom category post

I get this error after deleted a few of unused category's product on my woo theme: Catchable fatal error: Object of class WP_Error could not be converted to string in ...
0
votes
0answers
24 views

Cast woocommerce events date meta_value with wrong format in WP_Query

I'm using woocommerce events plugin to sale tickets in a client site. The client wants to display the next 3 events after today in the home page. I have created this code: $args = array( ...
-3
votes
1answer
16 views

How to change redirect code? [duplicate]

How to change the function: woocommerce_myaccount_page_id code below: <a href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?> "> To redirect it to WordPress ...
0
votes
0answers
10 views

Woocommerce view-order 404 error

Our customers can't see their order by the link on there profil page. They've got an 404 error. Permalinks have been refresh. No cache plugin on the website. No custom template for these part in my ...
-1
votes
0answers
25 views

Login through phone number instead username

I am building a website using Woocommerce.By default the username is the user's email address.I want to provide the users the feature to login through their phone number also. How can i do that? ...
1
vote
1answer
24 views

How do I remove the product thumbnail link from a specific div in Woocommerce? [closed]

I have a section on my front page that displays the top 4 most popular products from my Woocommerce shop. I is located within a div as such: <div id="trending"> <p ...
4
votes
2answers
75 views

How to update user role without logout

I am working on a wordpress project with the following plugins : Woocommerce Woocommerce product vendors WP Job Manager Wp Job Manager products I am trying to upgrade the user role after adding a ...
0
votes
1answer
18 views

Woocomemrce order and registration fileds to UPPERCASE

I have to transform all the registration fields (Name, Surname, email, State, Address...) to uppercase. I mean no CSS transform, like text-transform: uppercase; but transform in PHP before they go to ...
0
votes
1answer
31 views

How to remove coupon dropdown feature

I want to remove the coupon drop down feature and just have the input field and 'add coupon' button on the checkout page. Does anyone know how I can get rid of the dropdown feature? Thank you in ...
-1
votes
1answer
24 views

Woosidebars adding full page navigation on bottom [on hold]

So, when i add an woosidebar to my woocommerce pages, only with the woocommerce product category widget, it shows it correctly on my right sidebar just like i wanted, but it also adds a search box and ...
1
vote
1answer
33 views

Detect whether a page is a product subcategory page?

How can I detect whether current page is a product sub category page? I've tried with the following but it will always print out "NO" function is_subcategory($category = null) { if ...
1
vote
1answer
16 views

How do I edit pre_get_post for the category the user is currently in?

I've got a Woocommerce site that uses categories and products within those categories but how do I get my search form to only display results of products within the category the user currently is in. ...
0
votes
0answers
37 views

WooCommerce: Making a loop create divs of categories, with category products inside

I have a php/wp script written which in theory should print a div with a category name, description, and all of its products inside. The code looks like this: <?php $args2 = array( 'taxonomy' ...
-1
votes
1answer
20 views

How to get Woocomerce categories count

Is there a short way to get the number of categories in woocomerce shop homepage and also number of subcategories on category page?
0
votes
1answer
18 views

Remove action added through function

A theme I'm using modified a woocommerce that I'd like undo in my child theme. It's been added as shown: function theme_setup(){ remove_action( 'woocommerce_before_main_content', ...