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

Extra Fields, Search Results, Tabular Format etc

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-04-2005, 06:08 AM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default Extra Fields, Search Results, Tabular Format etc

There is some excellent advice and a mod for making extra fields appear in products.tpl at http://forum.x-cart.com/viewtopic.php?t=13217

Unfortunately the last question in the thread is unanswered, relating to forcing extra fields to appear in search results. Any suggestions from anyone on how I can make this work?

As a follow-on from this topic, I am trying to amend products.tpl to become a tabular listing along these lines:

Product Name1 | Extra Field | Price | Buy Now
Product Name2 | Extra Field | Price | Buy Now
Product Name3 | Extra Field | Price | Buy Now

My mods appeared to be working until I noticed that the changes were also affecting the Featured Products section, which I want to retain in it present multi-column non-tabular format. I must be doing something wrong and don't understand how products.tpl relates with other elements. Advice would be welcomed.

BTW I invested in the Express List mod which I thought would provide me with a solution http://www.cartmods.com/catalog/Express_Product_List_p_5.html but have been disappointed in its structure and lack of integration. The mod needs some serious mod-ing !! Anyone else had any experience of this add-on?

Thanks - I hope all this sort of links together and makes sense to be on one post!
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote
  #2  
Old 07-05-2005, 01:46 PM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default

Okay - I think I have this figured out now. Extra fields are appearing on search results and I am working on a copy of products.tpl to convert it to tabular format.

Calling this new template from PHP code.

Onward and upward!
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:47 AM.

   

 
X-Cart forums © 2001-2020