Skip to main content

All Questions

0 votes
1 answer
522 views

Woocommerce - Include custom user meta in order 'filter by registered customer' Ajax search

I am trying to include a users custom meta named 'sageaccountnumber' within the 'filter by registered customer' section of the WooCommerce orders list as shown below: I already have the custom meta ...
DSmit's user avatar
  • 1
0 votes
0 answers
158 views

Woocommerce ajax search can't work on mobile

It's wired my ajax search code can work on the desktop, but in the mobile browser, the ajax search doesn't have any responses. I don't know how to get the trick. html <input type="text" ...
Pearson's user avatar
0 votes
1 answer
44 views

Create a Search Form that only Searches with WooCommerce Sale Products

I am trying to create a search form that will search within products that are on sale/promotion within WooCommerce. Here is what I have so far: <form method="get" action="<?php ...
moorewebx's user avatar
0 votes
1 answer
180 views

Call product search from custom hook

I am trying to make search request from my custom form. For this I have an AJAX call on form submit: jQuery("#header-search").on('submit', function () { jQuery.ajax({ url:...
Toma Tomov's user avatar
0 votes
1 answer
73 views

Search doesn't return anything

search bar on skorpion.info.pl doesn't return anything - it sends you to a page "skorpion.info.pl/undefined". I tried working on that, but couldn't fix it in any way. The search is run by ...
Pete's user avatar
  • 1
0 votes
1 answer
27 views

edit URL of search result

i have wordpress website with sailent theme i have default search in header the result of search is http://www.example.com/?s=colagen while "colagen" is the key that type it in search but ...
You Ceph's user avatar
0 votes
1 answer
772 views

No Results in WooCommerce Product Search

When I try to create a grouped product, I type the field which searches for products but I am getting no results even though I should. After looking at the request made from the API with this URL: ...
Omer's user avatar
  • 13
0 votes
1 answer
433 views

Redirect Search to Form When No Product Results Are Found

Site has an internal product search. If a query has no results, I want to redirect to a contact form, and pass the query through into the form into the product name field. The problem I'm having is ...
imatec's user avatar
  • 1
0 votes
1 answer
1k views

How to exclude woocommerece product category in search results?

I'm looking for a way to exclude a product category from search results with Woocommerce using the pre_get_posts action and $query->set(). I am searching using the Wordpress ?s=keyword search. I know ...
AlanP's user avatar
  • 721
0 votes
2 answers
532 views

Woocommerce Multisite global search how to mod ajax function?

I created an installation of my multisite ecommerce to differentiate the men's and women's departments. Often, however, it happens that in the men's department they do research related to women's ...
Vito Santimone's user avatar
1 vote
0 answers
25 views

Making custom field serchable in woocommerce [duplicate]

I have a product field which is by default in the woocommerce and i have added another field custom field (ACF) which is stock_number on my product/shop page i can search for products by title only i ...
Sameer's user avatar
  • 11
1 vote
0 answers
23 views

Separeting product from post in search result

I am trying to separete products from posts in the search result. I can see the loop there search in both. if( have_posts() ) { while( have_posts() ) { ...
Leandro Andrade's user avatar
0 votes
1 answer
219 views

I wan redirect link post search to search product woocommerce?

Search results link for the post : https://domain.com/?s=item+item I want when clicking search, the article search link automatically redirects to the product woocommerce search link is: https://...
Alex Phạm's user avatar
0 votes
1 answer
105 views

How to filter result set in custom metaboxes?

I am adding a plugin that adds a custom meta box on the admin woocommerce product detail page. What this does it lists the completed orders that contain the product. I was able to successfully add ...
pmb88's user avatar
  • 1
0 votes
1 answer
3k views

Woocommerce Backend Search by Title and SKU

Good morning, i'm trying to extend backend product search by using this function without success. This snippet works only in Title and i need to add also in Metakey SKU. I have tried extend by using ...
Marco F's user avatar

15 30 50 per page