Hi,
I have 2 questions about the Oscmax 2.5 beta 3.
1. When I click on the arrow button at the What's New box at the home page, it displays the products by products_date_added in descending order. The older product is displayed first. I want to display the latest added products first. I tried to modified the catalog/index.php from line 283. But nothing happened.
The original code is:
if (isset($_GET['new_products']) && tep_not_null($_GET['new_products'])) {
$new_products_sort = "products_date_added,";
} else {
$new_products_sort = "";
}
Modified code is:
if (isset($_GET['new_products']) && tep_not_null($_GET['new_products'])) {
$new_products_sort = "products_date_added," . ($sort_order == 'asc');
} else {
$new_products_sort = "";
}
The code didn't generate any errors but the sort order is not working too. My code is not correct. Can someone help me on this to sort the product from the latest?
2. At the Admin/Customers/Create Account, how can I set the default country from the country drop down list. For example, I want to set Canada as the default country.
Thanks!





LinkBack URL
About LinkBacks











Bookmarks