-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpayhip.yaml
More file actions
63 lines (52 loc) · 1.43 KB
/
payhip.yaml
File metadata and controls
63 lines (52 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Payhip
version: 1.0.0
description: Integrate Payhip with shortcodes and sell products on your Typemill page
author: Sebastian Schürmann
homepage: https://typemill.net
license: MAKER
forms:
fields:
explain:
type: paragraph
description: 'Use the shortcode in the visual editor or add it manually with [:payhip product="WKTrc" mode="button" text="Buy now" :]. Options for mode are "button", "link", "page".'
defaults:
type: fieldset
legend: "Defaults"
fields:
mode:
type: select
label: "Default Mode"
options:
link: "Link"
button: "Button"
page: "Embedded Page"
buttontext:
type: text
label: "Default Button Text"
placeholder: "Buy now"
style:
type: fieldset
legend: "Button Style"
fields:
button_bg:
type: color
label: "Background Color"
default: "#2563eb"
button_text:
type: color
label: "Text Color"
default: "#ffffff"
button_border:
type: color
label: "Border Color"
default: "#1e40af"
button_radius:
type: text
label: "Border Radius"
placeholder: "4px"
default: "4px"
button_padding:
type: text
label: "Padding"
placeholder: "0.6em 1.2em"
default: "0.6em 1.2em"