@total_onion/onion-library 1.0.217 → 1.0.218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/block-sticky-buy-cta-v3/group_68b061bb56543.json +172 -0
- package/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3-extra.scss +6 -0
- package/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.js +7 -0
- package/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.php +14 -0
- package/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.scss +7 -0
- package/components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.twig +92 -0
- package/components/fields-buy-now-button/group_658432636bde2.json +340 -0
- package/package.json +1 -1
- package/components/component-sticky-buy-cta-v3/sticky-buy-cta-v3.twig +0 -71
- package/components/fields-sticky-buy-cta-v3/group_68a4564d89574.json +0 -737
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "group_68b061bb56543",
|
|
3
|
+
"title": "Block: Sticky Buy CTA V3",
|
|
4
|
+
"fields": [
|
|
5
|
+
{
|
|
6
|
+
"key": "field_68b061bdb9b22",
|
|
7
|
+
"label": "Content",
|
|
8
|
+
"name": "",
|
|
9
|
+
"aria-label": "",
|
|
10
|
+
"type": "tab",
|
|
11
|
+
"instructions": "",
|
|
12
|
+
"required": 0,
|
|
13
|
+
"conditional_logic": 0,
|
|
14
|
+
"wrapper": {
|
|
15
|
+
"width": "",
|
|
16
|
+
"class": "",
|
|
17
|
+
"id": ""
|
|
18
|
+
},
|
|
19
|
+
"wpml_cf_preferences": 3,
|
|
20
|
+
"placement": "top",
|
|
21
|
+
"endpoint": 0,
|
|
22
|
+
"no_preference": 0,
|
|
23
|
+
"selected": 0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "field_68b062247a845",
|
|
27
|
+
"label": "Enable buy button",
|
|
28
|
+
"name": "enable_buy_button",
|
|
29
|
+
"aria-label": "",
|
|
30
|
+
"type": "true_false",
|
|
31
|
+
"instructions": "",
|
|
32
|
+
"required": 0,
|
|
33
|
+
"conditional_logic": 0,
|
|
34
|
+
"wrapper": {
|
|
35
|
+
"width": "",
|
|
36
|
+
"class": "",
|
|
37
|
+
"id": ""
|
|
38
|
+
},
|
|
39
|
+
"wpml_cf_preferences": 3,
|
|
40
|
+
"message": "",
|
|
41
|
+
"default_value": 0,
|
|
42
|
+
"ui_on_text": "",
|
|
43
|
+
"ui_off_text": "",
|
|
44
|
+
"ui": 1,
|
|
45
|
+
"style": ""
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "field_68b067fe345d0",
|
|
49
|
+
"label": "",
|
|
50
|
+
"name": "",
|
|
51
|
+
"aria-label": "",
|
|
52
|
+
"type": "message",
|
|
53
|
+
"instructions": "",
|
|
54
|
+
"required": 0,
|
|
55
|
+
"conditional_logic": [
|
|
56
|
+
[
|
|
57
|
+
{
|
|
58
|
+
"field": "field_68b062247a845",
|
|
59
|
+
"operator": "==",
|
|
60
|
+
"value": "1"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
],
|
|
64
|
+
"wrapper": {
|
|
65
|
+
"width": "",
|
|
66
|
+
"class": "",
|
|
67
|
+
"id": ""
|
|
68
|
+
},
|
|
69
|
+
"wpml_cf_preferences": 2,
|
|
70
|
+
"message": "CTA style and text will be applied only to the ‘Click to Buy’ and \"Direct Link\"",
|
|
71
|
+
"new_lines": "wpautop",
|
|
72
|
+
"esc_html": 0
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"key": "field_68b065a58154f",
|
|
76
|
+
"label": "Cta style",
|
|
77
|
+
"name": "cta_style",
|
|
78
|
+
"aria-label": "",
|
|
79
|
+
"type": "select",
|
|
80
|
+
"instructions": "",
|
|
81
|
+
"required": 0,
|
|
82
|
+
"conditional_logic": [
|
|
83
|
+
[
|
|
84
|
+
{
|
|
85
|
+
"field": "field_68b062247a845",
|
|
86
|
+
"operator": "==",
|
|
87
|
+
"value": "1"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
],
|
|
91
|
+
"wrapper": {
|
|
92
|
+
"width": "",
|
|
93
|
+
"class": "",
|
|
94
|
+
"id": ""
|
|
95
|
+
},
|
|
96
|
+
"wpml_cf_preferences": 3,
|
|
97
|
+
"choices": {
|
|
98
|
+
"1": "White text",
|
|
99
|
+
"2": "test"
|
|
100
|
+
},
|
|
101
|
+
"default_value": false,
|
|
102
|
+
"return_format": "value",
|
|
103
|
+
"multiple": 0,
|
|
104
|
+
"max": "",
|
|
105
|
+
"allow_custom": 0,
|
|
106
|
+
"placeholder": "",
|
|
107
|
+
"search_placeholder": "",
|
|
108
|
+
"prepend": "",
|
|
109
|
+
"append": "",
|
|
110
|
+
"allow_null": 0,
|
|
111
|
+
"ui": 0,
|
|
112
|
+
"ajax": 0,
|
|
113
|
+
"min": ""
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "field_68b068dcfb4e4",
|
|
117
|
+
"label": "Cta text",
|
|
118
|
+
"name": "cta_text",
|
|
119
|
+
"aria-label": "",
|
|
120
|
+
"type": "text",
|
|
121
|
+
"instructions": "",
|
|
122
|
+
"required": 0,
|
|
123
|
+
"conditional_logic": [
|
|
124
|
+
[
|
|
125
|
+
{
|
|
126
|
+
"field": "field_68b062247a845",
|
|
127
|
+
"operator": "==",
|
|
128
|
+
"value": "1"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
],
|
|
132
|
+
"wrapper": {
|
|
133
|
+
"width": "",
|
|
134
|
+
"class": "",
|
|
135
|
+
"id": ""
|
|
136
|
+
},
|
|
137
|
+
"wpml_cf_preferences": 0,
|
|
138
|
+
"default_value": "",
|
|
139
|
+
"maxlength": "",
|
|
140
|
+
"placeholder": "",
|
|
141
|
+
"prepend": "",
|
|
142
|
+
"append": ""
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"location": [
|
|
146
|
+
[
|
|
147
|
+
{
|
|
148
|
+
"param": "block",
|
|
149
|
+
"operator": "==",
|
|
150
|
+
"value": "acf\/sticky-buy-cta-v3"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
],
|
|
154
|
+
"menu_order": 0,
|
|
155
|
+
"position": "normal",
|
|
156
|
+
"style": "default",
|
|
157
|
+
"label_placement": "left",
|
|
158
|
+
"instruction_placement": "label",
|
|
159
|
+
"hide_on_screen": "",
|
|
160
|
+
"active": true,
|
|
161
|
+
"description": "",
|
|
162
|
+
"show_in_rest": 0,
|
|
163
|
+
"acfe_autosync": [
|
|
164
|
+
"json"
|
|
165
|
+
],
|
|
166
|
+
"acfml_field_group_mode": "localization",
|
|
167
|
+
"acfe_form": 0,
|
|
168
|
+
"acfe_display_title": "",
|
|
169
|
+
"acfe_meta": "",
|
|
170
|
+
"acfe_note": "",
|
|
171
|
+
"modified": 1756391658
|
|
172
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
acf_register_block_type(
|
|
4
|
+
array(
|
|
5
|
+
'name' => 'sticky-buy-cta-v3',
|
|
6
|
+
'title' => __( 'Sticky buy cta v3', 'Global-theme Admin' ),
|
|
7
|
+
'render_callback' => 'athena_block_render_post_object',
|
|
8
|
+
'category' => 'common',
|
|
9
|
+
'icon' => get_svg_icon_content('brick.svg'),
|
|
10
|
+
'keywords' => array('content', 'text' ),
|
|
11
|
+
'mode' => 'preview',
|
|
12
|
+
'supports' => array( 'align' => false, 'anchor' => true ),
|
|
13
|
+
)
|
|
14
|
+
);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// @use 'Assets/scss/modules/library-modules/core-mixins-v3/core-mixins-v3';
|
|
2
|
+
// @use 'Assets/scss/modules/library-modules/core-functions-v3/core-functions-v3';
|
|
3
|
+
// @use 'Assets/scss/theme/breakpoints';
|
|
4
|
+
@use 'Assets/scss/blocks/sticky-buy-cta-v3/sticky-buy-cta-v3-extra';
|
|
5
|
+
.sticky-buy-cta-v3 {
|
|
6
|
+
@include sticky-buy-cta-v3-extra.additionalStyles();
|
|
7
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
|
|
2
|
+
{% set blockClassName = "sticky-buy-cta-v3" %}
|
|
3
|
+
{% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields: fields, block: block }, with_context = false) %}
|
|
4
|
+
{% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields: fields, block: block, blockClassName, blockClassName }, with_context = false) %}
|
|
5
|
+
{% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields: fields, block: block }, with_context = false) %}
|
|
6
|
+
{% set styleEntryPoint = include('entry-points/entry-point-style.twig', { fields: fields, block: block, is_preview }, with_context = false) %}
|
|
7
|
+
{% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
|
|
8
|
+
|
|
9
|
+
{% set postObject = current_post %}
|
|
10
|
+
|
|
11
|
+
{% set sectionStyles = styleEntryPoint %}
|
|
12
|
+
|
|
13
|
+
{{previewEntryPoint}}
|
|
14
|
+
<style>
|
|
15
|
+
.{{blockClassName}}.{{block.id}}{
|
|
16
|
+
{{sectionStyles}}
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
19
|
+
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} {{block.id}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
|
|
20
|
+
|
|
21
|
+
{% if fields.enable_buy_button %}
|
|
22
|
+
|
|
23
|
+
{% if fields.cta_style|ru matches '/^\\d+$/' %}
|
|
24
|
+
{% set ctaData = attribute(cta_styles['theme_cta_styles'], fields.cta_style|ru - 1) %}
|
|
25
|
+
{% set enableCtaAnimation = ctaData.cta_settings.enable_cta_animation %}
|
|
26
|
+
{% set enableCtaIcon = ctaData.cta_settings.include_cta_icon %}
|
|
27
|
+
{% set ctaAnimationStyle = ctaData.cta_settings.cta_animation_style %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
{% if postObject.meta.buy_now_option_select is defined and postObject.meta.buy_now_option_select|remove_underscore == 'ctb' %}
|
|
31
|
+
|
|
32
|
+
{% if current_post.id is defined and current_post.id is not empty %}
|
|
33
|
+
<div class="sticky-buy-cta-v3__cta-wrapper">
|
|
34
|
+
{% apply shortcodes %}
|
|
35
|
+
[clicktobuy class="sticky-buy-cta-v3__cta-button cmpl-cta-style-{{fields.cta_style}} cmpl-cta-animation-style-{{enableCtaAnimation ? ctaAnimationStyle : '1'}} has-shop shop-ctb" lang="{{ postObject.meta('click_to_buy_language') }}" variant="{{ postObject.meta('click_to_buy_pim_id') }}" country="{{ postObject.meta('click_to_buy_country') }}" customQueryString="{{ postObject.meta('click_to_buy_custom_query_string') }}"]
|
|
36
|
+
<span class="cmpl-cta-span">{{ fields.cta_text }}</span>
|
|
37
|
+
[/clicktobuy]
|
|
38
|
+
{% endapply %}
|
|
39
|
+
</div>
|
|
40
|
+
{% endif %}
|
|
41
|
+
|
|
42
|
+
{% elseif postObject.meta.buy_now_option_select is defined and postObject.meta.buy_now_option_select|remove_underscore == 'shopify' %}
|
|
43
|
+
|
|
44
|
+
{# <div class="sticky-buy-cta-v3__cta-wrapper">
|
|
45
|
+
{% if postObject.meta.buy_now_shopify.pim is defined %}
|
|
46
|
+
{% set label = (postObject.meta.cta_button_text is defined and postObject.meta.cta_button_text|remove_underscore == 'pre-order')
|
|
47
|
+
? __( 'Pre-Order', 'The Glenlivet Theme' )
|
|
48
|
+
: __( 'Add To Cart', 'The Glenlivet Theme' )
|
|
49
|
+
%}
|
|
50
|
+
|
|
51
|
+
<div class="buy-now-wrapper shopify-integration has-shop shop-shopify has-price" data-pim="{{ postObject.meta.buy_now_shopify.pim }}" data-label="{{ label }}"
|
|
52
|
+
{% if postObject.meta.buy_now_price is defined and postObject.meta.buy_now_price is not empty %}
|
|
53
|
+
data-price="{{ postObject.meta.buy_now_price }} {{ postObject.meta.currency }}"
|
|
54
|
+
{% endif %}>
|
|
55
|
+
</div>
|
|
56
|
+
{% endif %}
|
|
57
|
+
|
|
58
|
+
{% if postObject.meta.buy_now_shopify.engraved_bottle == true and postObject.meta.buy_now_shopify.engraved_pim is not empty %}
|
|
59
|
+
|
|
60
|
+
<div class="buy-now-wrapper shopify-integration has-shop shop-shopify has-price engraved" data-pim="{{ postObject.meta.buy_now_shopify__engraved_pim }}" data-engraved="{{true}}" data-label="{{ __( 'Buy Engraved', 'The Glenlivet Theme' ) }}"
|
|
61
|
+
{% if postObject.meta.buy_now_shopify.engraved_price is defined and postObject.meta.buy_now_shopify.engraved_price is not empty %}
|
|
62
|
+
data-price="{{ postObject.meta.buy_now_shopify.engraved_price }} {{ postObject.meta.currency }}"
|
|
63
|
+
{% endif %}>
|
|
64
|
+
</div>
|
|
65
|
+
{% endif %}
|
|
66
|
+
</div> #}
|
|
67
|
+
|
|
68
|
+
{% elseif postObject.meta.buy_now_option_select is defined and postObject.meta.buy_now_option_select|remove_underscore == 'link' %}
|
|
69
|
+
|
|
70
|
+
<div class="sticky-buy-cta-v3__cta-wrapper">
|
|
71
|
+
<a href="{{ postObject.meta('direct_link').url }}" class="sticky-buy-cta-v3__direct-link cmpl-cta-style-{{fields.cta_style}} cmpl-cta-animation-style-{{enableCtaAnimation ? ctaAnimationStyle : '1'}}"
|
|
72
|
+
target="{{ postObject.meta('direct_link').target }}">
|
|
73
|
+
<span class="cmpl-cta-span">{{ fields.cta_text }}</span>
|
|
74
|
+
</a>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
{% elseif gtp_language_code() == 'en-us' and postObject.meta.buy_now_option_select|remove_underscore == 'pr_usa_reservebar' %}
|
|
78
|
+
|
|
79
|
+
<div class="sticky-buy-cta-v3__rb-wrapper">
|
|
80
|
+
<h3 class="sticky-buy-cta-v3__rb-title">{{ __( 'Enter delivery address to check online availability', 'The Glenlivet Theme' ) }}</h3>
|
|
81
|
+
<div liquid-address-typeahead></div>
|
|
82
|
+
<div liquid-id="GROUPING-{{ postObject.meta('reserve_bar_liquid_grouping_id') }}">
|
|
83
|
+
<div class="sticky-buy-cta-v3__rb-fulfillment" liquid-fulfillment-method-selector></div>
|
|
84
|
+
<div class="sticky-buy-cta-v3__rb-button" liquid-atc onclick="liquidSDK.cart.toggle();"></div>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
{% endif %}
|
|
89
|
+
{% endif %}
|
|
90
|
+
|
|
91
|
+
{{htmlEntryPoint}}
|
|
92
|
+
</section>
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "group_658432636bde2",
|
|
3
|
+
"title": "Fields: Buy Now Button",
|
|
4
|
+
"fields": [
|
|
5
|
+
{
|
|
6
|
+
"key": "field_65cf83f73fe4c",
|
|
7
|
+
"label": "Buy now option select",
|
|
8
|
+
"name": "buy_now_option_select",
|
|
9
|
+
"aria-label": "",
|
|
10
|
+
"type": "select",
|
|
11
|
+
"instructions": "",
|
|
12
|
+
"required": 0,
|
|
13
|
+
"conditional_logic": 0,
|
|
14
|
+
"wrapper": {
|
|
15
|
+
"width": "",
|
|
16
|
+
"class": "",
|
|
17
|
+
"id": ""
|
|
18
|
+
},
|
|
19
|
+
"wpml_cf_preferences": 3,
|
|
20
|
+
"choices": {
|
|
21
|
+
"__none": "-- None --",
|
|
22
|
+
"__ctb": "Click To Buy",
|
|
23
|
+
"__ctb-pricespider": "PriceSpider",
|
|
24
|
+
"__wtb": "Where To Buy",
|
|
25
|
+
"__wtb-v2": "Where To Buy (v2)",
|
|
26
|
+
"__mikmak": "MikMak",
|
|
27
|
+
"__link": "Direct Link",
|
|
28
|
+
"__reservebar": "Reserve Bar"
|
|
29
|
+
},
|
|
30
|
+
"default_value": "__none",
|
|
31
|
+
"return_format": "value",
|
|
32
|
+
"multiple": 0,
|
|
33
|
+
"max": "",
|
|
34
|
+
"prepend": "",
|
|
35
|
+
"append": "",
|
|
36
|
+
"allow_null": 0,
|
|
37
|
+
"ui": 0,
|
|
38
|
+
"ajax": 0,
|
|
39
|
+
"placeholder": "",
|
|
40
|
+
"allow_custom": 0,
|
|
41
|
+
"search_placeholder": "",
|
|
42
|
+
"min": "",
|
|
43
|
+
"create_options": 0,
|
|
44
|
+
"save_options": 0
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"key": "field_658432643d8b1",
|
|
48
|
+
"label": "Click To Buy PIM ID",
|
|
49
|
+
"name": "click_to_buy_pim_id",
|
|
50
|
+
"aria-label": "",
|
|
51
|
+
"type": "text",
|
|
52
|
+
"instructions": "",
|
|
53
|
+
"required": 0,
|
|
54
|
+
"conditional_logic": 0,
|
|
55
|
+
"wrapper": {
|
|
56
|
+
"width": "",
|
|
57
|
+
"class": "",
|
|
58
|
+
"id": ""
|
|
59
|
+
},
|
|
60
|
+
"wpml_cf_preferences": 2,
|
|
61
|
+
"user_roles": [
|
|
62
|
+
"all"
|
|
63
|
+
],
|
|
64
|
+
"default_value": "",
|
|
65
|
+
"maxlength": "",
|
|
66
|
+
"placeholder": "",
|
|
67
|
+
"prepend": "",
|
|
68
|
+
"append": ""
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"key": "field_68b08f0327a00",
|
|
72
|
+
"label": "Click To Buy Country",
|
|
73
|
+
"name": "click_to_buy_country",
|
|
74
|
+
"aria-label": "",
|
|
75
|
+
"type": "text",
|
|
76
|
+
"instructions": "",
|
|
77
|
+
"required": 0,
|
|
78
|
+
"conditional_logic": 0,
|
|
79
|
+
"wrapper": {
|
|
80
|
+
"width": "",
|
|
81
|
+
"class": "",
|
|
82
|
+
"id": ""
|
|
83
|
+
},
|
|
84
|
+
"default_value": "",
|
|
85
|
+
"maxlength": "",
|
|
86
|
+
"allow_in_bindings": 1,
|
|
87
|
+
"placeholder": "",
|
|
88
|
+
"prepend": "",
|
|
89
|
+
"append": ""
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"key": "field_68b08f38fe3e0",
|
|
93
|
+
"label": "Click To Buy Language",
|
|
94
|
+
"name": "click_to_buy_language",
|
|
95
|
+
"aria-label": "",
|
|
96
|
+
"type": "select",
|
|
97
|
+
"instructions": "",
|
|
98
|
+
"required": 0,
|
|
99
|
+
"conditional_logic": 0,
|
|
100
|
+
"wrapper": {
|
|
101
|
+
"width": "",
|
|
102
|
+
"class": "",
|
|
103
|
+
"id": ""
|
|
104
|
+
},
|
|
105
|
+
"choices": {
|
|
106
|
+
"__ar": "Arabic",
|
|
107
|
+
"__hy-AM": "Armenian",
|
|
108
|
+
"__bg-BG": "Bulgarian",
|
|
109
|
+
"__zh-CN": "Chinese \/ Mandarin",
|
|
110
|
+
"__hr-HR": "Croatian",
|
|
111
|
+
"__cs-CZ": "Czech",
|
|
112
|
+
"__da-DK": "Danish",
|
|
113
|
+
"__nl-NL": "Dutch",
|
|
114
|
+
"__de-DE": "German",
|
|
115
|
+
"__el-GR": "Greek",
|
|
116
|
+
"__en-US": "English",
|
|
117
|
+
"__et-EE": "Estonian",
|
|
118
|
+
"__fi-FI": "Finnish",
|
|
119
|
+
"__fr-CA": "French - Canada",
|
|
120
|
+
"__fr-FR": "French - France",
|
|
121
|
+
"__he-IL": "Hebrew",
|
|
122
|
+
"__hu-HU": "Hungarian",
|
|
123
|
+
"__id-ID": "Indonesian",
|
|
124
|
+
"__it-IT": "Italian",
|
|
125
|
+
"__ja-JP": "Japanese",
|
|
126
|
+
"__ko-KR": "Korean",
|
|
127
|
+
"__lt-LT": "Lithuanian",
|
|
128
|
+
"__lv-LV": "Latvian",
|
|
129
|
+
"__nb-NO": "Norwegian",
|
|
130
|
+
"__pl-PL": "Polish",
|
|
131
|
+
"__pt-PT": "Portuguese",
|
|
132
|
+
"__ro-RO": "Romanian",
|
|
133
|
+
"__ru-RU": "Russian",
|
|
134
|
+
"__sk-SK": "Slovakian",
|
|
135
|
+
"__sl-SI": "Slovenian",
|
|
136
|
+
"__sr-RS": "Serbian",
|
|
137
|
+
"__es-ES": "Spanish",
|
|
138
|
+
"__sv-SE": "Swedish",
|
|
139
|
+
"__th-TH": "Thai",
|
|
140
|
+
"__tr-TR": "Turkish",
|
|
141
|
+
"__uk-UA": "Ukranian",
|
|
142
|
+
"__vi-VN": "Vietnamese"
|
|
143
|
+
},
|
|
144
|
+
"default_value": false,
|
|
145
|
+
"return_format": "value",
|
|
146
|
+
"multiple": 0,
|
|
147
|
+
"max": "",
|
|
148
|
+
"prepend": "",
|
|
149
|
+
"append": "",
|
|
150
|
+
"allow_null": 1,
|
|
151
|
+
"allow_in_bindings": 0,
|
|
152
|
+
"ui": 0,
|
|
153
|
+
"ajax": 0,
|
|
154
|
+
"placeholder": "",
|
|
155
|
+
"create_options": 0,
|
|
156
|
+
"save_options": 0,
|
|
157
|
+
"allow_custom": 0,
|
|
158
|
+
"search_placeholder": "",
|
|
159
|
+
"min": ""
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"key": "field_68b08f6bfe3e1",
|
|
163
|
+
"label": "Click To Buy Custom Query String",
|
|
164
|
+
"name": "click_to_buy_custom_query_string",
|
|
165
|
+
"aria-label": "",
|
|
166
|
+
"type": "text",
|
|
167
|
+
"instructions": "",
|
|
168
|
+
"required": 0,
|
|
169
|
+
"conditional_logic": 0,
|
|
170
|
+
"wrapper": {
|
|
171
|
+
"width": "",
|
|
172
|
+
"class": "",
|
|
173
|
+
"id": ""
|
|
174
|
+
},
|
|
175
|
+
"default_value": "",
|
|
176
|
+
"maxlength": "",
|
|
177
|
+
"allow_in_bindings": 1,
|
|
178
|
+
"placeholder": "",
|
|
179
|
+
"prepend": "",
|
|
180
|
+
"append": ""
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"key": "field_658432c9f2582",
|
|
184
|
+
"label": "Debrain PIM ID(Where to Buy)",
|
|
185
|
+
"name": "debrain_pim_id",
|
|
186
|
+
"aria-label": "",
|
|
187
|
+
"type": "text",
|
|
188
|
+
"instructions": "",
|
|
189
|
+
"required": 0,
|
|
190
|
+
"conditional_logic": 0,
|
|
191
|
+
"wrapper": {
|
|
192
|
+
"width": "",
|
|
193
|
+
"class": "",
|
|
194
|
+
"id": ""
|
|
195
|
+
},
|
|
196
|
+
"wpml_cf_preferences": 2,
|
|
197
|
+
"user_roles": [
|
|
198
|
+
"all"
|
|
199
|
+
],
|
|
200
|
+
"default_value": "",
|
|
201
|
+
"maxlength": "",
|
|
202
|
+
"placeholder": "",
|
|
203
|
+
"prepend": "",
|
|
204
|
+
"append": ""
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"key": "field_6659f0960e78a",
|
|
208
|
+
"label": "Debrain SKU ID(Where to Buy)",
|
|
209
|
+
"name": "debrain_sku_id",
|
|
210
|
+
"aria-label": "",
|
|
211
|
+
"type": "text",
|
|
212
|
+
"instructions": "",
|
|
213
|
+
"required": 0,
|
|
214
|
+
"conditional_logic": 0,
|
|
215
|
+
"wrapper": {
|
|
216
|
+
"width": "",
|
|
217
|
+
"class": "",
|
|
218
|
+
"id": ""
|
|
219
|
+
},
|
|
220
|
+
"wpml_cf_preferences": 2,
|
|
221
|
+
"default_value": "",
|
|
222
|
+
"maxlength": "",
|
|
223
|
+
"placeholder": "",
|
|
224
|
+
"prepend": "",
|
|
225
|
+
"append": ""
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"key": "field_6584354ff498c",
|
|
229
|
+
"label": "Direct Link",
|
|
230
|
+
"name": "direct_link",
|
|
231
|
+
"aria-label": "",
|
|
232
|
+
"type": "link",
|
|
233
|
+
"instructions": "",
|
|
234
|
+
"required": 0,
|
|
235
|
+
"conditional_logic": 0,
|
|
236
|
+
"wrapper": {
|
|
237
|
+
"width": "",
|
|
238
|
+
"class": "",
|
|
239
|
+
"id": ""
|
|
240
|
+
},
|
|
241
|
+
"wpml_cf_preferences": 3,
|
|
242
|
+
"user_roles": [
|
|
243
|
+
"all"
|
|
244
|
+
],
|
|
245
|
+
"return_format": "array"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"key": "field_6603dfc837fc7",
|
|
249
|
+
"label": "Reserve Bar Liquid Grouping ID",
|
|
250
|
+
"name": "reserve_bar_liquid_grouping_id",
|
|
251
|
+
"aria-label": "",
|
|
252
|
+
"type": "text",
|
|
253
|
+
"instructions": "",
|
|
254
|
+
"required": 0,
|
|
255
|
+
"conditional_logic": 0,
|
|
256
|
+
"wrapper": {
|
|
257
|
+
"width": "",
|
|
258
|
+
"class": "",
|
|
259
|
+
"id": ""
|
|
260
|
+
},
|
|
261
|
+
"wpml_cf_preferences": 2,
|
|
262
|
+
"user_roles": [
|
|
263
|
+
"all"
|
|
264
|
+
],
|
|
265
|
+
"default_value": "",
|
|
266
|
+
"maxlength": "",
|
|
267
|
+
"placeholder": "",
|
|
268
|
+
"prepend": "",
|
|
269
|
+
"append": ""
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"key": "field_6646a4784d41b",
|
|
273
|
+
"label": "Mikmak EAN IDs",
|
|
274
|
+
"name": "mikmak_ean_ids",
|
|
275
|
+
"aria-label": "",
|
|
276
|
+
"type": "text",
|
|
277
|
+
"instructions": "Comma separated text if there are more EAN for product. <u>Note:<\/u> Default will be the first EAN value.",
|
|
278
|
+
"required": 0,
|
|
279
|
+
"conditional_logic": 0,
|
|
280
|
+
"wrapper": {
|
|
281
|
+
"width": "",
|
|
282
|
+
"class": "",
|
|
283
|
+
"id": ""
|
|
284
|
+
},
|
|
285
|
+
"wpml_cf_preferences": 2,
|
|
286
|
+
"default_value": "",
|
|
287
|
+
"maxlength": "",
|
|
288
|
+
"placeholder": "",
|
|
289
|
+
"prepend": "",
|
|
290
|
+
"append": ""
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"key": "field_668c1296e6092",
|
|
294
|
+
"label": "PriceSpider SKU ID",
|
|
295
|
+
"name": "pricespider_sku_id",
|
|
296
|
+
"aria-label": "",
|
|
297
|
+
"type": "text",
|
|
298
|
+
"instructions": "",
|
|
299
|
+
"required": 0,
|
|
300
|
+
"conditional_logic": 0,
|
|
301
|
+
"wrapper": {
|
|
302
|
+
"width": "",
|
|
303
|
+
"class": "",
|
|
304
|
+
"id": ""
|
|
305
|
+
},
|
|
306
|
+
"wpml_cf_preferences": 2,
|
|
307
|
+
"default_value": "",
|
|
308
|
+
"maxlength": "",
|
|
309
|
+
"placeholder": "",
|
|
310
|
+
"prepend": "",
|
|
311
|
+
"append": ""
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"location": [
|
|
315
|
+
[
|
|
316
|
+
{
|
|
317
|
+
"param": "post_type",
|
|
318
|
+
"operator": "==",
|
|
319
|
+
"value": "product"
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
],
|
|
323
|
+
"menu_order": 0,
|
|
324
|
+
"position": "normal",
|
|
325
|
+
"style": "default",
|
|
326
|
+
"label_placement": "left",
|
|
327
|
+
"instruction_placement": "label",
|
|
328
|
+
"hide_on_screen": "",
|
|
329
|
+
"active": true,
|
|
330
|
+
"description": "",
|
|
331
|
+
"show_in_rest": 0,
|
|
332
|
+
"acfe_autosync": [
|
|
333
|
+
"json"
|
|
334
|
+
],
|
|
335
|
+
"acfe_form": 0,
|
|
336
|
+
"acfe_display_title": "",
|
|
337
|
+
"acfe_meta": "",
|
|
338
|
+
"acfe_note": "",
|
|
339
|
+
"modified": 1756401527
|
|
340
|
+
}
|