[email protected] Posted May 13, 2011 Share Posted May 13, 2011 How do I change the "Order ID" for invoices? Not the invoice number but the "Order ID".Also I would like to change the display order of my "Featured Items" how do I go about this?I am currently using PrestaShop™ 1.4.1.0Thanks so much Susan Link to comment Share on other sites More sharing options...
shokinro Posted May 13, 2011 Share Posted May 13, 2011 How do I change the “Order ID” for invoices? Not the invoice number but the “Order ID”. It is not that easy to make this change, because order no and invoice no are generated separately.If you just want to force the PDF invoice to show order no as invoice no, but ignore real invoice no, you can try to change that in file /classes/PDF.php Also I would like to change the display order of my “Featured Items” how do I go about this? You can change this by modifying following file YourSiteRoot/modules/homefeatured/homefeatured.phpLine to change (BEFORE) $products = $category->getProducts((int)($params['cookie']->id_lang), 1, ($nb ? $nb : 10)); CHANGE TO $orderBy = 'name'; $orderWay = 'ASC'; //or DESC $products = $category->getProducts((int)($params['cookie']->id_lang), 1, ($nb ? $nb : 10), $orderBy, $orderWay); Link to comment Share on other sites More sharing options...
[email protected] Posted May 13, 2011 Author Share Posted May 13, 2011 Thank you for your help. 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