X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   {$products[product].product} (https://forum.x-cart.com/showthread.php?t=18846)

artinion 12-23-2005 02:36 AM

{$products[product].product}
 
I'm looking to modify the category pages and editing /skin1/customer/main/products.tpl.

Where are the values for {$products[product].product} taken from? Is it from /products.php? Is it from /home.php?

balinor 12-23-2005 03:20 AM

Not sure what you mean....what are you trying to achieve?

artinion 12-26-2005 08:51 PM

I would like to retrieve one row from the table xcart_images for each product displayed on the category pages. The template of course, for the category pages, is products.tpl.

I am trying to trace which of the php scripts is doing the queries and passing the retrieved values to products.tpl but only got as far as products.php and home.php. Once I found which php file is doing the queries, I could insert the required query there, too.

Liked your website, the one featured in your forum_profile.

Jon 12-26-2005 08:58 PM

I believe the query is in func.php which is called by search.php which is called by products.php

artinion 12-27-2005 12:56 AM

Thank you Jon. Found it.


Quote:

Originally Posted by Jon
I believe the query is in func.php which is called by search.php which is called by products.php



All times are GMT -8. The time now is 07:41 PM.

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