Quote:
Originally Posted by toolexperts
Now I didn't see a .php file in there and I am assuming they mean the .tpl file, in which case when I added said code, it made my site go blank....do i need to proceed with step7 to make it work?(ex bring back pics?)
|
Yes, it is {xcart_dir}/skin1/customer/home_main.tpl, not home_main.php (there is no such thing). I've corrected it in my notes but not in the zip file (see post #185).
You need to complete step 7 for it to work correctly.
7.
Edit $xcart_dir/include/func/func.product.php
FIND (approx line 363):
$fields[] = "$sql_tbl[products].productcode";
$fields[] = "$sql_tbl[products].avail";
Add AFTER:
// newproducts .. needed for quantity to work on newproducts module
$fields[] = "$sql_tbl[products].min_amount";
Step 8 is optional. By default it should be set for 7 days.
Also, as many people have noticed, 4.1.x sorts products by the title by default. X-cart has no provisions for sorting by Add Date. The thread at
http://forum.x-cart.com/showthread.php?t=38263 deals with this issue, but if you read the last post I am personally having a conflict with Add_Date and recommended products.