golden hour
/home/godaofbq/dev.hyperredbed.com/wp-content/plugins/blocks-for-shopengine/blocks/product-stock
⬆️ Go Up
Upload
File/Folder
Size
Actions
controls.json
7.79 KB
Del
OK
index.js
201 B
Del
OK
screen.php
2.96 KB
Del
OK
style.js
2.2 KB
Del
OK
Edit: controls.json
{ "shopengine_pstock_stock_type_start": { "type": "PanelBody", "label": "Product Stock" }, "shopengine_pstock_stock_type": { "control": { "field": "SelectControl", "props": { "label": "Type", "options": [ { "label": "In Stock", "value": "in_stock" }, { "label": "Out Stock", "value": "out_of_stock" }, { "label": "Available on Backorder", "value": "available_on_backorder" } ] } }, "type": "object", "default": { "desktop": "in_stock" }, "ssr": true }, "shopengine_pstock_stock_type_notice": { "control": { "field": "Notice", "props": { "children": "Note: This is just a demonstration of how a different stock will look in the frontend.", "isDismissible": false } }, "type": "object" }, "shopengine_pstock_stock_type_divider": { "control": { "field": "__experimentalDivider" }, "type": "object" }, "shopengine_pstock_stock_type_align": { "control": { "field": "SelectControl", "props": { "label": "Alignment", "options": [ { "label": "Left", "value": "left" }, { "label": "Center", "value": "center" }, { "label": "Right", "value": "right" } ] } }, "responsive": true, "type": "object", "default": { "desktop": "left" } }, "shopengine_pstock_stock_type_typography_start": { "type": "PopoverControl", "label": "Typography" }, "shopengine_pstock_stock_type_font_family": { "control": { "field": "FontfamilyControl", "label": "Font Family" }, "type": "object" }, "shopengine_pstock_stock_type_font_size": { "control": { "field": "RangeControl", "props": { "label": "Font Size", "min": 0, "max": 100, "allowReset": true, "step": 1 } }, "responsive": true, "type": "object", "default": { "desktop": 14 } }, "shopengine_pstock_stock_type_font_weight": { "control": { "field": "SelectControl", "props": { "label": "Font Weight", "options": [ { "label": 100, "value": 100 }, { "label": 200, "value": 200 }, { "label": 300, "value": 300 }, { "label": 400, "value": 400 }, { "label": 500, "value": 500 }, { "label": 600, "value": 600 }, { "label": 700, "value": 700 }, { "label": 800, "value": 800 }, { "label": 900, "value": 900 }, { "label": "Bold", "value": "bold" }, { "label": "Normal", "value": "normal" } ] } }, "type": "object", "default": { "desktop": 500 } }, "shopengine_pstock_stock_type_font_transform": { "control": { "field": "SelectControl", "props": { "label": "Transform", "options": [ { "label": "Capitalize", "value": "capitalize" }, { "label": "Lowercase", "value": "lowercase" }, { "label": "Uppercase", "value": "uppercase" }, { "label": "None", "value": "none" } ] } }, "type": "object", "default": { "desktop": "capitalize" } }, "shopengine_pstock_stock_type_font_style": { "control": { "field": "SelectControl", "props": { "label": "Style", "options": [ { "label": "Normal", "value": "normal" }, { "label": "Italic", "value": "italic" }, { "label": "Oblique", "value": "oblique" }, { "label": "Default", "value": "default" } ] } }, "type": "object", "default": { "desktop": "normal" } }, "shopengine_pstock_stock_type_font_Line_height": { "control": { "field": "RangeControl", "props": { "label": "Line Height", "min": 0, "max": 100, "allowReset": true, "step": 1 } }, "responsive": true, "type": "object", "default": { "desktop": 17 } }, "shopengine_pstock_stock_type_font_letter_spacing": { "control": { "field": "RangeControl", "props": { "label": "Letter Spacing", "min": 0, "max": 100, "allowReset": true, "step": 1 } }, "type": "object", "default": { "desktop": "" } }, "shopengine_pstock_stock_type_font_word_spacing": { "control": { "field": "RangeControl", "props": { "label": "Word Spacing", "min": 0, "max": 100, "allowReset": true, "step": 1 } }, "responsive": true, "type": "object", "default": { "desktop": "" } }, "shopengine_pstock_stock_type_typography_end": { "type": "PopoverControl" }, "shopengine_pstock_stock_type_end": { "type": "PanelBody" }, "shopengine_pstock_stock_start": { "type": "PanelBody", "label": "In Stock" }, "shopengine_pstock_in_stock_icon": { "control": { "field": "IconControl", "label": "Icon" }, "type": "object", "default": { "desktop": "fas fa-check-circle" }, "ssr": true }, "shopengine_pstock_in_stock_icon_color": { "control": { "field": "ColorPalette", "label": "Color", "props": { "colors": [ { "name": "#169543", "color": "#169543" } ] } }, "type": "object", "default": { "desktop": "#169543" } }, "shopengine_pstock_stock_end": { "type": "PanelBody" }, "shopengine_pstock_out_stock_start": { "type": "PanelBody", "label": "Out Stock" }, "shopengine_pstock_out_of_stock_icon": { "control": { "field": "IconControl", "label": "Icon" }, "type": "object", "default": { "desktop": "fas fa-times-circle" }, "ssr": true }, "shopengine_pstock_out_of_stock_color": { "control": { "field": "ColorPalette", "label": "Color", "props": { "colors": [ { "name": "#D9534F", "color": "#D9534F" } ] } }, "type": "object", "default": { "desktop": "#D9534F" } }, "shopengine_pstock_out_stock_end": { "type": "PanelBody" }, "shopengine_pstock_available_stock_start": { "type": "PanelBody", "label": "Available on Backorder" }, "shopengine_pstock_available_on_backorder_icon": { "control": { "field": "IconControl", "label": "Icon" }, "type": "object", "default": { "desktop": "fas fa-shopping-cart" }, "ssr": true }, "shopengine_pstock_available_on_backorder_color": { "control": { "field": "ColorPalette", "label": "Color", "props": { "colors": [ { "name": "#EE9800", "color": "#EE9800" } ] } }, "type": "object", "default": { "desktop": "#EE9800" } }, "shopengine_pstock_available_stock_end": { "type": "PanelBody" } }
Save