08-11-2004, 10:16 AM
|
|
| |
|
|
X-Guru
|
|
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
|
|
|
Quote:
Originally Posted by sstillwell@aerostich.com
Thanks for the Mod, its great. Just have a slight change to your post. I'm not sure what the case is for xcart 3.x, but for 4.0.1. The detailed images have Position and Availbility fields.
replace the following in product_detailed_images.php
Code:
$images = func_query("select * from $sql_tbl[images] where productid='$productid' order by imageid");
With
Code:
$images = func_query("select * from $sql_tbl[images] where productid='$productid' and avail = 'Y' order by orderby");
That way your mod can take advantage of the "Pos" and "Availablity" settings from the admin side for detailed images.
|
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
|
|