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

Short Descriptions Showing as Product Title

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-06-2009, 11:02 AM
  DOD467's Avatar 
DOD467 DOD467 is offline
 

Member
  
Join Date: Apr 2008
Posts: 16
 

Default Short Descriptions Showing as Product Title

Short description in the featured products showing as product title.

In the views/products/list_product_as_block.tmp:


<div id="product" class="module2 boxed_module">
<div class="image">
<a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured

{/if}">
<img src="{if !empty($product.tmbn_url)}{$product.tmbn_url}{else }/skin1/images/no_image_icon.png{/if}" width="101px"

alt="{$product.product}" title="{$product.product}"/>
</a>
</div>
<div class="details">
<div class="title">
<a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}

&featured{/if}">{$product.product}</a>
</div>
<div class="price">
<span class="label">Our Price</span>
<span class="list_price">${$products[product].price}</span>
<br />
</div>
<!--<div class="quantity">
Quantity
</div>-->
<div class="summary">
{$product.descr}
<a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}

&featured{/if}">[read more]</a>
</div>
</div>
</div>

Any Ideas? Thanks!
Reply With Quote
  #2  
Old 04-06-2009, 11:34 PM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: Short Descriptions Showing as Product Title

Quote:
Short description in the featured products showing as product title

Is this a problem you are having, or something you want to achieve?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 04-07-2009, 05:34 AM
  DOD467's Avatar 
DOD467 DOD467 is offline
 

Member
  
Join Date: Apr 2008
Posts: 16
 

Default Re: Short Descriptions Showing as Product Title

A problem I am having
Reply With Quote
  #4  
Old 04-07-2009, 07:08 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Re: Short Descriptions Showing as Product Title

This may help you decipher what code to use:

{$product.keywords} = search keywords
{$product.productcode} = SKU
{$product.product} = product name
{$product.fulldescr} = full description
{$product.descr} = short description

You may want to replace {$product.descr} with {$product.product}

Christine

Quote:
Originally Posted by peterjwiz
A problem I am having
__________________
______________
version 4.1.9 Gold
Reply With Quote
  #5  
Old 04-07-2009, 09:35 AM
  DOD467's Avatar 
DOD467 DOD467 is offline
 

Member
  
Join Date: Apr 2008
Posts: 16
 

Default Re: Short Descriptions Showing as Product Title

This is odd, when I put in {$product.fulldescr} it shows up fine, but when {$product.descr} just shows title.

Let me know if any other ideas,

THanks!
Reply With Quote
  #6  
Old 04-07-2009, 10:56 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Re: Short Descriptions Showing as Product Title

In your first post, the code used {$product.descr} is for short description. Are you wanting to use the product name field? have you tried {$product.product}? I'm not 100% sure what code is correct for products name... you can try {$products[product].product}.

Christine
__________________
______________
version 4.1.9 Gold
Reply With Quote
  #7  
Old 04-07-2009, 11:00 AM
  DOD467's Avatar 
DOD467 DOD467 is offline
 

Member
  
Join Date: Apr 2008
Posts: 16
 

Default Re: Short Descriptions Showing as Product Title

I understand it is for short description. When I put in {$product.product} the title shows up.

I do not want to show the product name where the short description is supposed to be.

I want a short description, But when I put in {$product.descr} it only shows the title, not the short description...
Reply With Quote
  #8  
Old 05-11-2009, 04:54 AM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default Re: Short Descriptions Showing as Product Title

HI,

How do we make Product Name to 30-50 Char or only 2 rows with end more...?

Thanks,
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
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:35 PM.

   

 
X-Cart forums © 2001-2020