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

learn more… | top users | synonyms

0
votes
1answer
38 views

Query Strings and Woocommerce

I've got a wordpress website and am using WooCommerce to sell registrations for applications that I develop. To streamline the registration process, I would like users to be able to click a ...
-3
votes
1answer
41 views

the_content not showing on any of the pages or posts [on hold]

I posted the same question to Wordpress.org but they could not help me because I'm using a Woocommerce theme and Woocommerce can't help me because this theme was free (very limited support for free ...
-3
votes
0answers
20 views

Migrate WooCommerce to WooCommerce [on hold]

Okay, so here is my requirement, and was wondering if this community will be able to help me through. I run an eCommerce website (let's say ABC). We are changing our brand name, and created a whole ...
-4
votes
0answers
31 views

Woocommerce - Loading Custom API Class on action woocommerce_api_loaded fails

I am want to add an additional method to the customer REST API endpoint of WooCommerce. The additional method returns the customer given a phone number as input parameter. However, when I try to ...
0
votes
1answer
27 views

Woocommerce product_cat in cron job

I'm working on a wordpress plugin that fetches data from a Woocommerce shop. One of the things the plugin can do is generate an xml report from the shops data. Now I want to add a cron job to the ...
-2
votes
1answer
15 views

WooCommerce: Add Product Image Meta 'Title' in Popup [on hold]

On this site, I am using the 'Featured Image' as the primary image of the product. If you click on that image, you will notice that the popup, by default, WooCommerce uses the image's 'Alt text' as a ...
1
vote
0answers
11 views

Catalog Images are sharp after product is visited (Woocommerce) [closed]

My woocommerce catalog images are blurred until I visit product page, than - when I go back to catalog - catalog image (that I visited) is sharp and it has changed dimension from 283.83 x 275.95 to ...
0
votes
1answer
47 views

How to display product product with two condition, category and brand?

I made a simple loop to display product base from category and brand (custom taxonomy.) Here piece of my loop: <?php $args = array( 'post_type' => 'product', 'posts_per_page' => ...
0
votes
0answers
22 views

Woocommerce admin product list extended search

I need to search in product custom fields on admin product listings. The code I am using: Problem that this search only on custom field and now can't find by title or description... what can you ...
0
votes
0answers
36 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 ...
0
votes
0answers
22 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
24 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 ...
1
vote
1answer
49 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 my_duplicate_post_link($...
0
votes
0answers
16 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
17 views

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

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 ...
1
vote
1answer
23 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 D:-mytheme\wordpress\wp-...
0
votes
0answers
35 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
12 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
vote
1answer
46 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 class="trending-title"&...
5
votes
2answers
89 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
22 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
39 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
vote
1answer
43 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 (is_category()...
1
vote
1answer
19 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
41 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
24 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
24 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', '...
-1
votes
2answers
66 views

Assign class to Drop Down Selections in WooCommerce Products Custom Fields

I have added a drop down to the WooCommerce Inventory Tab where the user can choose message to show in front end. In functions.php: // Display Fields in Back End add_action( '...
1
vote
2answers
81 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 ...
0
votes
0answers
44 views

Adding a query string to product links

I need to add a query string to the end of the links generated by a [products] shortcode from WooCommerce. Each product appears with three links. The image, the title and the add-to-cart button. I ...
1
vote
1answer
22 views

Woocomerce language

I have no idea why woocomerce is not changing language. When I change language in wordpress everything is fine, but woocommerce language is not changing, but only in my language (Lithuanian lt_LT), in ...
0
votes
0answers
19 views

How to pass the Shipping tax and set shipping is taxable or not in the WooCommerce order API?

I had passed the order data as below given with shipping tax as zero, And also i am passing the flat rate as shipping method, for the flat rate i have given taxable option as none in WooCommerce ...
0
votes
0answers
16 views

Creating multiple private shop pages with expiry link for each

I am currently working on a Woocommerce Store with more than 500 products. Client wants to have some private shop pages. Let me explain it more broadly, he wants to have different shop page links ...
0
votes
0answers
34 views

The plugin generated xxx characters of unexpected output during activation

I know this question has been asked 100 times, and I've googled it and tried multiple solutions, but I'm still getting this error. I removed all the white space, tried to encode it in UTF-8 in notepad ...
0
votes
0answers
21 views

bypasss, or generate, download permissions for users with subscriber flag

I've got a small number of users of a legacy site who are subscribers. I can change HTML based on that flag, but I don't want to add download permissions for each user, for each product, if I can ...
0
votes
0answers
58 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 own....
-2
votes
1answer
47 views

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

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
0answers
20 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
59 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
51 views

How to set a minimum length for username in Woocommerce? [closed]

I need to set a minimum lenght for username in a website that use WooCommerce. In a "standard" WordPress installation (without WooCommerce, I mean) I could use a snippet like this one: function ...