TheThing Posted May 23, 2017 Share Posted May 23, 2017 (edited) Bonjour à tous, Afin de pouvoir utiliser Kelkoo (un moteur de shopping), j'ai besoin de remonter l'id et le montant de la commande, la remontée se fait à travers ce code qui se situe dans la page de confirmation de commande : <script type="text/javascript"> dataLayer.push({ 'orderValue': '???', 'orderId': '???' }); </script> Or je ne trouve pas les variables à placer à la place des '???'... Si quelqu'un connait ces variables, il est le bienvenu !! Merci Edited May 23, 2017 by TheThing (see edit history) Link to comment Share on other sites More sharing options...
Matt K. Posted May 24, 2017 Share Posted May 24, 2017 (edited) Salut ! As-tu essayé ça ? {$order->total_paid} {$order->id} Bon courage Edited May 24, 2017 by Matt K. (see edit history) Link to comment Share on other sites More sharing options...
TheThing Posted May 24, 2017 Author Share Posted May 24, 2017 (edited) Salut ! Merci pour ta réponse, j'ai essayé avec tes variables mais il me retourne deux champs vides :/ Edited May 24, 2017 by TheThing (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now