Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding Additional Field Information to Home Page Products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-13-2008, 04:13 PM
 
sjrconsulting sjrconsulting is offline
 

Newbie
  
Join Date: Nov 2007
Posts: 9
 

Default 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
__________________
X-Cart Gold: 4.1.9
PHP: 5.2.4
MySQL: 4.1.20
Apache/2.0.52
Reply With Quote
  #2  
Old 02-13-2008, 07:51 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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)
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 02-14-2008, 02:54 AM
 
sjrconsulting sjrconsulting is offline
 

Newbie
  
Join Date: Nov 2007
Posts: 9
 

Default 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
__________________
X-Cart Gold: 4.1.9
PHP: 5.2.4
MySQL: 4.1.20
Apache/2.0.52
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:27 AM.

   

 
X-Cart forums © 2001-2020