Trying to get the product name into the text area of the description.
'$product.name' doesn't seen to work. Is there a tag for this?
Placing Product Name in description text
Re: Placing Product Name in description text
Try $product.Name or $Product.Name
Re: Placing Product Name in description text
Nope. I was really hoping this would work.
<p>$Product.Name</p> - right format?
<p>$Product.Name</p> - right format?
Re: Placing Product Name in description text
Try $Product.Name as well.
Re: Placing Product Name in description text
It's the first on the list, see image. I'll assume you don't mean to $Bold.This, right?
Is there a place to pull this from that needs to be referenced?
Is there a place to pull this from that needs to be referenced?
Re: Placing Product Name in description text
Where are you trying this code. It should work on product details page. Edit the Show Product 1 scriptlet and use it there. You will see use of $Product in that template.
Re: Placing Product Name in description text
Well, I've found all of the places were it places the name in the wrong place on the page.... The goal is to set the product's name into the description area of the product page.
I was hoping to do it on the product edit page (in html) so I'd be able to control the placement and font....
Show Product 1 scriptlet: Any ideas?
## NO CONTENTS IF PRODUCT IS NULL
#if($Product)
[[ConLib:CategoryBreadCrumbs HideLastNode="False"]]
<div class="pageHeader"><h1>$Product.Name</h1></div>
<table style="margin-bottom:8px">
<tr>
<td class="productimg">
[[ConLib:ProductImage ShowImage="Image"]]<br />
#if($Product.Images.Count > 0)
<a href="#" onclick="window.open('ProductImages.aspx?ProductId=$Product.ProductId', 'productImages', 'status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=yes,scrollbars=1,height=650,width=850')">
More Images
</a>
#end
</td>
<td valign="top" style="padding-left:20px">
#if ($Product.ManufacturerId != 0)
Other products by <a href="Search.aspx?m=$Product.ManufacturerId">$Product.Manufacturer.Name</a><br />
#end
#if($store.Settings.ProductReviewEnabled != "None")
#if($store.Settings.ProductReviewEnabled == "Registered")
#if($customer.IsAnonymous == false)
[[ConLib:ProductRatingImage]] <a href="#reviews">reviews</a>
#end
#end
#if($store.Settings.ProductReviewEnabled == "Anonymous")
#if($customer.IsAnonymous == true)
[[ConLib:ProductRatingImage]] <a href="#reviews">reviews</a>
#end
#end
#if($store.Settings.ProductReviewEnabled == "All")
[[ConLib:ProductRatingImage]] <a href="#reviews">reviews</a>
#end
#end
<hr />
[[ConLib:ProductDiscountsDialog]]
[[ConLib:BuyProductDialog]]
</td>
</tr>
</table>
<a name="desc"></a>
[[ConLib:Custom/ProductDescription ShowCustomFields="true"]]
#if($store.Settings.ProductReviewEnabled != "None")
<a name="reviews"></a>
<div class="section">
<div class="header"><h2>Reviews</h2></div>
<div class="content">[[ConLib:ProductReviewsPanel]]</div>
</div>
#end
[[ConLib:MoreCategoryItems Caption="More Items in $Category.Name" Orientation="Horizontal" MaxItems="4" DisplayMode="Sequential"]]
#end
I was hoping to do it on the product edit page (in html) so I'd be able to control the placement and font....
Show Product 1 scriptlet: Any ideas?
## NO CONTENTS IF PRODUCT IS NULL
#if($Product)
[[ConLib:CategoryBreadCrumbs HideLastNode="False"]]
<div class="pageHeader"><h1>$Product.Name</h1></div>
<table style="margin-bottom:8px">
<tr>
<td class="productimg">
[[ConLib:ProductImage ShowImage="Image"]]<br />
#if($Product.Images.Count > 0)
<a href="#" onclick="window.open('ProductImages.aspx?ProductId=$Product.ProductId', 'productImages', 'status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=yes,scrollbars=1,height=650,width=850')">
More Images
</a>
#end
</td>
<td valign="top" style="padding-left:20px">
#if ($Product.ManufacturerId != 0)
Other products by <a href="Search.aspx?m=$Product.ManufacturerId">$Product.Manufacturer.Name</a><br />
#end
#if($store.Settings.ProductReviewEnabled != "None")
#if($store.Settings.ProductReviewEnabled == "Registered")
#if($customer.IsAnonymous == false)
[[ConLib:ProductRatingImage]] <a href="#reviews">reviews</a>
#end
#end
#if($store.Settings.ProductReviewEnabled == "Anonymous")
#if($customer.IsAnonymous == true)
[[ConLib:ProductRatingImage]] <a href="#reviews">reviews</a>
#end
#end
#if($store.Settings.ProductReviewEnabled == "All")
[[ConLib:ProductRatingImage]] <a href="#reviews">reviews</a>
#end
#end
<hr />
[[ConLib:ProductDiscountsDialog]]
[[ConLib:BuyProductDialog]]
</td>
</tr>
</table>
<a name="desc"></a>
[[ConLib:Custom/ProductDescription ShowCustomFields="true"]]
#if($store.Settings.ProductReviewEnabled != "None")
<a name="reviews"></a>
<div class="section">
<div class="header"><h2>Reviews</h2></div>
<div class="content">[[ConLib:ProductReviewsPanel]]</div>
</div>
#end
[[ConLib:MoreCategoryItems Caption="More Items in $Category.Name" Orientation="Horizontal" MaxItems="4" DisplayMode="Sequential"]]
#end