Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Additional Item Images
<%=getCurrentAttribute('item','storedisplayimagehtml')%>
When I add a custom image field and put it in an <img src="<%=getCurrentAttribute('item','custitemcustom_field_2nd_item_image')%>">
It works fine until an Item doesn't have a second image, then a broken image icon is displayed.
I am looking for a script or code for an "if" argument or an "else" type command. Seems this is being done in the code behind storedisplayimagehtml for the items main image, but I can't see the argument there.
0