Page 1 of 1

Front Page Description

PostPosted: Wed Oct 15, 2008 11:20 am
by zedimus
Hi

Is there a way to limited the amount of the description that is shown on the front page that lists all the production in the auction.

I would like it be alot shorter and only show a few key words, then when you click it you will see the full description on products page.

Thanks
David

PostPosted: Thu Oct 16, 2008 1:18 pm
by zedimus
I am also trying to add a second product description to the main product page not the index page.

In my db i added product_description_01 to the product setting, This added the box to the add product page. and i can see the box and info on the admin index page.

I then added
Code: Select all
{if $record->val('product_description_01')}    
<div>
      {$product->htmlValue('product_description_01')} </div>
{/if}


to template/view_product.html

i cant see the second product box of info on the product page, IS there something that i am missing?

Thanks
David

PostPosted: Fri Oct 17, 2008 8:26 am
by shannah
Change
Code: Select all
{if $record->val('product_description_01')}   
<div>
      {$product->htmlValue('product_description_01')} </div>
{/if}

to

Code: Select all
{if $product->val('product_description_01')}   
<div>
      {$product->htmlValue('product_description_01')} </div>
{/if}


-Steve

PostPosted: Tue Oct 21, 2008 8:54 am
by zedimus
That didnt work for me I even tryed changing it to this

Code: Select all
{if $product->val('product_description_01')}   
<div>
   {$product->htmlValue('product_description_01')} </div>
{/if}


and that didnt work. Is there any other files i need to edit or add other then the Database and view_product.html ?

PostPosted: Tue Oct 21, 2008 10:09 am
by zedimus
I got this to work You code was correct, it was my custom theme that was blocking the new product info box from showing up.

Thanks
David