Jump to content

[Solved] Order ID And Featured Products


Recommended Posts

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.php

Line 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...