Les meilleurs développeurs WordPress freelances sont sur Codeur.com

Wp - Custom sorting products WC

 Fermé · Moins de 500 € · 5 offres · 481 vues · 9 interactions


Hello,

I’ve a woocomerce installed on the latest platform.
On my wp_post table i’ve insert a custom row, containing a date for the sorting named boost.

Could i:
Show the products with the boost date first and display after other products by date post ?

I’ve tried this:

add_filter('woocommerce_default_catalog_orderby', 'changer_orderby');
function changer_orderby( $sort_by ) {
return 'boost';
}

But that doesnt work and what i want.
I'm searching anyone able to solve this.

Kr,
M.A

Budget indicatif : Moins de 500 €

Publication : 06 mai 2021 à 10h39

Profils recherchés : Développeur WordPress freelance , Expert Woocommerce freelance

Le profil du client est reservé aux prestataires abonnés

Créer un compte

5 freelances ont répondu à ce projet

5 propositions de devis en moins de 2h

langotex.ca Agence de communication
Anthony Menard Consultant marketing
Jonathan Ramirez Développeur WordPress
web-premiere Agence Prestashop
LesAgentsDuWeb Agence marketing
Publier un projet similaire

Chaque jour, des centaines de clients utilisent Codeur.com pour trouver un prestataire. Créez votre compte dès maintenant, remplissez votre profil et trouvez de nouveaux clients.

Trouver des nouveaux clients