PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / trunk
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More vtrunk
4.1.0 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / blocks / add-to-cart / block.json
superb-blocks / blocks / add-to-cart Last commit date
block.json 2 weeks ago index-rtl.css 2 weeks ago index.asset.php 2 weeks ago index.css 2 weeks ago index.js 2 weeks ago style-index-rtl.css 2 weeks ago style-index.css 2 weeks ago
block.json
88 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "superb-addons/add-to-cart",
5 "version": "0.1.0",
6 "title": "Superb Add to Cart",
7 "category": "superb-addons-blocks",
8 "icon": "cart",
9 "description": "Add to Cart or Buy Now button for WooCommerce products, with direct checkout and post-add popup trigger.",
10 "keywords": ["woocommerce", "cart", "buy", "checkout", "product", "add to cart"],
11 "usesContext": ["postId", "postType"],
12 "supports": {
13 "html": false,
14 "align": ["wide", "full"],
15 "color": {
16 "text": true,
17 "background": true,
18 "link": false,
19 "__experimentalSkipSerialization": true
20 },
21 "typography": {
22 "__experimentalSkipSerialization": true,
23 "fontSize": true,
24 "lineHeight": true,
25 "__experimentalFontFamily": true,
26 "__experimentalFontWeight": true,
27 "__experimentalFontStyle": true,
28 "__experimentalTextTransform": true,
29 "__experimentalTextDecoration": true,
30 "__experimentalLetterSpacing": true,
31 "__experimentalDefaultControls": {
32 "fontSize": true
33 }
34 },
35 "__experimentalBorder": {
36 "radius": true,
37 "color": true,
38 "width": true,
39 "style": true,
40 "__experimentalSkipSerialization": true,
41 "__experimentalDefaultControls": {
42 "radius": true
43 }
44 },
45 "spacing": {
46 "margin": true,
47 "padding": true,
48 "__experimentalSkipSerialization": true,
49 "__experimentalDefaultControls": {
50 "padding": true
51 }
52 },
53 "__experimentalSelector": ".wp-block-superb-addons-add-to-cart .wp-block-button__link"
54 },
55 "styles": [
56 {
57 "name": "fill",
58 "label": "Fill",
59 "isDefault": true
60 },
61 {
62 "name": "outline",
63 "label": "Outline"
64 }
65 ],
66 "attributes": {
67 "productId": { "type": "number", "default": 0 },
68 "productSource": { "type": "string", "default": "specific" },
69 "displayMode": { "type": "string", "default": "ajax" },
70 "buttonText": { "type": "string", "default": "" },
71 "quantity": { "type": "number", "default": 1 },
72 "quantitySelector": { "type": "string", "default": "off" },
73 "quantitySelectorPosition": { "type": "string", "default": "left" },
74 "quantityMin": { "type": "number", "default": 1 },
75 "quantityMax": { "type": "number", "default": 99 },
76 "lockedVariationId": { "type": "number", "default": 0 },
77 "coupon": { "type": "string", "default": "" },
78 "popupId": { "type": "string", "default": "" },
79 "blockId": { "type": "string", "default": "" },
80 "buttonAlign": { "type": "string" },
81 "isPreview": { "type": "boolean", "default": false }
82 },
83 "textdomain": "superb-blocks",
84 "editorScript": "file:./index.js",
85 "editorStyle": "file:./index.css",
86 "style": "file:./style-index.css"
87 }
88