ProductDescriptionTabDTO Object

Overview

The REST API occasionally makes use of the ProductDescriptionTabDTO object when working with products.  This article will help you to know the various members of this object.

Requirements

The following pre-requisites will be necessary to accomplish the goals of this article:

  • General understanding of REST and API’s
  • Understanding of C# and/or JavaScript

Getting Started

There are no tasks needed to get started with understanding this object. 

ProductDescriptionTabDTO

The ProductDescriptionTabDTO object will contain all of the details of a single instance of an info tab or information tab for a product in your Hotcakes Commerce store.

Members

The following table gives you details on the various members of the ProductDescriptionTabDTO object.  The descriptions are based upon default functionality and the default Viewset included with Hotcakes.

Member Default Description
Bvin (empty string) The unique ID & primary key of the info tab.
HtmlData (empty string) This is the content of the info tab that is shown to customers.
SortOrder 0 Sorting is supported by giving each info tab a sequential number.
TabTitle (empty string) The localized title as you want a customer to see it.

 

Example of ProductDescriptionTabDTO

{
   "Tabs":[
         {
            "Bvin":"b217a21e-a744-4ff6-a0ad-8c8adf90d3b3",
            "TabTitle":"Videos",
            "HtmlData":"\u003cp\u003eHere is what some of our fans have to say.\u003c/p\u003e\u003ciframe width=\"640\" height=\"360\" src=\"//www.youtube.com/embed/jJeSkXPQr64?list=UU4nJrjQn81VRiT8PC9E9oZA\" frameborder=\"0\" allowfullscreen\u003e\u003c/iframe\u003e",
            "SortOrder":0
         },
         {
            "Bvin":"c7a56bb9-de12-4489-ae34-762894f947aa",
            "TabTitle":"Photos",
            "HtmlData":"\u003cp\u003eHere are some of our fans using the lunchbox.\u003c/p\u003e\u003ciframe src=\"//www.flickr.com/photos/39131389@N08/6321518895/lightbox/player/\" width=\"75\" height=\"75\" frameborder=\"0\" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen\u003e\u003c/iframe\u003e",
            "SortOrder":0
         }
}
Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.