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)
-   -   Adding Additional Field Information to Home Page Products (https://forum.x-cart.com/showthread.php?t=37555)

sjrconsulting 02-13-2008 04:13 PM

Adding Additional Field Information to Home Page Products
 
Hello,


I am looking to add some additional text from the extra fields on the home page (home.php) products.

Does anybody know which scripts/functions/queries are calling the product displays on the home page?


Is there any easy way to determine which functions are used on various pages? Is their a list somewhere?


Thanks
Steve

totaltec 02-13-2008 07:51 PM

Re: Adding Additional Field Information to Home Page Products
 
In order to help you I think you need to provide more info/specifics of what you are trying to accomplish. Are you wanting to change templates or code?
Of course you realize you can use webmaster mode's debugging console to determine what templates are being loaded on your home page. I don't know of a list of scripts - that sounds useful in theory but in essence the entire cart is a script and I would think impossible to document outside of the code itself......I would start at home.php, and look for all the included php files referenced from that page- if your issue can't be resolved with templates.
(Just responding because no one had)

sjrconsulting 02-14-2008 02:54 AM

Re: Adding Additional Field Information to Home Page Products
 
I am actually looking to modify both the templates and the scripts/functions. I already know how to modify the templates, and have already done so.

What I am trying to do is add an Extra Field Value on the home.php page. So I am looking for the function/SQL Query that calls the database to display the products. I want to modify the query and join the xcart_extra_field_value table to the query so that the extra field can be a part of the query and then I can modify the template with the Extra Field Value.


Thanks for your time.

Steve


All times are GMT -8. The time now is 10:23 AM.

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