Version Description
Add Error Fix 2. GUI upgrade.
Download this release
Release Info
Developer | Emark |
Plugin | WooCommerce Checkout Manager |
Version | 3.6.8 |
Comparing to | |
See all releases |
Code changes from version 3.6.7 to 3.6.8
- languages/woocommerce-checkout-manager-sr_RS.mo +0 -0
- languages/woocommerce-checkout-manager-sr_RS.po +264 -0
- readme.txt +80 -111
- script_wccs.js +29 -0
- style_wccs.css +53 -7
- woocommerce-checkout-manager.php +50 -60
languages/woocommerce-checkout-manager-sr_RS.mo
ADDED
Binary file
|
languages/woocommerce-checkout-manager-sr_RS.po
ADDED
@@ -0,0 +1,264 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: woocommerce-checkout-manager\n"
|
4 |
+
"POT-Creation-Date: 2013-09-21 15:01-0400\n"
|
5 |
+
"PO-Revision-Date: 2015-04-13 09:53+0100\n"
|
6 |
+
"Last-Translator: Sid <sidlo@tiscservice.com>\n"
|
7 |
+
"Language-Team: Sid <blueskysid@gmail.com>\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.7.4\n"
|
12 |
+
"X-Poedit-KeywordsList: _;__;_e;esc_attr_e\n"
|
13 |
+
"X-Poedit-Basepath: ../\n"
|
14 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
15 |
+
"Language: zh_TW\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
|
19 |
+
#: woocommerce-checkout-manager.php:41
|
20 |
+
msgid "Example Label"
|
21 |
+
msgstr "Oznaka primera"
|
22 |
+
|
23 |
+
#: woocommerce-checkout-manager.php:42
|
24 |
+
msgid "Example placeholder"
|
25 |
+
msgstr "Zamenski tekst primera"
|
26 |
+
|
27 |
+
#: woocommerce-checkout-manager.php:43
|
28 |
+
msgid "myfld1"
|
29 |
+
msgstr "moje polje 1"
|
30 |
+
|
31 |
+
#: woocommerce-checkout-manager.php:44
|
32 |
+
msgid "option 1"
|
33 |
+
msgstr "opcija 1"
|
34 |
+
|
35 |
+
#: woocommerce-checkout-manager.php:45
|
36 |
+
msgid "option 2"
|
37 |
+
msgstr "opcija 2"
|
38 |
+
|
39 |
+
#: woocommerce-checkout-manager.php:84 woocommerce-checkout-manager.php:134
|
40 |
+
msgid "WooCommerce Checkout Manager"
|
41 |
+
msgstr "WooCommerce Checkout Manager"
|
42 |
+
|
43 |
+
#: woocommerce-checkout-manager.php:99
|
44 |
+
msgid "You do not have sufficient permissions to access this page."
|
45 |
+
msgstr "Nemate odgovarajuće dozvole za pristup ovoj stranici."
|
46 |
+
|
47 |
+
#: woocommerce-checkout-manager.php:117
|
48 |
+
msgid "settings saved."
|
49 |
+
msgstr "Podešavanja sačuvana."
|
50 |
+
|
51 |
+
#: woocommerce-checkout-manager.php:142
|
52 |
+
msgid "Found this Plugin Useful? Why not Buy me a "
|
53 |
+
msgstr "Da li vam je ovaj plugin koristio? Zašto mi ne biste kupili"
|
54 |
+
|
55 |
+
#: woocommerce-checkout-manager.php:142
|
56 |
+
msgid "beer"
|
57 |
+
msgstr "pivo"
|
58 |
+
|
59 |
+
#: woocommerce-checkout-manager.php:142
|
60 |
+
msgid "to say thanks for the awesome coding."
|
61 |
+
msgstr "da biste mi zahvalili za odlično kodiranje."
|
62 |
+
|
63 |
+
#: woocommerce-checkout-manager.php:159 woocommerce-checkout-manager.php:357
|
64 |
+
msgid "Field Name"
|
65 |
+
msgstr "Naziv polja"
|
66 |
+
|
67 |
+
#: woocommerce-checkout-manager.php:160 woocommerce-checkout-manager.php:358
|
68 |
+
msgid "Remove Field Entirely"
|
69 |
+
msgstr "Potpuno ukloni polje"
|
70 |
+
|
71 |
+
#: woocommerce-checkout-manager.php:161 woocommerce-checkout-manager.php:359
|
72 |
+
msgid "Remove Required Attribute"
|
73 |
+
msgstr "Ukloni obavezni atribut"
|
74 |
+
|
75 |
+
#: woocommerce-checkout-manager.php:162 woocommerce-checkout-manager.php:360
|
76 |
+
msgid "Replace Label Name"
|
77 |
+
msgstr "Zameni naziv oznake"
|
78 |
+
|
79 |
+
#: woocommerce-checkout-manager.php:163 woocommerce-checkout-manager.php:361
|
80 |
+
msgid "Replace Placeholder Name"
|
81 |
+
msgstr "Zameni naziv zamenskog teksta"
|
82 |
+
|
83 |
+
#: woocommerce-checkout-manager.php:171 woocommerce-checkout-manager.php:369
|
84 |
+
msgid "Select All Check boxes in this Column"
|
85 |
+
msgstr "Odaberi sva polja za štikliranje u ovoj koloni"
|
86 |
+
|
87 |
+
#: woocommerce-checkout-manager.php:182 woocommerce-checkout-manager.php:381
|
88 |
+
msgid "First Name"
|
89 |
+
msgstr "Ime"
|
90 |
+
|
91 |
+
#: woocommerce-checkout-manager.php:199 woocommerce-checkout-manager.php:398
|
92 |
+
msgid "Last Name"
|
93 |
+
msgstr "Prezime"
|
94 |
+
|
95 |
+
#: woocommerce-checkout-manager.php:214 woocommerce-checkout-manager.php:429
|
96 |
+
msgid "Country"
|
97 |
+
msgstr "Država"
|
98 |
+
|
99 |
+
#: woocommerce-checkout-manager.php:227
|
100 |
+
msgid "Phone"
|
101 |
+
msgstr "Telefon"
|
102 |
+
|
103 |
+
#: woocommerce-checkout-manager.php:242
|
104 |
+
msgid "Email"
|
105 |
+
msgstr "Mail"
|
106 |
+
|
107 |
+
#: woocommerce-checkout-manager.php:258 woocommerce-checkout-manager.php:413
|
108 |
+
msgid "Company"
|
109 |
+
msgstr "Kompanija"
|
110 |
+
|
111 |
+
#: woocommerce-checkout-manager.php:275
|
112 |
+
msgid "Order Comments"
|
113 |
+
msgstr "Komentari porudžbine"
|
114 |
+
|
115 |
+
#: woocommerce-checkout-manager.php:291 woocommerce-checkout-manager.php:444
|
116 |
+
msgid "Address 1"
|
117 |
+
msgstr "Adresa 1"
|
118 |
+
|
119 |
+
#: woocommerce-checkout-manager.php:302 woocommerce-checkout-manager.php:456
|
120 |
+
msgid "Address 2"
|
121 |
+
msgstr "Adresa 2"
|
122 |
+
|
123 |
+
#: woocommerce-checkout-manager.php:313 woocommerce-checkout-manager.php:468
|
124 |
+
msgid "City"
|
125 |
+
msgstr "Grad"
|
126 |
+
|
127 |
+
#: woocommerce-checkout-manager.php:324 woocommerce-checkout-manager.php:480
|
128 |
+
msgid "Postal Code"
|
129 |
+
msgstr "Poštanski broj"
|
130 |
+
|
131 |
+
#: woocommerce-checkout-manager.php:337 woocommerce-checkout-manager.php:493
|
132 |
+
msgid "State"
|
133 |
+
msgstr "Država"
|
134 |
+
|
135 |
+
#: woocommerce-checkout-manager.php:346
|
136 |
+
msgid "Save Changes"
|
137 |
+
msgstr "Sačuvaj izmene"
|
138 |
+
|
139 |
+
#: woocommerce-checkout-manager.php:348
|
140 |
+
msgid "Billing Section"
|
141 |
+
msgstr "Odeljak za fakturisanje"
|
142 |
+
|
143 |
+
#: woocommerce-checkout-manager.php:503
|
144 |
+
msgid "Shipping Section"
|
145 |
+
msgstr "Odeljak za isporuku"
|
146 |
+
|
147 |
+
#: woocommerce-checkout-manager.php:507
|
148 |
+
msgid "PRO VERSION"
|
149 |
+
msgstr "PRO verzija"
|
150 |
+
|
151 |
+
#: woocommerce-checkout-manager.php:507
|
152 |
+
msgid ""
|
153 |
+
"- now includes text/ html swapper (change billing address text ++), checkbox "
|
154 |
+
"(input own two options), select up to ten(10) more options and more!"
|
155 |
+
msgstr ""
|
156 |
+
"sada obuhvata program za izmenu teksta/ html-a (menja tekst adrese "
|
157 |
+
"fakturisanja ++), polje za štikliranje (dve opcije za unos), odabir do "
|
158 |
+
"naknadnih deset (10) opcija i još mnogo toga! "
|
159 |
+
|
160 |
+
#: woocommerce-checkout-manager.php:511
|
161 |
+
msgid "Add New Field Section"
|
162 |
+
msgstr "Dodaj odeljak za novo polje"
|
163 |
+
|
164 |
+
#: woocommerce-checkout-manager.php:518
|
165 |
+
msgid "Enable Title - Additional information"
|
166 |
+
msgstr "Aktiviraj naziv - Dodatne informacije"
|
167 |
+
|
168 |
+
#: woocommerce-checkout-manager.php:522
|
169 |
+
msgid "Checkout Page"
|
170 |
+
msgstr "Pogledajte stranicu"
|
171 |
+
|
172 |
+
#: woocommerce-checkout-manager.php:527
|
173 |
+
msgid "Checkout Details and Email Receipt"
|
174 |
+
msgstr "Pogledajte detalje i pošaljite račun na mail"
|
175 |
+
|
176 |
+
#: woocommerce-checkout-manager.php:590 woocommerce-checkout-manager.php:619
|
177 |
+
#: woocommerce-checkout-manager.php:666
|
178 |
+
msgid "Change order"
|
179 |
+
msgstr "Izmeni porudžbinu"
|
180 |
+
|
181 |
+
#: woocommerce-checkout-manager.php:591
|
182 |
+
msgid "Label"
|
183 |
+
msgstr "Oznaka"
|
184 |
+
|
185 |
+
#: woocommerce-checkout-manager.php:592
|
186 |
+
msgid "Placeholder"
|
187 |
+
msgstr "Zamenski tekst"
|
188 |
+
|
189 |
+
#: woocommerce-checkout-manager.php:593
|
190 |
+
msgid "Option A"
|
191 |
+
msgstr "Opcija A "
|
192 |
+
|
193 |
+
#: woocommerce-checkout-manager.php:594
|
194 |
+
msgid "Options B"
|
195 |
+
msgstr "Opcija B"
|
196 |
+
|
197 |
+
#: woocommerce-checkout-manager.php:595
|
198 |
+
msgid "Choose Type"
|
199 |
+
msgstr "Izaberi vrstu"
|
200 |
+
|
201 |
+
#: woocommerce-checkout-manager.php:596
|
202 |
+
msgid "Abbreviation"
|
203 |
+
msgstr "Skraćenica"
|
204 |
+
|
205 |
+
#: woocommerce-checkout-manager.php:597
|
206 |
+
msgid "Required Attribute"
|
207 |
+
msgstr "Obavezni atribut"
|
208 |
+
|
209 |
+
#: woocommerce-checkout-manager.php:598
|
210 |
+
msgid "Remove button"
|
211 |
+
msgstr "Ukloni taster"
|
212 |
+
|
213 |
+
#: woocommerce-checkout-manager.php:656 woocommerce-checkout-manager.php:698
|
214 |
+
msgid "Remove Field"
|
215 |
+
msgstr "Ukloni polje"
|
216 |
+
|
217 |
+
#: woocommerce-checkout-manager.php:670
|
218 |
+
msgid "Label of the New Field"
|
219 |
+
msgstr "Oznaka za novo polje"
|
220 |
+
|
221 |
+
#: woocommerce-checkout-manager.php:673
|
222 |
+
msgid "Placeholder - Preview of Data to Input"
|
223 |
+
msgstr "Zamenski tekst - Pregledaj podatke za unos"
|
224 |
+
|
225 |
+
#: woocommerce-checkout-manager.php:676
|
226 |
+
msgid "Insert Option A"
|
227 |
+
msgstr "Ubaci opciju A"
|
228 |
+
|
229 |
+
#: woocommerce-checkout-manager.php:679
|
230 |
+
msgid "Insert Option B"
|
231 |
+
msgstr "Ubaci opciju B"
|
232 |
+
|
233 |
+
#: woocommerce-checkout-manager.php:692
|
234 |
+
msgid "Abbreviation (No spaces)"
|
235 |
+
msgstr "Skraćenica (Bez razmaka)"
|
236 |
+
|
237 |
+
#: woocommerce-checkout-manager.php:695
|
238 |
+
msgid "Add/Remove Required Attribute"
|
239 |
+
msgstr "Dodaj/Ukloni obavezni atribut"
|
240 |
+
|
241 |
+
#: woocommerce-checkout-manager.php:706
|
242 |
+
msgid "+ Add New Field"
|
243 |
+
msgstr "Dodaj novo polje"
|
244 |
+
|
245 |
+
#: woocommerce-checkout-manager.php:719
|
246 |
+
msgid "Settings"
|
247 |
+
msgstr "Podešavanja"
|
248 |
+
|
249 |
+
#: woocommerce-checkout-manager.php:720
|
250 |
+
msgid "Support"
|
251 |
+
msgstr "Podrška"
|
252 |
+
|
253 |
+
#: woocommerce-checkout-manager.php:1017 woocommerce-checkout-manager.php:1160
|
254 |
+
#: woocommerce-checkout-manager.php:1220
|
255 |
+
msgid "Additional information"
|
256 |
+
msgstr "Dodatne informacije"
|
257 |
+
|
258 |
+
#: woocommerce-checkout-manager.php:1060
|
259 |
+
msgid "Select below"
|
260 |
+
msgstr "Odaberi ispod"
|
261 |
+
|
262 |
+
#: woocommerce-checkout-manager.php:1179
|
263 |
+
msgid "is a required field"
|
264 |
+
msgstr "je obavezno polje"
|
readme.txt
CHANGED
@@ -1,129 +1,80 @@
|
|
1 |
=== WooCommerce Checkout Manager ===
|
2 |
Contributors: Emark
|
3 |
-
Donate
|
4 |
-
Tags: woocommerce, checkout
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 3.6.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Manages WooCommerce Checkout
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
This
|
15 |
|
16 |
= FEATURES =
|
17 |
-
|
18 |
-
*
|
19 |
-
|
20 |
-
*
|
21 |
-
|
22 |
-
*
|
23 |
-
|
24 |
-
* Make checkout fields completely optional for the customer to fill out.
|
25 |
-
|
26 |
-
* Enable/ Disable "Additional information" name on the Order Summary and Receipt.
|
27 |
-
|
28 |
-
* Four ( 4 ) fields types included: Text Input + Check Box + Select Options + Date Picker
|
29 |
-
|
30 |
-
* Added fields will appear on Order Summary and Receipt under “Additional information.”
|
31 |
-
|
32 |
* Compatible with [WPML](http://wpml.org/) | [WooCommerce Print Invoice & Delivery Note](http://wordpress.org/plugins/woocommerce-delivery-notes/) | [ WooCommerce Order/Customer CSV Export](http://www.woothemes.com/products/ordercustomer-csv-export/)
|
33 |
|
34 |
= PRO VERSION =
|
35 |
[WooCommerce Checkout Manager Pro](http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/) offers these cool nifty extra features:
|
36 |
|
|
|
|
|
|
|
|
|
37 |
* Add new fields to the **Billing** and **Shipping** Section **separately** from Additional Section.
|
38 |
* These fields can be edited on your customers **account** page.
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
3. Password
|
44 |
-
4. Radio Button (Unlimited Options)
|
45 |
-
5. Select Options (Unlimited Options)
|
46 |
-
6. Check Box (Put your own options)
|
47 |
-
7. Date Picker
|
48 |
-
8. Time Picker
|
49 |
-
9. Text/ Html Swapper
|
50 |
-
10. Color Picker
|
51 |
-
11. Heading
|
52 |
-
12. Multi-Select
|
53 |
-
13. Multi-Checkbox
|
54 |
-
|
55 |
-
= More Features =
|
56 |
-
* Create Conditional Fields which includes
|
57 |
-
* to allow customer to Remove Tax (Tax Exempt),
|
58 |
-
* to allow customer to Add Amount on checkout (Pre-defined by admin or Customer Can Enter Any Amount).
|
59 |
-
|
60 |
* Replace Text using Text/ Html Swapper.
|
61 |
-
|
62 |
-
* Allow Customers to Upload files for each order.
|
63 |
-
|
64 |
* Show or Hide added field for Specific Product or Category Only.
|
65 |
-
|
66 |
-
* Display Payment Method and Shipping Method used by customer.
|
67 |
-
|
68 |
* Disable any added field from Checkout details page and Order Receipt.
|
69 |
-
|
70 |
-
* Retain fields information for customers when they navigate back and forth from checkout.
|
71 |
-
|
72 |
* Disable Billing Address fields for chosen shipping goods. Which makes them visible only for virtual goods.
|
73 |
-
|
74 |
-
*
|
75 |
-
|
76 |
-
*
|
77 |
-
|
78 |
-
* Area to insert your own Custom CSS.
|
79 |
-
|
80 |
-
* Display Order Time.
|
81 |
-
|
82 |
* Set Default State for checkout.
|
83 |
-
|
84 |
-
* Import/ Export added fields data.
|
85 |
-
|
86 |
* Fields label can accept html characters.
|
|
|
|
|
87 |
|
88 |
-
* Disable/ Change Additional information Title
|
89 |
-
|
90 |
-
|
91 |
-
= Added fields will appear on =
|
92 |
-
1. Order Summary
|
93 |
-
2. Receipt
|
94 |
-
3. Order Details (back-end)
|
95 |
|
96 |
-
=
|
97 |
-
1. Before Shipping Form
|
98 |
-
2. After Shipping Form
|
99 |
-
3. Before Billing Form
|
100 |
-
4. After Billing Form
|
101 |
-
5. After Order Notes
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
= INCLUDED TRANSLATIONS =
|
109 |
-
|
110 |
-
* SPANISH
|
111 |
-
* GERMAN
|
112 |
-
* ITALIAN
|
113 |
* DUTCH
|
|
|
114 |
* FINNISH
|
115 |
* FRENCH
|
|
|
|
|
116 |
* NORWEGIAN
|
117 |
* POLISH
|
|
|
|
|
118 |
* VIETNAMSE
|
119 |
-
* EUROPEAN PORTUGUESE
|
120 |
-
* BRAZILIAN PORTUGUESE
|
121 |
-
* BULGARIAN by Ivo Minchev
|
122 |
-
* CHINESE by Sid Lo
|
123 |
|
124 |
|
125 |
-
Would you like this plugin translated in your own language?
|
126 |
-
|
|
|
|
|
127 |
|
128 |
|
129 |
= ------------ THANK YOU FOR DOWNLOADING ------------ =
|
@@ -132,38 +83,52 @@ You can put in an request at <a href="http://www.trottyzone.com/contact-us/">Con
|
|
132 |
|
133 |
== Installation ==
|
134 |
|
|
|
|
|
|
|
|
|
|
|
135 |
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
2.
|
|
|
|
|
140 |
|
141 |
-
|
142 |
-
4. Look for it in the Listing and click the 'activate' button to activate it
|
143 |
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
Second Method:
|
148 |
-
|
149 |
-
1. Go to control panel > Plugins > Installed Plugins > Upload
|
150 |
-
|
151 |
-
2. Select .zip File, upload and install
|
152 |
-
|
153 |
-
3. Thats it! :)
|
154 |
|
|
|
|
|
155 |
|
156 |
|
157 |
== Frequently Asked Questions ==
|
158 |
|
159 |
-
|
|
|
160 |
|
161 |
-
|
|
|
|
|
|
|
162 |
|
|
|
|
|
|
|
163 |
|
|
|
|
|
|
|
|
|
164 |
|
165 |
-
|
|
|
166 |
|
|
|
|
|
167 |
|
168 |
|
169 |
== Screenshots ==
|
@@ -310,4 +275,8 @@ Multi-lang Save issue fix.
|
|
310 |
= 3.6.7 =
|
311 |
Add Error Fix.
|
312 |
Add WooCommerce Order/Customer CSV Export support
|
313 |
-
Able to Change additional information header
|
|
|
|
|
|
|
|
1 |
=== WooCommerce Checkout Manager ===
|
2 |
Contributors: Emark
|
3 |
+
Donate Link: http://www.trottyzone.com/donation/
|
4 |
+
Tags: woocommerce, cart, checkout, field, shipping, billing, order, manage, manager, require, remove, change, editor, edit, sort, multi, checkbox, select, radio, textarea, text, html, swapper, conditional, tags, retain, information, country, state, exempt, pro, important, custom, options, payment, sell, buy, pay, tax, notice, re-order, addition, amount, exempt, sale, affiliate, replace, date, picker, time, password, sales, boost, file, upload, picture, branch, unset, form, solution, commerce, e-commerce, store, shop, stock, variable, trottyzone, wordpress, woothemes
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.4
|
7 |
+
Stable tag: 3.6.8
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Manages WooCommerce Checkout
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
This extension plugin gives you capabilities to manage your fields on your [WooCommerce](http://wordpress.org/plugins/woocommerce/) checkout page.
|
15 |
|
16 |
= FEATURES =
|
17 |
+
* Add new fields to the checkout page and re-order them.
|
18 |
+
* Make checkout fields optional.
|
19 |
+
* Remove & Make required fields.
|
20 |
+
* Added fields will appear on Order Summary, Receipt and Back-end in Orders.
|
21 |
+
* Enable/ Disable "Additional Fields" section name on the Order Summary and Receipt.
|
22 |
+
* **Four ( 4 )** fields types included: Text Input + Check Box + Select Options + Date Picker.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
* Compatible with [WPML](http://wpml.org/) | [WooCommerce Print Invoice & Delivery Note](http://wordpress.org/plugins/woocommerce-delivery-notes/) | [ WooCommerce Order/Customer CSV Export](http://www.woothemes.com/products/ordercustomer-csv-export/)
|
24 |
|
25 |
= PRO VERSION =
|
26 |
[WooCommerce Checkout Manager Pro](http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/) offers these cool nifty extra features:
|
27 |
|
28 |
+
* **NEW** -- Show or Hide fields for user roles
|
29 |
+
* **NEW** -- Upload files on Checkout Page
|
30 |
+
* Sort Orders by Field Name
|
31 |
+
* Export Orders by Field Name
|
32 |
* Add new fields to the **Billing** and **Shipping** Section **separately** from Additional Section.
|
33 |
* These fields can be edited on your customers **account** page.
|
34 |
+
* **Fifteen ( 16 )** field types included: Text Area + Password + Radio + Select + Pre-defined Check Box + Time Picker + **Text/ Html Swapper** + Color Picker + Heading + Multi-Select + Multi-Checkbox + **File Picker** etc...
|
35 |
+
* Create Conditional Fields.
|
36 |
+
* Create field to remove tax.
|
37 |
+
* Create field to add additional amount.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
* Replace Text using Text/ Html Swapper.
|
39 |
+
* Allow Customers to **Upload files** for each order on order details page.
|
|
|
|
|
40 |
* Show or Hide added field for Specific Product or Category Only.
|
41 |
+
* Display **Payment Method** and Shipping Method used by customer.
|
|
|
|
|
42 |
* Disable any added field from Checkout details page and Order Receipt.
|
43 |
+
* **Retain fields information** for customers when they navigate back and forth from checkout.
|
|
|
|
|
44 |
* Disable Billing Address fields for chosen shipping goods. Which makes them visible only for virtual goods.
|
45 |
+
* **DatePicker:** Change the default format (dd-mm-yy), Set Minimum Date and Maximum Date, Disable days in the week (Sun – Sat).
|
46 |
+
* **TimePicker:** Includes restriction of both start and end hours, set the minutes interval and manually input labels.
|
47 |
+
* Area to insert your own **Custom CSS**.
|
48 |
+
* Display **Order Time**.
|
|
|
|
|
|
|
|
|
|
|
49 |
* Set Default State for checkout.
|
50 |
+
* **Import/ Export** added fields data.
|
|
|
|
|
51 |
* Fields label can accept html characters.
|
52 |
+
* Re-position the added fields: Before Shipping Form, After Shipping Form, Before Billing Form, After Billing Form or After Order Notes
|
53 |
+
* **Insert Notice:** Before Customer Address Fields and Before Order Summary on checkout page.
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
+
= INCLUDED TRANSLATIONS (Alphabetical order) =
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
+
* BRAZILIAN PORTUGUESE
|
59 |
+
* BULGARIAN by Ivo Minchev
|
60 |
+
* CHINESE by Sid Lo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
* DUTCH
|
62 |
+
* EUROPEAN PORTUGUESE
|
63 |
* FINNISH
|
64 |
* FRENCH
|
65 |
+
* GERMAN
|
66 |
+
* ITALIAN
|
67 |
* NORWEGIAN
|
68 |
* POLISH
|
69 |
+
* SERBIAN by Andrijana Nikolic at [webhostinggeeks](http://webhostinggeeks.com/)
|
70 |
+
* SPANISH
|
71 |
* VIETNAMSE
|
|
|
|
|
|
|
|
|
72 |
|
73 |
|
74 |
+
Would you like this plugin translated in your own language?
|
75 |
+
Do you want to update an existing translation?
|
76 |
+
|
77 |
+
Find out how at [Translating WooCommerce Checkout Manager in your Language](http://www.trottyzone.com/translating-woocommerce-checkout-manager-in-your-language/).
|
78 |
|
79 |
|
80 |
= ------------ THANK YOU FOR DOWNLOADING ------------ =
|
83 |
|
84 |
== Installation ==
|
85 |
|
86 |
+
= Minimum Requirements =
|
87 |
+
* WooCommerce 2.2 +
|
88 |
+
* WordPress 3.8 or greater
|
89 |
+
* PHP version 5.2.4 or greater
|
90 |
+
* MySQL version 5.0 or greater
|
91 |
|
92 |
+
= WP installation =
|
93 |
+
1. Log in to your WordPress dashboard
|
94 |
+
2. Navigate to the Plugins menu and click Add New.
|
95 |
+
2. Click Upload Plugin
|
96 |
+
3. Click Choose File and select downloaded zip file
|
97 |
+
4. Click Install Now
|
98 |
|
99 |
+
= NP: The downloaded zip file is the file that you download from wordpress.org. =
|
|
|
100 |
|
101 |
+
= FTP installation =
|
102 |
+
The manual installation method involves downloading the plugin and uploading it to your webserver via an FTP application. The WordPress codex contains instructions on how to do this here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
+
= Updating =
|
105 |
+
Automatic updates are delivered just like any other WordPress plugin.
|
106 |
|
107 |
|
108 |
== Frequently Asked Questions ==
|
109 |
|
110 |
+
= How to fix fields that are not showing on checkout page properly? =
|
111 |
+
Usually this is an CSS issue. If your theme comes with the option to input your very own custom CSS, you can use the abbreviation field name as part of the CSS code to set the fields in the way that you want.
|
112 |
|
113 |
+
Example :
|
114 |
+
`#myfield1_field {
|
115 |
+
float: right;
|
116 |
+
}`
|
117 |
|
118 |
+
= How do I review the data from the custom fields? =
|
119 |
+
Your order data can be reviewed in each order. By default your "Custom Fields" section should be showing allowing you to see the custom fields data.
|
120 |
+
If the fields are not showing, follow these steps:
|
121 |
|
122 |
+
1. Go to your desired Order.
|
123 |
+
2. Click "Screen Options"
|
124 |
+
3. Check "Custom Fields"
|
125 |
+
4. Scroll down till you see "Custom Fields" section.
|
126 |
|
127 |
+
= How do you access saved data to be used with WooCommerce PDF Invoices & Packing Slips? =
|
128 |
+
The above plugin requests that you code the fields in the template. To access the saved data, use the abbreviation name of the field. As we are using the first abbreviation field as an example. Where "myfield1" is the abbreviation name, and "My custom field:" is the label.
|
129 |
|
130 |
+
Example:
|
131 |
+
`<?php $wpo_wcpdf->custom_field('myfield1', 'My custom field:'); ?>`
|
132 |
|
133 |
|
134 |
== Screenshots ==
|
275 |
= 3.6.7 =
|
276 |
Add Error Fix.
|
277 |
Add WooCommerce Order/Customer CSV Export support
|
278 |
+
Able to Change additional information header
|
279 |
+
|
280 |
+
= 3.6.8 =
|
281 |
+
Add Error Fix 2.
|
282 |
+
GUI upgrade.
|
script_wccs.js
CHANGED
@@ -1,3 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
jQuery(document).ready(function() {
|
2 |
jQuery(function() {
|
3 |
jQuery('#select_all_rm').click(function() {
|
1 |
+
jQuery(document).ready(function() {
|
2 |
+
|
3 |
+
jQuery(".billing-tab").click(function(){
|
4 |
+
jQuery(".shipping-tab,.additional-tab").removeClass('nav-tab-active');
|
5 |
+
jQuery(this).addClass('nav-tab-active');
|
6 |
+
jQuery(".shipping-semi,.additional-semi").hide();
|
7 |
+
jQuery(".billing-semi").show();
|
8 |
+
|
9 |
+
});
|
10 |
+
|
11 |
+
jQuery(".shipping-tab").click(function(){
|
12 |
+
jQuery(".billing-tab,.additional-tab").removeClass('nav-tab-active');
|
13 |
+
jQuery(this).addClass('nav-tab-active');
|
14 |
+
jQuery(".billing-semi,.additional-semi").hide();
|
15 |
+
jQuery(".shipping-semi").show();
|
16 |
+
|
17 |
+
});
|
18 |
+
|
19 |
+
jQuery(".additional-tab").click(function(){
|
20 |
+
jQuery(".billing-tab,.shipping-tab").removeClass('nav-tab-active');
|
21 |
+
jQuery(this).addClass('nav-tab-active');
|
22 |
+
jQuery(".billing-semi,.shipping-semi").hide();
|
23 |
+
jQuery(".additional-semi").show();
|
24 |
+
|
25 |
+
});
|
26 |
+
|
27 |
+
});
|
28 |
+
|
29 |
+
|
30 |
jQuery(document).ready(function() {
|
31 |
jQuery(function() {
|
32 |
jQuery('#select_all_rm').click(function() {
|
style_wccs.css
CHANGED
@@ -1,3 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.wooccm_title {
|
2 |
margin: 5px 0 15px 10px;
|
3 |
color: #fff;
|
@@ -6,19 +40,31 @@
|
|
6 |
background: #0074a2;
|
7 |
padding: 15px 20px;
|
8 |
border-radius: 5px;
|
9 |
-
|
|
|
|
|
|
|
|
|
10 |
}
|
|
|
11 |
input[type="text"] {
|
12 |
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
.small {
|
15 |
font-size: 10px;
|
16 |
}
|
17 |
-
.wooccm_feed {
|
18 |
-
float: right;
|
19 |
-
margin-right: 10px;
|
20 |
-
font-size: 14px;
|
21 |
-
}
|
22 |
.wccs-clone {
|
23 |
display:none;
|
24 |
}
|
@@ -69,7 +115,7 @@ p.submit {
|
|
69 |
width: 16px;
|
70 |
text-align: center;
|
71 |
vertical-align: middle;
|
72 |
-
color: #
|
73 |
text-shadow: #fff 0 1px 0;
|
74 |
}
|
75 |
.wccs-table .wccs-remove {
|
1 |
+
.star-rating {
|
2 |
+
white-space: normal;
|
3 |
+
float:right;
|
4 |
+
margin-top: 1%;
|
5 |
+
}
|
6 |
+
input.wooccm_title.wooccm_submit:hover{
|
7 |
+
border-bottom: 1px solid #f1f1f1;
|
8 |
+
background: #b366a4;
|
9 |
+
color: #fff;
|
10 |
+
}
|
11 |
+
input.wooccm_title.wooccm_submit {
|
12 |
+
padding: 11px 16px;
|
13 |
+
border: none;
|
14 |
+
float: right;
|
15 |
+
}
|
16 |
+
.nav-tab-active, .nav-tab-active:hover , .wooccm_title:hover {
|
17 |
+
border-bottom: 1px solid #f1f1f1 !important;
|
18 |
+
background: #b366a4 !important;
|
19 |
+
color: #fff !important;
|
20 |
+
}
|
21 |
+
.wrap div.updated.clear_wccm.data {
|
22 |
+
padding-right: 25px;
|
23 |
+
margin-top: 20px;
|
24 |
+
}
|
25 |
+
.wooccm_name_heading {
|
26 |
+
margin-right: 20px;
|
27 |
+
padding: 5px 10px 5px 10px !important;
|
28 |
+
color: #eee;
|
29 |
+
background: #222;
|
30 |
+
border-radius: 5px;
|
31 |
+
}
|
32 |
+
.wooccm_title.billing-tab {
|
33 |
+
margin-left: 0px;
|
34 |
+
}
|
35 |
.wooccm_title {
|
36 |
margin: 5px 0 15px 10px;
|
37 |
color: #fff;
|
40 |
background: #0074a2;
|
41 |
padding: 15px 20px;
|
42 |
border-radius: 5px;
|
43 |
+
cursor: pointer;
|
44 |
+
margin-left: 20px;
|
45 |
+
}
|
46 |
+
input.readonly, input[readonly], textarea.readonly, textarea[readonly] {
|
47 |
+
background-color: #eee !important;
|
48 |
}
|
49 |
+
|
50 |
input[type="text"] {
|
51 |
width: 100%;
|
52 |
+
border: 2px inset;
|
53 |
+
-webkit-box-shadow: none;
|
54 |
+
box-shadow: none;
|
55 |
+
background-color: #fff;
|
56 |
+
color: #333;
|
57 |
+
}
|
58 |
+
input[type=checkbox], input[type=radio] {
|
59 |
+
border: 1px inset;
|
60 |
+
-webkit-box-shadow: none;
|
61 |
+
box-shadow: none;
|
62 |
+
background-color: #fff;
|
63 |
+
color: #333;
|
64 |
}
|
65 |
.small {
|
66 |
font-size: 10px;
|
67 |
}
|
|
|
|
|
|
|
|
|
|
|
68 |
.wccs-clone {
|
69 |
display:none;
|
70 |
}
|
115 |
width: 16px;
|
116 |
text-align: center;
|
117 |
vertical-align: middle;
|
118 |
+
color: #b366a4;
|
119 |
text-shadow: #fff 0 1px 0;
|
120 |
}
|
121 |
.wccs-table .wccs-remove {
|
woocommerce-checkout-manager.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WooCommerce Checkout Manager
|
4 |
Plugin URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/
|
5 |
Description: Manages WooCommerce Checkout fields
|
6 |
-
Version: 3.6.
|
7 |
Author: Ephrain Marchan
|
8 |
Author URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/
|
9 |
License: GPLv2 or later
|
@@ -73,8 +73,8 @@ if ( is_admin() ){
|
|
73 |
add_filter( 'plugin_action_links_'.plugin_basename(__FILE__), 'wccs_admin_plugin_actions', -10);
|
74 |
add_action( 'admin_init', 'wccs_register_setting' );
|
75 |
} else {
|
76 |
-
wp_enqueue_script('jquery-ui-datepicker');
|
77 |
-
wp_enqueue_style( 'jquery-ui-style', (is_ssl()) ? 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' : 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
|
78 |
add_action('wp_enqueue_script', 'wccs_non_admin_scripts');
|
79 |
}
|
80 |
|
@@ -85,7 +85,7 @@ function wccs_non_admin_scripts() {
|
|
85 |
|
86 |
|
87 |
function wccs_admin_menu() {
|
88 |
-
add_submenu_page( 'woocommerce', __('Woocommerce Checkout Manager', 'woocommerce-checkout-manager'), __('
|
89 |
}
|
90 |
|
91 |
|
@@ -113,48 +113,25 @@ $options = get_option( 'wccs_settings' );
|
|
113 |
|
114 |
echo '<div class="wrap">';
|
115 |
echo '<div id="icon-themes" class="icon32"><br></div>';
|
116 |
-
echo '<h2>
|
|
|
|
|
|
|
|
|
117 |
|
118 |
?>
|
119 |
|
120 |
-
<!-- RSS FEED -->
|
121 |
-
<div class="wooccm_feed">
|
122 |
-
<?php include_once( ABSPATH . WPINC . '/feed.php' );
|
123 |
-
$rss = fetch_feed( 'http://www.trottyzone.com/category/news-feed/' );
|
124 |
-
|
125 |
-
if ( ! is_wp_error( $rss ) ) :
|
126 |
-
|
127 |
-
// Figure out how many total items there are, but limit it to 5.
|
128 |
-
$maxitems = $rss->get_item_quantity( 1 );
|
129 |
-
|
130 |
-
// Build an array of all the items, starting with element 0 (first element).
|
131 |
-
$rss_items = $rss->get_items( 0, $maxitems );
|
132 |
-
|
133 |
-
endif;
|
134 |
-
|
135 |
-
if ( $maxitems == 0 ) :
|
136 |
-
else :
|
137 |
-
|
138 |
-
// Loop through each feed item and display each item as a hyperlink.
|
139 |
-
foreach ( $rss_items as $item ) : ?>
|
140 |
-
|
141 |
-
<a href="<?php echo esc_url( $item->get_permalink() ); ?>"
|
142 |
-
title="<?php printf( __( 'Posted %s', 'woocommerce-checkout-manager' ), $item->get_date('j F Y | g:i a') ); ?>">
|
143 |
-
<?php echo esc_html( $item->get_title() ); ?>
|
144 |
-
</a>
|
145 |
-
|
146 |
-
<?php endforeach;
|
147 |
-
endif; ?>
|
148 |
-
|
149 |
-
</div></h2>
|
150 |
-
<!-- FEED -->
|
151 |
-
|
152 |
|
153 |
<form name="form" method="post" action="options.php" id="frm1">
|
154 |
<?php settings_fields( 'wccs_options' );
|
155 |
$options = get_option( 'wccs_settings' ); ?>
|
156 |
|
157 |
-
|
|
|
|
|
|
|
|
|
|
|
158 |
<thead>
|
159 |
<tr>
|
160 |
<th><?php _e('Field Name', 'woocommerce-checkout-manager'); ?></th>
|
@@ -310,10 +287,11 @@ $options = get_option( 'wccs_settings' );
|
|
310 |
<td></td>
|
311 |
</tr>
|
312 |
</tbody>
|
313 |
-
|
314 |
-
|
|
|
315 |
</table>
|
316 |
-
<table class="widefat" border="1" >
|
317 |
<thead>
|
318 |
<tr>
|
319 |
<th><?php _e('Field Name', 'woocommerce-checkout-manager'); ?></th>
|
@@ -431,13 +409,12 @@ $options = get_option( 'wccs_settings' );
|
|
431 |
<td></td>
|
432 |
</tr>
|
433 |
</tbody>
|
434 |
-
|
435 |
-
|
436 |
</table>
|
437 |
-
|
438 |
<div style="padding:5px 10px;font-weight:700;color:green;" class="clear_dwccm">
|
439 |
|
440 |
-
|
441 |
<div class="updated clear_wccm data">
|
442 |
<div class="clear_wccm title">
|
443 |
<a href="http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/"><?php _e('TRY THE PRO VERSION', 'woocommerce-checkout-manager'); ?></a><br /><span class="small"><?php _e('includes these field types', 'woocommerce-checkout-manager'); ?></span> →
|
@@ -458,22 +435,31 @@ $options = get_option( 'wccs_settings' );
|
|
458 |
<li><?php _e('Heading', 'woocommerce-checkout-manager'); ?></li>
|
459 |
</ul>
|
460 |
<ul>
|
461 |
-
<li><?php _e('
|
462 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
</ul>
|
464 |
</div>
|
465 |
</div>
|
466 |
|
467 |
-
|
468 |
-
|
469 |
-
<table class="widefat" border="1" >
|
470 |
<thead>
|
471 |
<tr>
|
472 |
-
<th
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
<th
|
|
|
|
|
|
|
477 |
</tr>
|
478 |
</thead>
|
479 |
</table>
|
@@ -486,10 +472,10 @@ $options = get_option( 'wccs_settings' );
|
|
486 |
<th><?php _e('Placeholder' , 'woocommerce-checkout-manager' ); ?></th>
|
487 |
<th><?php _e('Option A' , 'woocommerce-checkout-manager' ); ?></th>
|
488 |
<th><?php _e('Options B' , 'woocommerce-checkout-manager' ); ?></th>
|
489 |
-
<th width="
|
490 |
<th width="5%"><?php _e('Abbreviation' , 'woocommerce-checkout-manager' ); ?></th>
|
491 |
<th width="5%"><?php _e('Required' , 'woocommerce-checkout-manager' ); ?></th>
|
492 |
-
<th style="text-align:center;" scope="col" title="<?php esc_attr_e( 'Remove button', 'woocommerce-checkout-manager' ); ?>"
|
493 |
</tr>
|
494 |
</thead>
|
495 |
<tbody>
|
@@ -527,7 +513,7 @@ $options = get_option( 'wccs_settings' );
|
|
527 |
value="<?php echo esc_attr($options['buttons'][$i]['cow']); ?>" readonly="readonly" /></td>
|
528 |
|
529 |
<td style="text-align:center;"><input style="float:none;" name="wccs_settings[buttons][<?php echo $i; ?>][checkbox]" type="checkbox" value="true" <?php echo (isset($options['buttons'][$i]['checkbox'])) ? "checked='checked'": ""; ?> /></td>
|
530 |
-
<td class="wccs-remove"><a class="wccs-remove-button" href="javascript:;" title="<?php esc_attr_e( 'Remove Field' , 'woocommerce-checkout-manager' ); ?>">×</a></td>
|
531 |
</tr>
|
532 |
|
533 |
<?php endfor; endif; ?>
|
@@ -557,7 +543,7 @@ $options = get_option( 'wccs_settings' );
|
|
557 |
title="<?php esc_attr_e( 'Abbreviation (No spaces)', 'woocommerce-checkout-manager' ); ?>" value="" readonly="readonly" /></td>
|
558 |
<td style="text-align:center;"><input style="float:none;" name="wccs_settings[buttons][<?php echo $i; ?>][checkbox]" type="checkbox"
|
559 |
title="<?php esc_attr_e( 'Add/Remove Required Attribute', 'woocommerce-checkout-manager' ); ?>" value="" /></td>
|
560 |
-
<td class="wccs-remove"><a class="wccs-remove-button" href="javascript:;" title="<?php esc_attr_e( 'Remove Field' , 'woocommerce-checkout-manager' ); ?>">×</a></td>
|
561 |
</tr>
|
562 |
</tbody>
|
563 |
</table>
|
@@ -565,6 +551,10 @@ $options = get_option( 'wccs_settings' );
|
|
565 |
<div class="wccs-table-footer">
|
566 |
<a href="javascript:;" id="wccs-add-button" class="button-secondary"><?php _e( '+ Add New Field' , 'woocommerce-checkout-manager' ); ?></a>
|
567 |
</div>
|
|
|
|
|
|
|
|
|
568 |
</form>
|
569 |
|
570 |
<?php }
|
@@ -923,7 +913,7 @@ return $input;
|
|
923 |
function wccs_custom_checkout_details( $order_id ) {
|
924 |
$options = get_option( 'wccs_settings' );
|
925 |
|
926 |
-
if (
|
927 |
echo '<h2>'.esc_attr( $options['replace']['add_information'] ). '</h2>';
|
928 |
}
|
929 |
|
3 |
Plugin Name: WooCommerce Checkout Manager
|
4 |
Plugin URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/
|
5 |
Description: Manages WooCommerce Checkout fields
|
6 |
+
Version: 3.6.8
|
7 |
Author: Ephrain Marchan
|
8 |
Author URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/
|
9 |
License: GPLv2 or later
|
73 |
add_filter( 'plugin_action_links_'.plugin_basename(__FILE__), 'wccs_admin_plugin_actions', -10);
|
74 |
add_action( 'admin_init', 'wccs_register_setting' );
|
75 |
} else {
|
76 |
+
@wp_enqueue_script('jquery-ui-datepicker');
|
77 |
+
@wp_enqueue_style( 'jquery-ui-style', (is_ssl()) ? 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' : 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
|
78 |
add_action('wp_enqueue_script', 'wccs_non_admin_scripts');
|
79 |
}
|
80 |
|
85 |
|
86 |
|
87 |
function wccs_admin_menu() {
|
88 |
+
add_submenu_page( 'woocommerce', __('Woocommerce Checkout Manager', 'woocommerce-checkout-manager'), __('Checkout Manager', 'woocommerce-checkout-manager'), 'manage_options', __FILE__ , 'wccs__options_page');
|
89 |
}
|
90 |
|
91 |
|
113 |
|
114 |
echo '<div class="wrap">';
|
115 |
echo '<div id="icon-themes" class="icon32"><br></div>';
|
116 |
+
echo '<h2><span class="wooccm_name_heading">WooCommerce Checkout Manager</span>
|
117 |
+
|
118 |
+
<a title="Your Good Reviews Helps!" href="https://wordpress.org/support/view/plugin-reviews/woocommerce-checkout-manager?filter=5"><div class="star-rating"><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div></div></a>
|
119 |
+
|
120 |
+
</h2>';
|
121 |
|
122 |
?>
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
|
125 |
<form name="form" method="post" action="options.php" id="frm1">
|
126 |
<?php settings_fields( 'wccs_options' );
|
127 |
$options = get_option( 'wccs_settings' ); ?>
|
128 |
|
129 |
+
<div class="wooccm_title billing-tab"><?php _e('Billing Section', 'woocommerce-checkout-manager'); ?></div>
|
130 |
+
<div class="wooccm_title shipping-tab"><?php _e('Shipping Section', 'woocommerce-checkout-manager'); ?></div>
|
131 |
+
<div class="wooccm_title additional-tab nav-tab-active" ><?php _e('Additional Fields', 'woocommerce-checkout-manager'); ?></div>
|
132 |
+
<input type="submit" class="wooccm_title wooccm_submit" value="Save" />
|
133 |
+
|
134 |
+
<table class="widefat billing-wccs-table billing-semi" border="1" style="margin-bottom:10px;display:none;">
|
135 |
<thead>
|
136 |
<tr>
|
137 |
<th><?php _e('Field Name', 'woocommerce-checkout-manager'); ?></th>
|
287 |
<td></td>
|
288 |
</tr>
|
289 |
</tbody>
|
290 |
+
|
291 |
+
|
292 |
+
|
293 |
</table>
|
294 |
+
<table class="widefat shipping-wccs-table shipping-semi" style="display:none;" border="1" >
|
295 |
<thead>
|
296 |
<tr>
|
297 |
<th><?php _e('Field Name', 'woocommerce-checkout-manager'); ?></th>
|
409 |
<td></td>
|
410 |
</tr>
|
411 |
</tbody>
|
412 |
+
|
413 |
+
|
414 |
</table>
|
415 |
+
|
416 |
<div style="padding:5px 10px;font-weight:700;color:green;" class="clear_dwccm">
|
417 |
|
|
|
418 |
<div class="updated clear_wccm data">
|
419 |
<div class="clear_wccm title">
|
420 |
<a href="http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/"><?php _e('TRY THE PRO VERSION', 'woocommerce-checkout-manager'); ?></a><br /><span class="small"><?php _e('includes these field types', 'woocommerce-checkout-manager'); ?></span> →
|
435 |
<li><?php _e('Heading', 'woocommerce-checkout-manager'); ?></li>
|
436 |
</ul>
|
437 |
<ul>
|
438 |
+
<li><?php _e('Add Additional Amount fields', 'woocommerce-checkout-manager'); ?></li>
|
439 |
+
<li><?php _e('Create Conditional Fields', 'woocommerce-checkout-manager'); ?></li>
|
440 |
+
<li><?php _e('Remove Tax field', 'woocommerce-checkout-manager'); ?></li></li>
|
441 |
+
</ul>
|
442 |
+
<ul>
|
443 |
+
<li><?php _e('Pre-defined Checkbox', 'woocommerce-checkout-manager'); ?></li>
|
444 |
+
<li><?php _e('Export Fields', 'woocommerce-checkout-manager'); ?></li>
|
445 |
+
<li><?php _e('Add Notices', 'woocommerce-checkout-manager'); ?></li>
|
446 |
</ul>
|
447 |
</div>
|
448 |
</div>
|
449 |
|
450 |
+
<div class="additional-semi">
|
451 |
+
|
452 |
+
<table class="widefat wccs-table" border="1" >
|
453 |
<thead>
|
454 |
<tr>
|
455 |
+
<th>
|
456 |
+
<span style="width:5%"><?php _e('Section Name', 'woocommerce-checkout-manager'); ?></span>
|
457 |
+
<input style="width:80%" type="text" name="wccs_settings[replace][add_information]" value="<?php echo esc_attr( $options['replace']['add_information'] ); ?>" /></th>
|
458 |
+
|
459 |
+
<th style="text-align:center;"><input style="float: center;margin-left: 0;" name="wccs_settings[checkness][checkbox12]" type="checkbox" value="true" <?php echo (isset($options['checkness']['checkbox12'])) ? "checked='checked'": ""; ?> /></th>
|
460 |
+
<th><?php _e('Checkout Page', 'woocommerce-checkout-manager'); ?></th>
|
461 |
+
<th style="text-align:center;"><input style="float: center;margin-left: 0;" name="wccs_settings[checkness][checkbox1]" type="checkbox" value="true" <?php echo (isset($options['checkness']['checkbox1'])) ? "checked='checked'": ""; ?> /></th>
|
462 |
+
<th><?php _e('Checkout Details and Email Receipt', 'woocommerce-checkout-manager'); ?></th>
|
463 |
</tr>
|
464 |
</thead>
|
465 |
</table>
|
472 |
<th><?php _e('Placeholder' , 'woocommerce-checkout-manager' ); ?></th>
|
473 |
<th><?php _e('Option A' , 'woocommerce-checkout-manager' ); ?></th>
|
474 |
<th><?php _e('Options B' , 'woocommerce-checkout-manager' ); ?></th>
|
475 |
+
<th width="10%"><?php _e('Choose Type' , 'woocommerce-checkout-manager' ); ?></th>
|
476 |
<th width="5%"><?php _e('Abbreviation' , 'woocommerce-checkout-manager' ); ?></th>
|
477 |
<th width="5%"><?php _e('Required' , 'woocommerce-checkout-manager' ); ?></th>
|
478 |
+
<th width="3%" style="text-align:center;font-weight: bold;font-size: 20px;color: #a00;" scope="col" title="<?php esc_attr_e( 'Remove button', 'woocommerce-checkout-manager' ); ?>">×</th>
|
479 |
</tr>
|
480 |
</thead>
|
481 |
<tbody>
|
513 |
value="<?php echo esc_attr($options['buttons'][$i]['cow']); ?>" readonly="readonly" /></td>
|
514 |
|
515 |
<td style="text-align:center;"><input style="float:none;" name="wccs_settings[buttons][<?php echo $i; ?>][checkbox]" type="checkbox" value="true" <?php echo (isset($options['buttons'][$i]['checkbox'])) ? "checked='checked'": ""; ?> /></td>
|
516 |
+
<td class="wccs-remove"><a style="color: #a00 !important;" class="wccs-remove-button" href="javascript:;" title="<?php esc_attr_e( 'Remove Field' , 'woocommerce-checkout-manager' ); ?>">×</a></td>
|
517 |
</tr>
|
518 |
|
519 |
<?php endfor; endif; ?>
|
543 |
title="<?php esc_attr_e( 'Abbreviation (No spaces)', 'woocommerce-checkout-manager' ); ?>" value="" readonly="readonly" /></td>
|
544 |
<td style="text-align:center;"><input style="float:none;" name="wccs_settings[buttons][<?php echo $i; ?>][checkbox]" type="checkbox"
|
545 |
title="<?php esc_attr_e( 'Add/Remove Required Attribute', 'woocommerce-checkout-manager' ); ?>" value="" /></td>
|
546 |
+
<td class="wccs-remove"><a style="color: #a00 !important;" class="wccs-remove-button" href="javascript:;" title="<?php esc_attr_e( 'Remove Field' , 'woocommerce-checkout-manager' ); ?>">×</a></td>
|
547 |
</tr>
|
548 |
</tbody>
|
549 |
</table>
|
551 |
<div class="wccs-table-footer">
|
552 |
<a href="javascript:;" id="wccs-add-button" class="button-secondary"><?php _e( '+ Add New Field' , 'woocommerce-checkout-manager' ); ?></a>
|
553 |
</div>
|
554 |
+
</div>
|
555 |
+
|
556 |
+
|
557 |
+
|
558 |
</form>
|
559 |
|
560 |
<?php }
|
913 |
function wccs_custom_checkout_details( $order_id ) {
|
914 |
$options = get_option( 'wccs_settings' );
|
915 |
|
916 |
+
if ( !empty($options['checkness']['checkbox1']) ) {
|
917 |
echo '<h2>'.esc_attr( $options['replace']['add_information'] ). '</h2>';
|
918 |
}
|
919 |
|