e-XPLoDeR Posted September 5, 2006 Share Posted September 5, 2006 Hi. As in the picture above, I want to get order total and write in form element like: <input type="hidden" name="total" value="87.50"> value, will be order total. How can I get this total and print it to value place? Thanks. Link to comment Share on other sites More sharing options...
GulSar Ray's Posted September 5, 2006 Share Posted September 5, 2006 Hi. As in the picture above, I want to get order total and write in form element like: <input type="hidden" name="total" value="87.50"> value, will be order total. How can I get this total and print it to value place? Thanks. In checkout_confirmation.php file , replace the code from line no 228 to 233 <?php if (MODULE_ORDER_TOTAL_INSTALLED) { $order_total_modules->process(); echo $order_total_modules->output(); } ?> with <?php if (MODULE_ORDER_TOTAL_INSTALLED) { $order_total_modules->process(); echo $order_total_modules->output(); ?> <input type = "text" name = "total" value = "<?php echo $order->info['total']?>"> <?php } ?> Hard Work Is The Simplest Way Of Success Link to comment Share on other sites More sharing options...
e-XPLoDeR Posted September 5, 2006 Author Share Posted September 5, 2006 Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.