Guest Posted November 27, 2012 Share Posted November 27, 2012 What the variable to use on the order number (I need put order number into my affiliate program). I can not find anywhere, could someone help with this. I tried it and search in google and technical documentation but nowhere have I not found. Thank you in advance to everyone who can use some advice, thanks. Link to comment Share on other sites More sharing options...
tomerg3 Posted November 28, 2012 Share Posted November 28, 2012 Assuming $order is initiated in the file you need, $order->id would have the order ID Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2012 Share Posted November 28, 2012 (edited) Assuming $order is initiated in the file you need, $order->id would have the order ID hi, thanks for your reply. okay so in affiliate php code when I put into order-configuration.php ...... $orderValue = "$order->total_products"; <----here is this for total price $orderNumber = "$order->id"; <----here is this for order number ...... SO IT? (here is more information: http://www.prestashop.com/forums/index.php?/topic/207162-prestashop-variable-for-order-number/page__view__findpost__p__1021972) Edited November 28, 2012 by PepeCZ (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted November 28, 2012 Share Posted November 28, 2012 Yes, that should do the trick. Link to comment Share on other sites More sharing options...
Recommended Posts