Site Attributes
You can create attribute tags for elements of the site that do not exist on NetSuite records, such as the URL for the home page. For example:
<%=getCurrentAttribute('site','homepageurl')%>
Site Properties |
Attribute |
Notes |
---|---|---|
Consent to accept website cookies |
cookieconsenthtml |
Displays a black banner at the top of your website with a link to read your website cookies policy. |
Copyright |
copyrighthtml |
Displays the copyright message with ©symbol, year, and store display name |
Display name of the store |
name |
Returns the display name from the Site Setup page. |
Home page URL |
homepageurl |
|
HTML to publish the entire page |
storepagehtml |
|
Logo alignment |
logoalignment |
Returns left, right or center alignment. |
Logo image |
logoimagehtml |
|
Logo image URL |
logoimageurl |
Returns the URL for use in an <img> tag. |
Logo image link |
logolinkurl |
|
Tab name currently being viewed |
currenttablabel |
|
Welcome page image |
welcomeimagehtml |
|
Welcome page image/flash URL |
welcomeimageurl |
Returns URL for use in an <img> tag. |
Related items list title |
relateditemsdescription |
Returns the contents in the Related Items field on the Upsell subtab of the website record (Commerce > Websites > Website List. |
Upsell items list title |
upsellitemsdescription |
Returns the contents in the Upsell field on the Upsell subtab of the website record (Commerce > Websites > Website List). |