All Questions
1,533
questions
0
votes
1
answer
30
views
WooCommerce Attributes' Filter Relationship
In WooCommerce, there is an attributes' filter that, by default, does not change other attributes when one attribute is filtered. However, I wanted to establish a relationship between all attribute ...
1
vote
2
answers
81
views
Filter to remove starting zeros from numeric array in php
I want to create a callback function to remove from a numeric array the given values.
Given this array: [ 0, 0, 0, 0, 1, 0, 3, 4, 5, 2, 0, ];
I want to create a callable function to be passed to ...
0
votes
0
answers
17
views
Moving Out Of Stock Products To The End Of Pages In The WP-E-Commerce Plugin (WPEC)
Currently when you browse through the products pages on our wp-e-commerce Wordpress site, all of the out of stock products show across all the pages.
What we would like to be able to to do, is to move ...
0
votes
1
answer
77
views
How to sort filtered results in my php table?
In my code I have sorting and filtering options. Sorting allows you to sort data ASC or DESC. With filter you can filter by location, status, urgency, id etc. My current problem is that when I filter ...
0
votes
0
answers
34
views
opencart php mysql max min price filter
i have some problem but ı dont solved problem ı want make filter sistem ı find max min price but ı want bring product_id
$sql = "SELECT max(coalesce((SELECT price FROM " . DB_PREFIX . "...
1
vote
0
answers
23
views
How do I add filters to a custom post type?
I have a custom post type in WP and the posts are displaying on the page but my filters are not linked to the CPT. My filters are being pulled from 'Posts' and not the CPT?
There are a few custom ...
0
votes
0
answers
33
views
Filtering posts within a page that displays a single category php
I'm editing a website that has existing filters that filter through all products in all categories.
I'm changing the menu structure to display pages that show the categories on separate pages. I would ...
1
vote
1
answer
46
views
Stylization of decimals as uppercase in WooCommerce only in Single Product and Product Archive Pages
I'd like your help for a specific case. I was able to make the stylization of the price decimals exactly as I wished on my WooCommerce store.
However, the problem is that now this code also applies ...
1
vote
0
answers
32
views
WP Job Manager - Create Multi Select Field for Job type instead of multiple checkboxes
I would like to modify the default checkboxes for the job types to a multi select field as shown in the category field in the image:
This is the job_filters.php section for the category field: Could ...
1
vote
0
answers
35
views
Changing PHP Code To Sort WP-E-Commerce Products By Their In Stock Status And Move Out Of Stock Products To The End
The below code allows you to sort products, using the wp-e-commerce wordpress plugin by category and product title.
Trying to adapt and change this code, so that the products, when viewed by their ...
0
votes
0
answers
40
views
Trying To Get A PHP Filter To Work In Wordpress To Show Unlimited Products On The Page During Custom Search
Have a custom live search feature on our wordpress website, which only displays 20 products in the middle of the screen for any given search.
Would like to be able to remove this 20 limit, so that ...
0
votes
0
answers
118
views
Wordpress wp-e-commerce plugin move out of stock products to the end of pages
Using the wp-e-commerce plugin below:
https://github.com/wp-e-commerce/WP-e-Commerce
Trying to figure out how to get all of the products which have the "out of stock" status to appear at the ...
0
votes
2
answers
93
views
Check if string contains any instance of a word in an array with PHP [duplicate]
I have a simple form that needs extra validation. I have an array of banned words, which if any are present, the form submission fails.
I've been able to get it to work if the only word in the input ...
0
votes
0
answers
18
views
multi filter for controller in ci 4
I create 3 filter for logging data in ci 4.
I have controller like this:
$routes->post("data/storeData", "Data::storeData", ['filter' => ['authData', 'logData']]);
and i ...
-1
votes
2
answers
64
views
filter url in laravel [duplicate]
current Url:
http://localhost:8000/filter-results?country_id=1&education_level_id=&employment_type_id=&language_id=&profession_id=&religion_id=1
how I wanted to looks like:
http://...