| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Short Descriptions Showing as Product Title | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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! |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Short Descriptions Showing as Product Title
Quote:
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. |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Short Descriptions Showing as Product Title
A problem I am having
|
|||||||||
#4
|
|||||||
|
|||||||
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:
__________________
______________ version 4.1.9 Gold |
|||||||
#5
|
|||||||||
|
|||||||||
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! |
|||||||||
#6
|
|||||||
|
|||||||
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 |
|||||||
#7
|
|||||||||
|
|||||||||
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... |
|||||||||
#8
|
|||||||||
|
|||||||||
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, |
|||||||||
|
|||
X-Cart forums © 2001-2020
|