Using Attribute Tags in Site Templates

You can use Attribute tags for customizing HTML templates for use on your website. This lets you control the look and feel of your site. You decide where to display images and how to display information from NetSuite records on your website. Note that Web Site Tags are not supported in SuiteCommerce Advanced.

For more information about options for customizing your website with Attribute tags, see Customizing Site Themes and Item and Category Templates.

The code sample below is from an item/category template for the related items list.

          <TABLE border=0 cellspacing=0 cellpadding=0 width="100%">
   <TR>
      <TD class="txt11-grey" valign="top"><b><%=getCurrentAttribute('item', 'relatedItemsDescription')%></b></TD>
   </TR>
   <TR> 
      <TD class="lnk13b-blackOff" valign="top"><a href="<%=getCurrentAttribute('item','storeurl')%>" class='lnk13b-blackOff'; onMouseover="this.className='lnk13b-blackOn'; return true;" onMouseout="this.className='lnk13b-blackOff'; return true;"><%=getCurrentAttribute('item','storedisplayname2')%></a></TD>
   </TR>
   <TR>
      <TD class="txt11-grey" valign="top"><STRONG><%=getCurrentAttribute('item','stockstatusmessagehtml')%></STRONG></TD>
   </TR>
   <TR> 
      <TD class="txt11-grey" valign="top"><%=getCurrentAttribute('item','storedescription2')%></TD>
   </TR>
   <TR>
      <TD><IMG src="images/common/spacer.gif" width=1 height=5></TD>
      
   </TR>
   <TR><TD bgcolor="#CCCCCC"><IMG src="images/common/spacer.gif" width=1 height=1></TD>
   </TR>
   <TR><TD><IMG src="images/common/spacer.gif" width=1 height=5></TD></TR>
</TABLE> 

        

Related Topics

Using Web Site Tags in Hosted Files
Creating Attribute Tags for Custom Records and Custom Fields
Creating Attribute Tags for Standard Records
Creating Attribute Tags

General Notices