View Full Version : Display One Item only
cnoel
June 4th, 2003, 02:37 AM
Several months ago you send me a post how display only one item on a Template. You have to add the record number on the home.php or demo.php. I have been searching through the whole forum but I cannot find it. Can you please send me the link again. Thank you very much
Jamie
June 9th, 2003, 03:39 PM
Hi cnoel,
You could do this by finding the record number for the product in the admin section, and then putting this code where you want the product to display:
<? show_product(15); ?>
replace 15 with the recotrd number of your product.
This method will display the product using the "show_product.php" template, which is the same one used to show your products after clicking on a category name. If you want to display the product as it would appear after clicking on the thumbnail image for more detail, use this code:
<? show_product_detail(15); ?>
Thanks,
Jamie
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.