you know what would make this a killer mod - we have a site that ads over 500 products a week - so this mod would just pull out X amount - to eaither make it have it so it can have XXXXX Products but if it is over 10 on a page it will show the 1 2 3 4 5 6 on top or just have like RANDOM newest products... how would i do that?
|
Im not sure if this part is even worth posting but I figured it out..
I wanted to make it so it will just RANDOM the 6 products i had there... Because my client has so many updated products... here goes all you have to do is change the query from Code:
$query = "SELECT * FROM $sql_tbl[products],$sql_tbl[pricing] WHERE forsale='Y' AND avail>0 AND $sql_tbl[products].productid=$sql_tbl[pricing].productid AND add_date > " . $oldtime . " AND add_date < " . $nowtime . " ORDER BY xcart_products.productID DESC LIMIT 0,5 "; to Code:
// the database query Hope this helps... This works for 4.03... |
This is a nice mod. After playing around with the settings I was able to limit the choices to a certain category, but is there a way to make it so there are more than one page similar to the products.tpl. We will be adding lots of products each week and would like to list them 10 to 15 items to a page rather than all the new products at once. I thought X-cart would break them into pages but it doesn't.
Also, when working with this mod in 4.0.4 instead of a price it says "enter a price!" I know someone besides me has had this problem, but did anyone find a solution to that. Any comments is appreciated. -Mike |
I just cleared out the label so it reads nothing... I cant figure it out tho...
|
Quote:
Hi there, Here is modified newest.php which works in 4.0.4 and shows the price and loads images from server, not via image.php Code:
<? Example is here: http://www.shopping-carts-upgrades.com/store/ :D Enjoy, |
Using 4.0.5, newest.php gives an parse error on line 23
http://hobbyhandig.webfontein.nl What did I do wrong? |
Anyone? I really want this mod, but it doesn't work! :roll:
|
:arrow: http://www.cart-lab.com/Newest_Products-p-53.html Easier to use and setup :D
|
Hi Boomer,
If it were my money I would buy it! :D But my boss has to pay, so I would really like if I can get the free version to work for me, like all these people in this topic before me! :wink: |
OK, I hate to be a newbie. I've gotten this to work on the home page, but how do you make an independent page displaying only the new items. I've read this whole section several times, and maybe I just don't know what I'm looking for, but I can't figure it out. Any help would be hugely appreciated.
Mike StitchClix.com |
All times are GMT -8. The time now is 03:47 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.