PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / coupon / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/coupon/block.json

203 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/coupon",
5 "title": "Coupon",
6 "category": "bkbg-marketing",
7 "icon": "tickets-alt",
8 "description": "Eye-catching promo/discount coupon card with copyable code, expiry countdown, and flexible styling.",
9 "keywords": [
10 "coupon",
11 "discount",
12 "promo",
13 "code",
14 "deal",
15 "offer",
16 "voucher"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-coupon-editor",
20 "editorStyle": "bkbg-coupon-style",
21 "style": "bkbg-coupon-style",
22 "viewScript": "bkbg-coupon-frontend",
23 "supports": {
24 "html": false,
25 "anchor": true,
26 "className": true,
27 "align": [
28 "wide",
29 "full"
30 ]
31 },
32 "attributes": {
33 "style": {
34 "type": "string",
35 "default": "classic"
36 },
37 "title": {
38 "type": "string",
39 "default": "Exclusive Offer"
40 },
41 "description": {
42 "type": "string",
43 "default": "Use this code at checkout and save on your order."
44 },
45 "discountType": {
46 "type": "string",
47 "default": "percent"
48 },
49 "discountValue": {
50 "type": "string",
51 "default": "40"
52 },
53 "code": {
54 "type": "string",
55 "default": "SAVE40"
56 },
57 "showCode": {
58 "type": "boolean",
59 "default": true
60 },
61 "codeLabel": {
62 "type": "string",
63 "default": "Coupon Code"
64 },
65 "copyLabel": {
66 "type": "string",
67 "default": "Copy"
68 },
69 "copiedLabel": {
70 "type": "string",
71 "default": "Copied!"
72 },
73 "showExpiry": {
74 "type": "boolean",
75 "default": true
76 },
77 "expiryDate": {
78 "type": "string",
79 "default": ""
80 },
81 "expiryLabel": {
82 "type": "string",
83 "default": "Offer expires:"
84 },
85 "showCountdown": {
86 "type": "boolean",
87 "default": true
88 },
89 "buttonText": {
90 "type": "string",
91 "default": "Claim Discount"
92 },
93 "buttonUrl": {
94 "type": "string",
95 "default": "#"
96 },
97 "buttonNewTab": {
98 "type": "boolean",
99 "default": false
100 },
101 "showButton": {
102 "type": "boolean",
103 "default": true
104 },
105 "note": {
106 "type": "string",
107 "default": "* Terms and conditions apply."
108 },
109 "showNote": {
110 "type": "boolean",
111 "default": true
112 },
113 "showBadge": {
114 "type": "boolean",
115 "default": true
116 },
117 "badgeShape": {
118 "type": "string",
119 "default": "circle"
120 },
121 "badgePosition": {
122 "type": "string",
123 "default": "top-right"
124 },
125 "borderRadius": {
126 "type": "number",
127 "default": 16
128 },
129 "stripSide": {
130 "type": "string",
131 "default": "left"
132 },
133 "accentColor": {
134 "type": "string",
135 "default": "#6c3fb5"
136 },
137 "bgColor": {
138 "type": "string",
139 "default": "#ffffff"
140 },
141 "textColor": {
142 "type": "string",
143 "default": "#1f2937"
144 },
145 "descColor": {
146 "type": "string",
147 "default": "#6b7280"
148 },
149 "badgeBg": {
150 "type": "string",
151 "default": "#6c3fb5"
152 },
153 "badgeColor": {
154 "type": "string",
155 "default": "#ffffff"
156 },
157 "codeBg": {
158 "type": "string",
159 "default": "#f5f0ff"
160 },
161 "codeColor": {
162 "type": "string",
163 "default": "#6c3fb5"
164 },
165 "btnBg": {
166 "type": "string",
167 "default": "#6c3fb5"
168 },
169 "btnColor": {
170 "type": "string",
171 "default": "#ffffff"
172 },
173 "maxWidth": {
174 "type": "number",
175 "default": 540
176 },
177 "titleFontSize": {
178 "type": "number",
179 "default": 22
180 },
181 "descFontSize": {
182 "type": "number",
183 "default": 15
184 },
185 "codeFontSize": {
186 "type": "number",
187 "default": 22
188 },
189 "btnFontSize": {
190 "type": "number",
191 "default": 16
192 },
193 "typoTitle": {
194 "type": "object",
195 "default": {}
196 },
197 "typoDesc": {
198 "type": "object",
199 "default": {}
200 }
201 }
202 }
203