PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.17
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.17
1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 1.3.51 1.3.50 1.3.49 1.3.48 All 180 releases
disco / backend / views / components / Main / utilities / bulk-bundle-table.js

bulk-bundle-table.js in Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO 1.4.17, at backend/views/components/Main/utilities/bulk-bundle-table.js

333 lines 7.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Bulk imports
2 import bulkTable1 from '../../../asset/img/badge-images/table/bulk/table1.svg';
3 import bulkTable2 from '../../../asset/img/badge-images/table/bulk/table2.svg';
4 import bulkTable3 from '../../../asset/img/badge-images/table/bulk/table3.svg';
5 import bulkTable4 from '../../../asset/img/badge-images/table/bulk/table4.svg';
6 import bulkTable5 from '../../../asset/img/badge-images/table/bulk/table5.svg';
7
8 // Bundle imports
9 import bundleTable1 from '../../../asset/img/badge-images/table/bundle/table1.svg';
10 import bundleTable2 from '../../../asset/img/badge-images/table/bundle/table2.svg';
11 import bundleTable3 from '../../../asset/img/badge-images/table/bundle/table3.svg';
12 import bundleTable4 from '../../../asset/img/badge-images/table/bundle/table4.svg';
13 import bundleTable5 from '../../../asset/img/badge-images/table/bundle/table5.svg';
14
15 // Export bulk table images
16 export const BulkTable = {
17 table1: bulkTable1,
18 table2: bulkTable2,
19 table3: bulkTable3,
20 table4: bulkTable4,
21 table5: bulkTable5,
22 };
23
24 // Export bundle table images
25 export const BundleTable = {
26 table1: bundleTable1,
27 table2: bundleTable2,
28 table3: bundleTable3,
29 table4: bundleTable4,
30 table5: bundleTable5,
31 };
32
33 // Export both together if needed
34 const bulkBundleTable = {
35 bulk: BulkTable,
36 bundle: BundleTable,
37 };
38
39 export default bulkBundleTable;
40
41 export const bulkBundleTableDesign = {
42 table1: {
43 heading: {
44 title: 'Title',
45 discount: 'Discount',
46 range: 'Ranges',
47 buy_now: 'Buy Now',
48 },
49
50 heading_customization: {
51 'font-family': '',
52 'font-size': '14px',
53 'font-weight': '400',
54 color: '#FFFFFF',
55 background: '#283142',
56 'border-color': '#F3F4F6',
57 height: '45px',
58 'border-right': '1px solid',
59 'border-bottom': '1px solid',
60 },
61
62 cell_customization: {
63 'font-family': '',
64 'font-size': '14px',
65 'font-weight': '400',
66 color: '#374151',
67 background: '#ffffff',
68 'border-color': '#e5e7eb',
69 height: '45px',
70 'border-right': '1px solid',
71 'border-bottom': '1px solid',
72 },
73
74 button: {
75 enable: true,
76 text: 'Buy Now',
77 'font-family': '',
78 'font-size': '14px',
79 'font-weight': '400',
80 color: '#ffffff',
81 background: '#07C889',
82 height: '35px',
83 border: '1px solid',
84 'border-color': '#ffffff',
85 'padding-top': '4px',
86 'padding-right': '8px',
87 'padding-bottom': '4px',
88 'padding-left': '8px',
89 isChain: false,
90 radius: {
91 'top-left': '6px',
92 'top-right': '6px',
93 'bottom-right': '6px',
94 'bottom-left': '6px',
95 },
96 },
97 },
98
99 // ------------------- TABLE 2 -------------------
100 table2: {
101 heading: {
102 title: 'Title',
103 discount: 'Discount',
104 range: 'Ranges',
105 buy_now: 'Buy Now',
106 },
107
108 heading_customization: {
109 'font-family': '',
110 'font-size': '14px',
111 'font-weight': 400,
112 color: '#ffffff',
113 background: '#FF595E',
114 'border-color': '#ffffff',
115 height: '45px',
116 'border-right': '1px solid',
117 'border-bottom': '1px solid',
118 },
119
120 cell_customization: {
121 'font-family': '',
122 'font-size': '14px',
123 'font-weight': 400,
124 color: '#374151',
125 background: '#ffffff',
126 'border-color': '#e5e7eb',
127 height: '45px',
128 'border-right': '1px solid',
129 'border-bottom': '1px solid',
130 },
131
132 button: {
133 enable: true,
134 text: 'Buy Now',
135 'font-family': '',
136 'font-size': '14px',
137 'font-weight': 400,
138 color: '#ffffff',
139 background: '#FF595E',
140 height: '35px',
141 border: '1px solid',
142 'border-color': '#ffffff',
143 'padding-top': '4px',
144 'padding-right': '8px',
145 'padding-bottom': '4px',
146 'padding-left': '8px',
147 isChain: false,
148 radius: {
149 'top-left': '16px',
150 'top-right': '16px',
151 'bottom-right': '16px',
152 'bottom-left': '16px',
153 },
154 },
155 },
156
157 // ------------------- TABLE 3 -------------------
158 table3: {
159 heading: {
160 title: 'Title',
161 discount: 'Discount',
162 range: 'Ranges',
163 buy_now: 'Buy Now',
164 },
165
166 heading_customization: {
167 'font-family': '',
168 'font-size': '14px',
169 'font-weight': 400,
170 color: '#7148EC',
171 background: '#F6F4FE',
172 'border-color': '#ffffff',
173 height: '45px',
174 'border-right': '1px solid',
175 'border-bottom': '1px solid',
176 },
177
178 cell_customization: {
179 'font-family': '',
180 'font-size': '14px',
181 'font-weight': 400,
182 color: '#374151',
183 background: '#ffffff',
184 'border-color': '#e5e7eb',
185 height: '45px',
186 'border-right': '1px solid',
187 'border-bottom': '1px solid',
188 },
189
190 button: {
191 enable: true,
192 text: 'Buy Now',
193 'font-family': '',
194 'font-size': '14px',
195 'font-weight': 400,
196 color: '#ffffff',
197 background: '#7148EC',
198 height: '35px',
199 border: '1px solid',
200 'border-color': '#ffffff',
201 'padding-top': '4px',
202 'padding-right': '8px',
203 'padding-bottom': '4px',
204 'padding-left': '8px',
205 isChain: false,
206 radius: {
207 'top-left': '6px',
208 'top-right': '0px',
209 'bottom-right': '6px',
210 'bottom-left': '0px',
211 },
212 },
213 },
214
215 // ------------------- TABLE 4 -------------------
216 table4: {
217 heading: {
218 title: 'Title',
219 discount: 'Discount',
220 range: 'Ranges',
221 buy_now: 'Buy Now',
222 },
223
224 heading_customization: {
225 'font-family': '',
226 'font-size': '14px',
227 'font-weight': 400,
228 color: '#229EBC',
229 background: '#F8FCFD',
230 'border-color': '#ffffff',
231 height: '45px',
232 'border-right': '1px solid',
233 'border-bottom': '1px solid',
234 },
235
236 cell_customization: {
237 'font-family': '',
238 'font-size': '14px',
239 'font-weight': 400,
240 color: '#374151',
241 background: '#ffffff',
242 'border-color': '#e5e7eb',
243 height: '45px',
244 'border-right': '1px solid',
245 'border-bottom': '1px solid',
246 },
247
248 button: {
249 enable: true,
250 text: 'Buy Now',
251 'font-family': '',
252 'font-size': '14px',
253 'font-weight': 400,
254 color: '#ffffff',
255 background: '#229EBC',
256 height: '35px',
257 border: '1px solid',
258 'border-color': '#ffffff',
259 'padding-top': '4px',
260 'padding-right': '8px',
261 'padding-bottom': '4px',
262 'padding-left': '8px',
263 isChain: false,
264 radius: {
265 'top-left': '0px',
266 'top-right': '0px',
267 'bottom-right': '0px',
268 'bottom-left': '0px',
269 },
270 },
271 },
272
273 // ------------------- TABLE 5 -------------------
274 table5: {
275 heading: {
276 title: 'Title',
277 discount: 'Discount',
278 range: 'Ranges',
279 buy_now: 'Buy Now',
280 },
281
282 heading_customization: {
283 'font-family': '',
284 'font-size': '14px',
285 'font-weight': 400,
286 color: '#ffffff',
287 background:
288 'linear-gradient(90deg, #F39177 0%, #F61F48 35.5%, #A758EE 69%, #86C5FE 100%)',
289 'border-color': '#ffffff',
290 height: '45px',
291 'border-right': '1px solid',
292 'border-bottom': '1px solid',
293 },
294
295 cell_customization: {
296 'font-family': '',
297 'font-size': '14px',
298 'font-weight': 400,
299 color: '#374151',
300 background: '#ffffff',
301 'border-color': '#e5e7eb',
302 height: '45px',
303 'border-right': '1px solid',
304 'border-bottom': '1px solid',
305 },
306
307 button: {
308 enable: true,
309 text: 'Buy Now',
310 'font-family': '',
311 'font-size': '14px',
312 'font-weight': 400,
313 color: '#ffffff',
314 background:
315 'linear-gradient(90deg, #F39177 0%, #F61F48 35.5%, #A758EE 69%, #86C5FE 100%)',
316 height: '35px',
317 border: '1px solid',
318 'border-color': '#ffffff',
319 'padding-top': '4px',
320 'padding-right': '8px',
321 'padding-bottom': '4px',
322 'padding-left': '8px',
323 isChain: false,
324 radius: {
325 'top-left': '6px',
326 'top-right': '6px',
327 'bottom-right': '6px',
328 'bottom-left': '6px',
329 },
330 },
331 },
332 };
333