View Single Post
  #1  
Old 12-17-2007, 12:45 AM
 
retrtrtrytrutru retrtrtrytrutru is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 101
 

Default Adding manufacturer and description to products_t.tpl

Hi everyone,

I have been working on this for several days now and tried everything I could find in this forum but no luck. What I'm trying to accomplish seems pretty simple to me but I am a complete noob when it comes to php and smarty so I need some help.

I am working on /customer/main/products_t.tpl

At the moment this file outputs product name, a thumbnail image and a more info link. I want to add more information and let my customers directly buy the products on this page so they don't have to first click more info and then order the product.

To sum up the things I want to accomplish:

1. To the product name I want to add the Manufacturer name. I have followed this page but it's not working, there is no name displayed whatever I do.
2. I want to include the product description that is now displayed on /customer/main/product.tpl. The smarty code for this should be either {$product.fulldescr} or {$product.descr} but of course if I just copy this to products_t.tpl it doesn't work (why would things ever be easy ).
3. Add the quantity box and add to cart option from product.tpl so the customer can directly buy the product, eliminating one extra step.

Can anyone help me out? Thanks a lot in advance!
__________________
www.qualitylamps.eu
X-Cart Gold 4.1.8, PHP 5.2.6, MySQL 5.0.51a, Apache 2.2.9

www.vervangjelamp.nl
X-Cart Gold 4.2.0, PHP 5.2.6, MySQL 5.0.37-standard, Apache/2

Sorry for the weird user name, I registered it by mistake
Reply With Quote