[json] sibling-link

Viewer

copydownloadembedprintName: sibling-link
  1. {
  2.         "key": "group_65138277831b0",
  3.         "title": "Sibling Link(s)",
  4.         "fields": [
  5.         {
  6.                 "key": "field_6513827843d48",
  7.                 "label": "Set Sibling Product",
  8.                 "name": "set_product_a_variants",
  9.                 "aria-label": "",
  10.                 "type": "repeater",
  11.                 "instructions": "",
  12.                 "required": 0,
  13.                 "conditional_logic": 0,
  14.                 "wrapper":
  15.                 {
  16.                         "width": "",
  17.                         "class": "",
  18.                         "id": ""
  19.                 },
  20.                 "layout": "block",
  21.                 "pagination": 0,
  22.                 "min": 0,
  23.                 "max": 2,
  24.                 "collapsed": "",
  25.                 "button_label": "Add Row",
  26.                 "rows_per_page": 20,
  27.                 "sub_fields": [
  28.                 {
  29.                         "key": "field_651382c443d49",
  30.                         "label": "Variants",
  31.                         "name": "variants",
  32.                         "aria-label": "",
  33.                         "type": "select",
  34.                         "instructions": "",
  35.                         "required": 0,
  36.                         "conditional_logic": 0,
  37.                         "wrapper":
  38.                         {
  39.                                 "width": "",
  40.                                 "class": "",
  41.                                 "id": ""
  42.                         },
  43.                         "choices":
  44.                         {
  45.                                 "pa_plating": "Plating",
  46.                                 "pa_stone": "Stone"
  47.                         },
  48.                         "default_value": false,
  49.                         "return_format": "array",
  50.                         "multiple": 0,
  51.                         "allow_null": 0,
  52.                         "ui": 0,
  53.                         "ajax": 0,
  54.                         "placeholder": "",
  55.                         "parent_repeater": "field_6513827843d48"
  56.                 },
  57.                 {
  58.                         "key": "field_65167ac3f5a71",
  59.                         "label": "Thumbnail",
  60.                         "name": "thumb_stone",
  61.                         "aria-label": "",
  62.                         "type": "taxonomy",
  63.                         "instructions": "",
  64.                         "required": 0,
  65.                         "conditional_logic": [
  66.                                 [
  67.                                 {
  68.                                         "field": "field_651382c443d49",
  69.                                         "operator": "==contains",
  70.                                         "value": "pa_stone"
  71.                                 }]
  72.                         ],
  73.                         "wrapper":
  74.                         {
  75.                                 "width": "100",
  76.                                 "class": "",
  77.                                 "id": ""
  78.                         },
  79.                         "taxonomy": "pa_stone",
  80.                         "add_term": 0,
  81.                         "save_terms": 0,
  82.                         "load_terms": 0,
  83.                         "return_format": "id",
  84.                         "field_type": "radio",
  85.                         "allow_null": 0,
  86.                         "bidirectional": 0,
  87.                         "multiple": 0,
  88.                         "bidirectional_target": [],
  89.                         "parent_repeater": "field_6513827843d48"
  90.                 },
  91.                 {
  92.                         "key": "field_651f71d39d0be",
  93.                         "label": "Thumbnail",
  94.                         "name": "thumb_plating",
  95.                         "aria-label": "",
  96.                         "type": "taxonomy",
  97.                         "instructions": "",
  98.                         "required": 0,
  99.                         "conditional_logic": [
  100.                                 [
  101.                                 {
  102.                                         "field": "field_651382c443d49",
  103.                                         "operator": "==contains",
  104.                                         "value": "pa_plating"
  105.                                 }]
  106.                         ],
  107.                         "wrapper":
  108.                         {
  109.                                 "width": "100",
  110.                                 "class": "",
  111.                                 "id": ""
  112.                         },
  113.                         "taxonomy": "pa_plating",
  114.                         "add_term": 0,
  115.                         "save_terms": 0,
  116.                         "load_terms": 0,
  117.                         "return_format": "id",
  118.                         "field_type": "radio",
  119.                         "allow_null": 0,
  120.                         "bidirectional": 0,
  121.                         "multiple": 0,
  122.                         "bidirectional_target": [],
  123.                         "parent_repeater": "field_6513827843d48"
  124.                 },
  125.                 {
  126.                         "key": "field_6513830043d4a",
  127.                         "label": "Link Product",
  128.                         "name": "products",
  129.                         "aria-label": "",
  130.                         "type": "relationship",
  131.                         "instructions": "",
  132.                         "required": 0,
  133.                         "conditional_logic": 0,
  134.                         "wrapper":
  135.                         {
  136.                                 "width": "",
  137.                                 "class": "",
  138.                                 "id": ""
  139.                         },
  140.                         "post_type": ["product"],
  141.                         "post_status": ["publish"],
  142.                         "taxonomy": "",
  143.                         "filters": ["search", "taxonomy"],
  144.                         "return_format": "id",
  145.                         "min": "",
  146.                         "max": 1,
  147.                         "elements": ["featured_image"],
  148.                         "bidirectional": 0,
  149.                         "bidirectional_target": [],
  150.                         "parent_repeater": "field_6513827843d48"
  151.                 }]
  152.         }],
  153.         "location": [
  154.                 [
  155.                 {
  156.                         "param": "post_type",
  157.                         "operator": "==",
  158.                         "value": "product"
  159.                 }]
  160.         ],
  161.         "menu_order": 20,
  162.         "position": "normal",
  163.         "style": "default",
  164.         "label_placement": "top",
  165.         "instruction_placement": "label",
  166.         "hide_on_screen": "",
  167.         "active": true,
  168.         "description": "",
  169.         "show_in_rest": 0
  170. }

Editor

You can edit this paste and save as new:


File Description
  • sibling-link
  • Paste Code
  • 07 May-2024
  • 3.37 Kb
You can Share it: