انتقل إلى المحتوى الرئيسي

Section

Section Resource

KeyTypeDescription
idIntegerthe unique identifier for the section.
name_enStringthe title of the section in English.
name_arStringthe title of the section in Arabic.
show_titleIntegerA boolean value indicating whether the title of the section should be displayed if value 1.
imagesArrayAn array of string values representing URLs of multiple images associated with the section.
image_typeIntegerthe type of image of the section. Image Types
  • (1): No Image (Only Products)
  • (2): 1 Side Image + Products
  • (3): Multiple images: 1 large + 4 small
  • (4): A banner image
  • (5): 2 Images
  • (5): 3 Images
  • (5): 4 Images
  • (5): 5 images (3 Large Image + 2 Small Images)
  • (5): 6 Images
orderIntegerthe order in which the section should be displayed.
typeIntegerthe type of section. Section Types
  • (1): the type of section doesn't have products
  • (2): the type of section have products from a sub-category
  • (4): the type of section have products from a brand
  • (5): the type of section have products from a custom list
  • (6): the type of section have products from a category
  • (8): the type of section have products from a group
item_idIntegerThe ID of the item depends on the type of click action.
  • If the type is Product the item ID will be the ID of the product.
  • If the type is Subcategory the item ID will be the ID of the subcategory.
  • If the type is Brand the item ID will be the ID of the brand.
  • If the type is Custom List the item ID will be the ID of the custom list.
  • If the type is Category the item ID will be the ID of the category.
  • If the type is Link the item ID will be empty.
productsArrayAn array of objects representing the products associated with the section.

Section Image Resource

KeyTypeDescription
idStringA unique identifier for the section image.
image_enStringThe URL of the image in English language of the system.
image_arStringThe URL of the image in Arabic language.
linkStringThe URL that the image links to when clicked. In this example, the value is null, indicating that the image does not have a specific link associated with it.
link_enStringThe URL of the image link in English language.
section_idStringThe unique identifier of the section to which this image belongs.
image_web_arStringThe URL of the image specifically used for the web version of the site in Arabic. It represents the image to be displayed on larger screens or the web version of the website.
image_web_enStringThe URL of the image specifically used for the web version of the site in English language.
typeIntegerSection Image Type of Clicks: It define the click action when click on image. Slider Types
  • (0) None: The slider will not be clickable.
  • (1) Product: The slider will open a product details page.
  • (2) Subcategory: The slider will open a product list of subcategory or open subcategory page.
  • (4) Brand: The slider will open a product list of brand or open brand page.
  • (5) Custom list: The slider will open a product list of custom list.
  • (6) Category: The slider will open a product list of category or open category page.
  • (7) Link: The slider will open a link in the website or any external website link.
item_idStringThe unique identifier of the item related to the section image.
nameStringThe name or title of the section image.
sub_category_idStringThe unique identifier of the subcategory related to the section image.
product_idStringThe unique identifier of the product related to the section image.
category_idStringThe unique identifier of the category related to the section image.
custom_list_idStringThe unique identifier of the custom list to which the image belongs.