Skip to main content
WB2
Roulian Ross
@juliengrelet1
Active Member
Inscription: Mar 8, 2017
Sujets: 3 / Réponse: 2
Sujet
Replies: 0
Views: 0
Répondre
RE: Récuperer le prix dans le panier

J'ai trouvé $_product = $cart_item['data']; $wc = $_product->price; $number = $wc; // Replace with the number you wish to round $rounding = 0.5; ...

Il y a 10 ans
Répondre
RE: Afficher un produit dans le panier en fonction d’un autre produit

Je m'auto-réponds. J'ai juste placer ce code dans la page thème qui me sert pour le panier. <?php $product_id = 1111; if ( sizeof( WC()->cart-...

Il y a 10 ans
Sujet