X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Newest Products (https://forum.x-cart.com/showthread.php?t=1084)

jin 07-09-2004 10:27 PM

Hi. I have simple question.
If I want to display products which were newly added in last few weeks in other page(not in home), how should I use this code provided at the beginning of the thread? I also want to have link to the page in menu at left column.

v.3.5.9 Linux

exhibit-x 07-22-2004 01:57 PM

if anyone would like to make it column based...

amend newest.tpl...


{include file="customer/main/products.tpl" products=$newproducts}


{include file="customer/main/products.tpl" products=$newproducts featured="Y"}

warrenkong@earthlink.net 08-09-2004 04:23 PM

I have wholesale pricing for our products and this search query is picking those up. So now it shows my new product twice, once at the retail price and again at the wholesale price. Does anyone know how to write the search query to show the price based on the membership?


donavichi 08-10-2004 01:14 AM


Thanks fellas

donavichi 08-11-2004 06:12 AM

I hit upon a problem since installing this mod yesterday.

The image thumbnails do not display..?!

I am using 3.5.7 and storing my images in FS not DB and the thumbnail images are fine in products' categories....

august 09-20-2004 10:46 PM

Had anybody try this mod in 4.0.x?

Emerson 09-23-2004 06:01 AM


Originally Posted by august
Had anybody try this mod in 4.0.x?

I'm gonna try it tonight and let you know ;)

august 09-23-2004 07:59 AM

Thanks in advanced!!!

Emerson 09-23-2004 08:06 AM

Hi There,
I have been able to get it to work with the following:

The newest.php file should be created in the xcart root directory, not in the customer directory.
Also, edit the xcart/home.php file instead of /xcart/customer/home.php and add

require "newest.php";
instead of

require "./newest.php";

The mod works fine in 4.x if you make the modifications I mentioned above ;)

BHMedia 09-29-2004 07:28 PM

Hey running 4.0.3 - everything is working perfect except it is saying Enter your price! Heh... HELP!

All times are GMT -8. The time now is 04:42 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.