WordPress Simple PayPal Shopping Cart - Version 3.9.6

Version Description

  • Added Czech Language translation to the plugin. The Czech translation file was submitted by Tomas Sykora.
  • Added a new option/feature to specify a custom paypal checkout page style name. The plugin will use the custom checkout page style if you specify one.
  • Each order now also shows the shipping amount in the order managment interface.
Download this release

Release Info

Developer mra13
Plugin Icon 128x128 WordPress Simple PayPal Shopping Cart
Version 3.9.6
Comparing to
See all releases

Code changes from version 3.9.4 to 3.9.6

languages/WSPSC-cs_CZ.MO ADDED
Binary file
languages/WSPSC-cs_CZ.PO ADDED
@@ -0,0 +1,729 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WordPress Simple PayPal Shopping Cart\n"
4
+ "POT-Creation-Date: 2014-01-24 16:14+1000\n"
5
+ "PO-Revision-Date: 2014-04-20 21:05+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \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.6.4\n"
12
+ "X-Poedit-KeywordsList: _e;__\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
15
+ "Language: cs_CZ\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: class-coupon.php:19
19
+ msgid "Admin needs to configure some discount coupons before it can be used"
20
+ msgstr ""
21
+ "Administrátor musí některé slevové kupóny před jejich použitím nakonfigurovat"
22
+
23
+ #: class-coupon.php:85
24
+ msgid "Coupon ID: "
25
+ msgstr "Číslo kupónu:"
26
+
27
+ #: class-coupon.php:86
28
+ msgid "Coupon Code: "
29
+ msgstr "Kód kupónu:"
30
+
31
+ #: class-coupon.php:87
32
+ msgid "Discount Amt: "
33
+ msgstr "Hodnota slevy:"
34
+
35
+ #: class-coupon.php:96
36
+ msgid "Coupon code used does not exist!"
37
+ msgstr "Použitý kód kupónu neexistuje!"
38
+
39
+ #: class-coupon.php:101
40
+ msgid "Discount can only be applied once per checkout!"
41
+ msgstr "Slevu lze uplatnit pouze jednou za nákup!"
42
+
43
+ #: class-coupon.php:123
44
+ msgid "Discount applied successfully! Total Discount: "
45
+ msgstr "Sleva úspěšně aplikována! Celková sleva:"
46
+
47
+ #: wp_shopping_cart.php:167
48
+ msgid "Error! Your session is out of sync. Please reset your session."
49
+ msgstr ""
50
+ "Chyba! Vaše relace je mimo rozsah synchronizace. Resetujte relaci prosím."
51
+
52
+ #: wp_shopping_cart.php:177
53
+ msgid ""
54
+ "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
55
+ "Page URL' field for the automatic redirection feature to work!"
56
+ msgstr ""
57
+ "Chyba konfigurace nákupního košíku! Musíte zadat hodnotu do pole \"Checkout "
58
+ "Page URL\" pro funkci automatického přesměrování!"
59
+
60
+ #: wp_shopping_cart.php:259
61
+ msgid "Visit The Shop"
62
+ msgstr "Navštívit shop"
63
+
64
+ #: wp_shopping_cart.php:271 wp_shopping_cart_settings.php:101
65
+ msgid "USD"
66
+ msgstr "CZK"
67
+
68
+ #: wp_shopping_cart.php:275 wp_shopping_cart_settings.php:104
69
+ msgid "$"
70
+ msgstr "Kč"
71
+
72
+ #: wp_shopping_cart.php:301
73
+ msgid "Cart"
74
+ msgstr "Košík"
75
+
76
+ #: wp_shopping_cart.php:310
77
+ msgid "Hit enter to submit new Quantity."
78
+ msgstr "Stiskněte enter pro potvrzení nového množství."
79
+
80
+ #: wp_shopping_cart.php:321
81
+ msgid "Item Name"
82
+ msgstr "Název položky:"
83
+
84
+ #: wp_shopping_cart.php:321
85
+ msgid "Quantity"
86
+ msgstr "Množství"
87
+
88
+ #: wp_shopping_cart.php:321
89
+ msgid "Price"
90
+ msgstr "Cena"
91
+
92
+ #: wp_shopping_cart.php:355
93
+ msgid "Remove"
94
+ msgstr "Odebrat"
95
+
96
+ #: wp_shopping_cart.php:384
97
+ msgid "Subtotal"
98
+ msgstr "Mezisoučet"
99
+
100
+ #: wp_shopping_cart.php:385
101
+ msgid "Shipping"
102
+ msgstr "Přeprava"
103
+
104
+ #: wp_shopping_cart.php:388 wp_shopping_cart_orders.php:89
105
+ #: wp_shopping_cart_orders.php:152
106
+ msgid "Total"
107
+ msgstr "Celkem"
108
+
109
+ #: wp_shopping_cart.php:397
110
+ msgid "Enter Coupon Code"
111
+ msgstr "Zadejte kód kupónu"
112
+
113
+ #: wp_shopping_cart.php:400
114
+ msgid "Apply"
115
+ msgstr "Aktualizovat"
116
+
117
+ #: wp_shopping_cart.php:414
118
+ msgid "paypal_checkout_EN.png"
119
+ msgstr "paypal_checkout_CZ.png"
120
+
121
+ #: wp_shopping_cart.php:414
122
+ msgid "Make payments with PayPal - it\\'s fast, free and secure!"
123
+ msgstr "Plaťte skrze Paypal - je to rychlé, zdarma a bezpečné!"
124
+
125
+ #: wp_shopping_cart.php:476 wp_shopping_cart.php:559 wp_shopping_cart.php:618
126
+ #: wp_shopping_cart.php:666 wp_shopping_cart.php:672
127
+ #: wp_shopping_cart_settings.php:117
128
+ msgid "Add to Cart"
129
+ msgstr "Přidat do košíku"
130
+
131
+ #: wp_shopping_cart.php:744
132
+ msgid "WP Paypal Shopping Cart"
133
+ msgstr "WP Paypal Shopping Cart"
134
+
135
+ #: wp_shopping_cart.php:744
136
+ msgid "WP Shopping Cart"
137
+ msgstr "WP Shopping Cart"
138
+
139
+ #: wp_shopping_cart.php:767
140
+ msgid "Shopping Cart"
141
+ msgstr "Nákupní košík"
142
+
143
+ #: wp_shopping_cart.php:793
144
+ msgid "Settings"
145
+ msgstr "Nastavení"
146
+
147
+ #: wp_shopping_cart_discounts_menu.php:51 wp_shopping_cart_settings.php:172
148
+ #: wp_shopping_cart_settings.php:366
149
+ msgid ""
150
+ "For more information, updates, detailed documentation and video tutorial, "
151
+ "please visit:"
152
+ msgstr ""
153
+ "Pro více informací, nové verze, detailní dokumentaci a video návody "
154
+ "navštivte:"
155
+
156
+ #: wp_shopping_cart_discounts_menu.php:52 wp_shopping_cart_settings.php:173
157
+ #: wp_shopping_cart_settings.php:367
158
+ msgid "WP Simple Cart Homepage"
159
+ msgstr "WP Simple Cart Homepage"
160
+
161
+ #: wp_shopping_cart_discounts_menu.php:60
162
+ msgid "Coupon/Discount Settings"
163
+ msgstr "Nastavení kupónů/slev"
164
+
165
+ #: wp_shopping_cart_discounts_menu.php:67
166
+ msgid "Enable Discount Coupon Feature"
167
+ msgstr "Povolit funkci slevových kupónů"
168
+
169
+ #: wp_shopping_cart_discounts_menu.php:70
170
+ msgid ""
171
+ "When checked your customers will be able to enter a coupon code in the "
172
+ "shopping cart before checkout."
173
+ msgstr ""
174
+ "Když zaškrtnete, tak vaši zákazníci budou moci před objednáním zadat v "
175
+ "nákupním košíku kód kupónu."
176
+
177
+ #: wp_shopping_cart_discounts_menu.php:77
178
+ msgid "Update &raquo;"
179
+ msgstr "Aktualizovat &raquo;"
180
+
181
+ #: wp_shopping_cart_discounts_menu.php:93
182
+ msgid "Add Coupon/Discount"
183
+ msgstr "Přidej kupón/slevu"
184
+
185
+ #: wp_shopping_cart_discounts_menu.php:113
186
+ msgid "Save Coupon &raquo;"
187
+ msgstr "Uložit kupón &raquo;"
188
+
189
+ #: wp_shopping_cart_discounts_menu.php:131
190
+ msgid "Coupon Code"
191
+ msgstr "Kód kupónu"
192
+
193
+ #: wp_shopping_cart_discounts_menu.php:132
194
+ msgid "Discount Rate (%)"
195
+ msgstr "Sleva (%)"
196
+
197
+ #: wp_shopping_cart_discounts_menu.php:161
198
+ msgid "No Coupons Configured."
199
+ msgstr "Nenakonfigurovány žádné kupóny."
200
+
201
+ #: wp_shopping_cart_discounts_menu.php:166
202
+ msgid "No Record found"
203
+ msgstr "Žádný záznam"
204
+
205
+ #: wp_shopping_cart_misc_functions.php:155
206
+ msgid "Your Shopping Cart"
207
+ msgstr "Váš nákupní košík"
208
+
209
+ #: wp_shopping_cart_misc_functions.php:156
210
+ msgid "Your cart is empty"
211
+ msgstr "Váš košík je prázdný"
212
+
213
+ #: wp_shopping_cart_orders.php:10
214
+ msgid "Cart Orders"
215
+ msgstr "Objednávky"
216
+
217
+ #: wp_shopping_cart_orders.php:11
218
+ msgid "Cart Order"
219
+ msgstr "Objednávka"
220
+
221
+ #: wp_shopping_cart_orders.php:12
222
+ msgid "Add New"
223
+ msgstr "Přidat objednávku"
224
+
225
+ #: wp_shopping_cart_orders.php:13
226
+ msgid "Add New Order"
227
+ msgstr "Přidat novou objednávku"
228
+
229
+ #: wp_shopping_cart_orders.php:14
230
+ msgid "Edit"
231
+ msgstr "Upravit"
232
+
233
+ #: wp_shopping_cart_orders.php:15
234
+ msgid "Edit Order"
235
+ msgstr "Upravit objednávku"
236
+
237
+ #: wp_shopping_cart_orders.php:16
238
+ msgid "New Order"
239
+ msgstr "Nová objednávka"
240
+
241
+ #: wp_shopping_cart_orders.php:17
242
+ msgid "View"
243
+ msgstr "Ukázat"
244
+
245
+ #: wp_shopping_cart_orders.php:18
246
+ msgid "View Order"
247
+ msgstr "Prohlédnout objednávku"
248
+
249
+ #: wp_shopping_cart_orders.php:19
250
+ msgid "Search Order"
251
+ msgstr "Najít objednávku"
252
+
253
+ #: wp_shopping_cart_orders.php:20
254
+ msgid "No order found"
255
+ msgstr "Žádná objednávka"
256
+
257
+ #: wp_shopping_cart_orders.php:21
258
+ msgid "No order found in Trash"
259
+ msgstr "Žádná objednávka v koši"
260
+
261
+ #: wp_shopping_cart_orders.php:22
262
+ msgid "Parent Order"
263
+ msgstr "Nadřazená objednávka"
264
+
265
+ #: wp_shopping_cart_orders.php:38
266
+ msgid "Order Review"
267
+ msgstr "Shrnutí objednávky"
268
+
269
+ #: wp_shopping_cart_orders.php:68
270
+ msgid "Order ID: #"
271
+ msgstr "Číslo objednávky: #"
272
+
273
+ #: wp_shopping_cart_orders.php:70
274
+ msgid "Transaction ID: #"
275
+ msgstr "Číslo transakce: #"
276
+
277
+ #: wp_shopping_cart_orders.php:73 wp_shopping_cart_orders.php:149
278
+ msgid "First Name"
279
+ msgstr "Křestní jméno"
280
+
281
+ #: wp_shopping_cart_orders.php:77 wp_shopping_cart_orders.php:150
282
+ msgid "Last Name"
283
+ msgstr "Příjmení"
284
+
285
+ #: wp_shopping_cart_orders.php:81
286
+ msgid "Email Address"
287
+ msgstr "E-mailová adresa"
288
+
289
+ #: wp_shopping_cart_orders.php:85
290
+ msgid "IP Address"
291
+ msgstr "IP adresa"
292
+
293
+ #: wp_shopping_cart_orders.php:93
294
+ msgid "Address"
295
+ msgstr "Adresa"
296
+
297
+ #: wp_shopping_cart_orders.php:97
298
+ msgid "Buyer Email Sent?"
299
+ msgstr "Byl odeslán e-mail nakupujícímu?"
300
+
301
+ #: wp_shopping_cart_orders.php:101
302
+ msgid "Item(s) Ordered:"
303
+ msgstr "Objednané položky:"
304
+
305
+ #: wp_shopping_cart_orders.php:105
306
+ msgid "Applied Coupon Code:"
307
+ msgstr "Aplikovaný kód kupónu:"
308
+
309
+ #: wp_shopping_cart_orders.php:148
310
+ msgid "Order ID"
311
+ msgstr "Číslo objednávky"
312
+
313
+ #: wp_shopping_cart_orders.php:151
314
+ msgid "Email"
315
+ msgstr "E-mail"
316
+
317
+ #: wp_shopping_cart_orders.php:153
318
+ msgid "Status"
319
+ msgstr "Status"
320
+
321
+ #: wp_shopping_cart_orders.php:154
322
+ msgid "Date"
323
+ msgstr "Datum"
324
+
325
+ #: wp_shopping_cart_settings.php:10
326
+ msgid "WP Paypal Shopping Cart Options"
327
+ msgstr "Nastavení WP Paypal Shopping Cart"
328
+
329
+ #: wp_shopping_cart_settings.php:97
330
+ msgid "Options Updated!"
331
+ msgstr "Nastavení aktualizováno!"
332
+
333
+ #: wp_shopping_cart_settings.php:169
334
+ msgid "Simple PayPal Shopping Cart Settings"
335
+ msgstr "Nastavení Simple PayPal Shopping Cart"
336
+
337
+ #: wp_shopping_cart_settings.php:177
338
+ msgid "Quick Usage Guide"
339
+ msgstr "Rychlý návod"
340
+
341
+ #: wp_shopping_cart_settings.php:180
342
+ msgid "Step 1) "
343
+ msgstr "Krok 1) "
344
+
345
+ #: wp_shopping_cart_settings.php:180
346
+ msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
347
+ msgstr ""
348
+ "Chcete-li přidat tlačítko Přidat do košíku k produktu, použijte shortcode"
349
+
350
+ #: wp_shopping_cart_settings.php:180
351
+ msgid "PRODUCT-NAME"
352
+ msgstr "PRODUKT-NAZEV"
353
+
354
+ #: wp_shopping_cart_settings.php:180
355
+ msgid "PRODUCT-PRICE"
356
+ msgstr "PRODUKT-CENA"
357
+
358
+ #: wp_shopping_cart_settings.php:180
359
+ msgid ""
360
+ "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
361
+ "PRICE with the actual name and price of your product."
362
+ msgstr ""
363
+ "na stránce u produktu. Přepište PRODUKT-NAZEV a PRODUKT-CENA aktuálním "
364
+ "názvem a cenou produktu."
365
+
366
+ #: wp_shopping_cart_settings.php:181
367
+ msgid "Example add to cart button shortcode usage:"
368
+ msgstr "Příklad shortcode pro přidání do košíku:"
369
+
370
+ #: wp_shopping_cart_settings.php:182
371
+ msgid "Step 2) "
372
+ msgstr "Krok 2) "
373
+
374
+ #: wp_shopping_cart_settings.php:182
375
+ msgid ""
376
+ "To add the shopping cart to a post or page (example: a checkout page) simply "
377
+ "add the shortcode"
378
+ msgstr ""
379
+ "K umístění nákupního košíku na stránku (např. Pokladna) použijte shortcode"
380
+
381
+ #: wp_shopping_cart_settings.php:182
382
+ msgid ""
383
+ "to a post or page or use the sidebar widget to add the shopping cart to the "
384
+ "sidebar."
385
+ msgstr "nebo použijte widget pro umístění nákupního košíku do bočního panelu."
386
+
387
+ #: wp_shopping_cart_settings.php:183
388
+ msgid "Example shopping cart shortcode usage:"
389
+ msgstr "Příklad shortcode pro nákupní košík:"
390
+
391
+ #: wp_shopping_cart_settings.php:192
392
+ msgid "PayPal and Shopping Cart Settings"
393
+ msgstr "Nastavení PayPal a nákupního košíku"
394
+
395
+ #: wp_shopping_cart_settings.php:198
396
+ msgid "Paypal Email Address"
397
+ msgstr "E-mailová adresa PayPal"
398
+
399
+ #: wp_shopping_cart_settings.php:202
400
+ msgid "Shopping Cart title"
401
+ msgstr "Titulek u nákupního košíku"
402
+
403
+ #: wp_shopping_cart_settings.php:206
404
+ msgid "Text/Image to Show When Cart Empty"
405
+ msgstr "Text/obrázek ukazující prázdný košík"
406
+
407
+ #: wp_shopping_cart_settings.php:207
408
+ msgid ""
409
+ "You can either enter plain text or the URL of an image that you want to show "
410
+ "when the shopping cart is empty"
411
+ msgstr ""
412
+ "Můžete vložit text nebo URL obrázku, které se zobrazí, bude-li prázdný "
413
+ "nákupní košík."
414
+
415
+ #: wp_shopping_cart_settings.php:210
416
+ msgid "Currency"
417
+ msgstr "Měna"
418
+
419
+ #: wp_shopping_cart_settings.php:211 wp_shopping_cart_settings.php:215
420
+ #: wp_shopping_cart_settings.php:242
421
+ msgid "e.g."
422
+ msgstr "např."
423
+
424
+ #: wp_shopping_cart_settings.php:214
425
+ msgid "Currency Symbol"
426
+ msgstr "Symbol měny"
427
+
428
+ #: wp_shopping_cart_settings.php:220
429
+ msgid "Base Shipping Cost"
430
+ msgstr "Základní cena přepravy"
431
+
432
+ #: wp_shopping_cart_settings.php:221
433
+ msgid ""
434
+ "This is the base shipping cost that will be added to the total of individual "
435
+ "products shipping cost. Put 0 if you do not want to charge shipping cost or "
436
+ "use base shipping cost."
437
+ msgstr ""
438
+ "To je základní cena přepravy, která bude přidána k celkové ceně. Pokud "
439
+ "nechcete účtovat náklady na přepravu ponechte hodnotu 0."
440
+
441
+ #: wp_shopping_cart_settings.php:221
442
+ msgid "Learn More on Shipping Calculation"
443
+ msgstr "Více o kalkulaci přepravních nákladů"
444
+
445
+ #: wp_shopping_cart_settings.php:225
446
+ msgid "Free Shipping for Orders Over"
447
+ msgstr "Přeprava zdarma pro objednávky přes"
448
+
449
+ #: wp_shopping_cart_settings.php:226
450
+ msgid ""
451
+ "When a customer orders more than this amount he/she will get free shipping. "
452
+ "Leave empty if you do not want to use it."
453
+ msgstr ""
454
+ "Když si zákazník objedná více, než je tato částka, bude mít přepravu zdarma. "
455
+ "Ponechte prázdné, pokud nechcete používat."
456
+
457
+ #: wp_shopping_cart_settings.php:230
458
+ msgid "Must Collect Shipping Address on PayPal"
459
+ msgstr "Na PayPal musí být zadána dodací adresa."
460
+
461
+ #: wp_shopping_cart_settings.php:231
462
+ msgid ""
463
+ "If checked the customer will be forced to enter a shipping address on PayPal "
464
+ "when checking out."
465
+ msgstr ""
466
+ "Pokud je zatrženo, bude zákazník nucen při zadat doručovací adresu při "
467
+ "platbě na PayPal."
468
+
469
+ #: wp_shopping_cart_settings.php:235
470
+ msgid "Use PayPal Profile Based Shipping"
471
+ msgstr "Přeprava bude používat profil PayPal"
472
+
473
+ #: wp_shopping_cart_settings.php:236
474
+ msgid "Check this if you want to use"
475
+ msgstr "Zaškrtni, chceš-li použít"
476
+
477
+ #: wp_shopping_cart_settings.php:236
478
+ msgid "PayPal profile based shipping"
479
+ msgstr "Přeprava dle profilu PayPal"
480
+
481
+ #: wp_shopping_cart_settings.php:236
482
+ msgid ""
483
+ "Using this will ignore any other shipping options that you have specified in "
484
+ "this plugin."
485
+ msgstr ""
486
+ "Po zaškrtnutí budou ignorovány všechna ostatní nastavení přepravních nákladů "
487
+ "specifikované v tomto pluginu."
488
+
489
+ #: wp_shopping_cart_settings.php:240
490
+ msgid "Add to Cart button text or Image"
491
+ msgstr "Text nebo obrázek tlačítka Přidat do košíku"
492
+
493
+ #: wp_shopping_cart_settings.php:242
494
+ msgid ""
495
+ "To use a customized image as the button simply enter the URL of the image "
496
+ "file."
497
+ msgstr "Chcete-li použít vlastní obrázek, zadejte jeho URL adresu."
498
+
499
+ #: wp_shopping_cart_settings.php:248
500
+ msgid "Return URL"
501
+ msgstr "Návratová URL"
502
+
503
+ #: wp_shopping_cart_settings.php:249
504
+ msgid ""
505
+ "This is the URL the customer will be redirected to after a successful payment"
506
+ msgstr "Toto je URL, kam bude zákazník přesměrován po úspěšném zaplacení"
507
+
508
+ #: wp_shopping_cart_settings.php:253
509
+ msgid "Products Page URL"
510
+ msgstr "Produktová stránka URL"
511
+
512
+ #: wp_shopping_cart_settings.php:254
513
+ msgid ""
514
+ "This is the URL of your products page if you have any. If used, the shopping "
515
+ "cart widget will display a link to this page when cart is empty"
516
+ msgstr ""
517
+ "Toto může být URL stránky s vašimi produkty. Je-li použita, bude nákupní "
518
+ "košík widgetu zobrazovat odkaz na tuto stránku, když bude nákupní košík "
519
+ "prázdný"
520
+
521
+ #: wp_shopping_cart_settings.php:258
522
+ msgid "Automatic redirection to checkout page"
523
+ msgstr "Automatické přesměrování do pokladny"
524
+
525
+ #: wp_shopping_cart_settings.php:260
526
+ msgid "Checkout Page URL"
527
+ msgstr "Pokladna URL"
528
+
529
+ #: wp_shopping_cart_settings.php:261
530
+ msgid ""
531
+ "If checked the visitor will be redirected to the Checkout page after a "
532
+ "product is added to the cart. You must enter a URL in the Checkout Page URL "
533
+ "field for this to work."
534
+ msgstr ""
535
+ "Je-li zaškrtnuto návštěvník bude přesměrován k Pokladně po přidání výrobku "
536
+ "do nákupního košíku. Zadejte URL stránky Pokladny."
537
+
538
+ #: wp_shopping_cart_settings.php:265
539
+ msgid "Reset Cart After Redirection to Return Page"
540
+ msgstr "Vymazat košík po přesměrování na návratovou stránku"
541
+
542
+ #: wp_shopping_cart_settings.php:267
543
+ msgid ""
544
+ "If checked the shopping cart will be reset when the customer lands on the "
545
+ "return URL (Thank You) page."
546
+ msgstr ""
547
+ "Zašktnutím bude nákupní košík resetován když se zákazník dostane na "
548
+ "návratovou (Děkujeme za objednávku) adresu."
549
+
550
+ #: wp_shopping_cart_settings.php:274
551
+ msgid "Hide Shopping Cart Image"
552
+ msgstr "Skrýt obrázek nákupního košíku"
553
+
554
+ #: wp_shopping_cart_settings.php:275
555
+ msgid "If ticked the shopping cart image will not be shown."
556
+ msgstr "Zaškrtnutím deaktivujete obrázek košíku."
557
+
558
+ #: wp_shopping_cart_settings.php:281
559
+ msgid "Customize the Note to Seller Text"
560
+ msgstr "Výzva k poznámce pro prodejce"
561
+
562
+ #: wp_shopping_cart_settings.php:283
563
+ msgid ""
564
+ "Specify the text that you want to use for the note field on PayPal checkout "
565
+ "page to collect special instruction (leave this field empty if you don't "
566
+ "need to customize it). The default label for the note field is \"Add special "
567
+ "instructions to merchant\"."
568
+ msgstr ""
569
+ "Text, který chcete použít v poli poznámky v pokladně PayPal pro speciální "
570
+ "instrukce (ponechte toto pole prázdné, pokud to není nutné jej přizpůsobit). "
571
+ "Výchozí štítek pro poznámky pole je \"Add special instructions to merchant\"."
572
+
573
+ #: wp_shopping_cart_settings.php:289
574
+ msgid "Use WP Affiliate Platform"
575
+ msgstr "Použít WP Affiliate platformu"
576
+
577
+ #: wp_shopping_cart_settings.php:291
578
+ msgid "Check this if using with the"
579
+ msgstr "Zaškrtněte, když používáte s"
580
+
581
+ #: wp_shopping_cart_settings.php:291
582
+ msgid ""
583
+ "This plugin lets you run your own affiliate campaign/program and allows you "
584
+ "to reward (pay commission) your affiliates for referred sales"
585
+ msgstr ""
586
+ "Tento plugin vám umožní spustit svůj vlastní program a umožňuje odměnit "
587
+ "(provizi) své partnery."
588
+
589
+ #: wp_shopping_cart_settings.php:297
590
+ msgid "Testing and Debugging Settings"
591
+ msgstr "Nastavení testování a debuggingu"
592
+
593
+ #: wp_shopping_cart_settings.php:303
594
+ msgid "Enable Debug"
595
+ msgstr "Povolit Debug"
596
+
597
+ #: wp_shopping_cart_settings.php:305
598
+ msgid ""
599
+ "If checked, debug output will be written to the log file. This is useful for "
600
+ "troubleshooting post payment failures"
601
+ msgstr ""
602
+ "Po zaškrtnutí debug začne zapisovat log soubor. To je užitečné při "
603
+ "odstraňování potíží a chyb při platbách"
604
+
605
+ #: wp_shopping_cart_settings.php:315
606
+ msgid "Enable Sandbox Testing"
607
+ msgstr "Povolit Sandbox testování"
608
+
609
+ #: wp_shopping_cart_settings.php:317
610
+ msgid ""
611
+ "Check this option if you want to do PayPal sandbox testing. You will need to "
612
+ "create a PayPal sandbox account from PayPal Developer site"
613
+ msgstr ""
614
+ "Zaškrtněte, chcete-li provádět PayPal sandbox testování. Budete potřebovat "
615
+ "PayPal sandbox účet z vývojářského webu PayPal. "
616
+
617
+ #: wp_shopping_cart_settings.php:326 wp_shopping_cart_settings.php:415
618
+ msgid "Update Options &raquo;"
619
+ msgstr "Uložit nastavení &raquo;"
620
+
621
+ #: wp_shopping_cart_settings.php:330
622
+ msgid "Like the Simple WordPress Shopping Cart Plugin?"
623
+ msgstr "Jak se vám líbí Simple WordPress Shopping Cart Plugin?"
624
+
625
+ #: wp_shopping_cart_settings.php:330
626
+ msgid "Give it a good rating"
627
+ msgstr "Ohodnotit"
628
+
629
+ #: wp_shopping_cart_settings.php:333
630
+ msgid "Need a shopping cart plugin with more features? Checkout my "
631
+ msgstr "Potřebujete více funkcionalit? Kupte si"
632
+
633
+ #: wp_shopping_cart_settings.php:334
634
+ msgid "WP eStore Plugin"
635
+ msgstr "WP eStore Plugin"
636
+
637
+ #: wp_shopping_cart_settings.php:375
638
+ msgid "Purchase Confirmation Email Settings"
639
+ msgstr "Nastavení e-mailu s potvrzením o nákupu"
640
+
641
+ #: wp_shopping_cart_settings.php:378
642
+ msgid ""
643
+ "The following options affect the emails that gets sent to your buyers after "
644
+ "a purchase."
645
+ msgstr ""
646
+ "Následující nastavení má vliv na e-maily, které jsou odesílány vašim "
647
+ "zákazníkům po nákupu."
648
+
649
+ #: wp_shopping_cart_settings.php:383
650
+ msgid "Send Emails to Buyer After Purchase"
651
+ msgstr "Odeslat e-mail nakupujícímu po koupi"
652
+
653
+ #: wp_shopping_cart_settings.php:384
654
+ msgid ""
655
+ "If checked the plugin will send an email to the buyer with the sale details. "
656
+ "If digital goods are purchased then the email will contain the download "
657
+ "links for the purchased products."
658
+ msgstr ""
659
+ "Pokud je zatrženo, plugin pošle nakupujícímu e-mail s podrobnostmi o "
660
+ "zakázce. Pokud se jedná o digitální zboží, e-mail bude obsahovat odkazy na "
661
+ "zakoupené produkty ke stažení."
662
+
663
+ #: wp_shopping_cart_settings.php:388
664
+ msgid "From Email Address"
665
+ msgstr "Z e-mailové adresy"
666
+
667
+ #: wp_shopping_cart_settings.php:390
668
+ msgid ""
669
+ "Example: Your Name &lt;sales@your-domain.com&gt; This is the email address "
670
+ "that will be used to send the email to the buyer. This name and email "
671
+ "address will appear in the from field of the email."
672
+ msgstr ""
673
+ "Příklad: Vaše jméno <prodej@vasedomena.cz> To je e-mailová adresa, která "
674
+ "bude použita k zaslání e-mailu na kupujícím. Tato adresa a e-mail se zobrazí "
675
+ "u e-mailu v poli odesílatele."
676
+
677
+ #: wp_shopping_cart_settings.php:394
678
+ msgid "Buyer Email Subject"
679
+ msgstr "Předmět e-mailu nakupujícíhho"
680
+
681
+ #: wp_shopping_cart_settings.php:396
682
+ msgid "This is the subject of the email that will be sent to the buyer."
683
+ msgstr "Toto je předmět e-mailu, který bude odeslán nakupujícímu."
684
+
685
+ #: wp_shopping_cart_settings.php:400
686
+ msgid "Buyer Email Body"
687
+ msgstr "Tělo e-mailu nakupujícího"
688
+
689
+ #: wp_shopping_cart_settings.php:403
690
+ msgid ""
691
+ "This is the body of the email that will be sent to the buyer. Do not change "
692
+ "the text within the braces {}. You can use the following email tags in this "
693
+ "email body field:"
694
+ msgstr ""
695
+ "Toto je tělo e-mailu, který bude odeslán nakupujícímu. Neměňte text v "
696
+ "závorkách {}. Můžete použít následující značky v těle e-mailu:"
697
+
698
+ #: wp_shopping_cart_settings.php:404
699
+ msgid "First name of the buyer"
700
+ msgstr "Křestní jméno nakupujícího"
701
+
702
+ #: wp_shopping_cart_settings.php:405
703
+ msgid "Last name of the buyer"
704
+ msgstr "Příjmení nakupujícího"
705
+
706
+ #: wp_shopping_cart_settings.php:406
707
+ msgid ""
708
+ "The item details of the purchased product (this will include the download "
709
+ "link for digital items)."
710
+ msgstr ""
711
+ "Detaily položky zakoupeného produktu (bude obsahovat hyperlink pro digitální "
712
+ "zboží)."
713
+
714
+ #: wp_shopping_cart_shortcodes.php:16 wp_shopping_cart_shortcodes.php:40
715
+ msgid "Error! You must specify a product name in the shortcode."
716
+ msgstr "Chyba! Musíte specifikovat jméno produktu v shortcode."
717
+
718
+ #: wp_shopping_cart_shortcodes.php:19 wp_shopping_cart_shortcodes.php:43
719
+ msgid "Error! You must specify a price for your product in the shortcode."
720
+ msgstr "Chyba! Musíte specifikovat cenu produktu v shortcode."
721
+
722
+ #: wp_shopping_cart_shortcodes.php:46
723
+ msgid ""
724
+ "Error! You must specify a thumbnail image for your product in the shortcode."
725
+ msgstr "Chyba! Musíte specifikovat náhled obrázku produktu v shortcode."
726
+
727
+ #: lib/gallery-wp-cart.php:32
728
+ msgid "[View with PicLens]"
729
+ msgstr "[Prohlédnout pomocí PicLens]"
languages/WSPSC-pl_PL.mo ADDED
Binary file
languages/WSPSC-pl_PL.po ADDED
@@ -0,0 +1,380 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WSPSC v2.8.9\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-03-16 21:50+0100\n"
6
+ "PO-Revision-Date: 2014-03-06 20:57+0100\n"
7
+ "Last-Translator: Gregor Jakub <gregorjakub@xc.pl>\n"
8
+ "Language-Team: Patrick Skiebe <patrick@skiebe.eu>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: _e;__\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Language: de_DE\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../wp_shopping_cart.php:33
19
+ msgid "Your Shopping Cart"
20
+ msgstr "Twój Koszyk"
21
+
22
+ #: ../wp_shopping_cart.php:34
23
+ msgid "Your cart is empty"
24
+ msgstr "Twój Koszyk jest pusty"
25
+
26
+ #: ../wp_shopping_cart.php:140
27
+ msgid ""
28
+ "Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
29
+ "Page URL' field for the automatic redirection feature to work!"
30
+ msgstr ""
31
+ "Błędna konfiguracja Koszyka! Aby działało automatyczne przekierowanie, "
32
+ "trzeba w polu 'Koszyk - Strona' wpisać adres URL strony z Koszykiem!"
33
+
34
+ #: ../wp_shopping_cart.php:197
35
+ msgid "Visit The Shop"
36
+ msgstr "Wchodzę do sklepu"
37
+
38
+ #: ../wp_shopping_cart.php:209 ../wp_shopping_cart.php:606
39
+ msgid "USD"
40
+ msgstr "PLN"
41
+
42
+ #: ../wp_shopping_cart.php:213 ../wp_shopping_cart.php:609
43
+ msgid "$"
44
+ msgstr "zł"
45
+
46
+ #: ../wp_shopping_cart.php:242
47
+ msgid "Cart"
48
+ msgstr "Koszyk"
49
+
50
+ #: ../wp_shopping_cart.php:251
51
+ msgid "Hit enter to submit new Quantity."
52
+ msgstr "Proszę nacisnąć ENTER żeby zatwierdzić nową ilość artykułów."
53
+
54
+ #: ../wp_shopping_cart.php:262
55
+ msgid "Item Name"
56
+ msgstr "Artykuł"
57
+
58
+ #: ../wp_shopping_cart.php:262
59
+ msgid "Quantity"
60
+ msgstr "Ilość"
61
+
62
+ #: ../wp_shopping_cart.php:262
63
+ msgid "Price"
64
+ msgstr "Cena"
65
+
66
+ #: ../wp_shopping_cart.php:299
67
+ msgid "Remove"
68
+ msgstr "Usuń"
69
+
70
+ #: ../wp_shopping_cart.php:329
71
+ msgid "Subtotal"
72
+ msgstr "Razem"
73
+
74
+ #: ../wp_shopping_cart.php:330
75
+ msgid "Shipping"
76
+ msgstr "Wysyłka"
77
+
78
+ #: ../wp_shopping_cart.php:334
79
+ msgid "Total"
80
+ msgstr "Do zapłaty"
81
+
82
+ #: ../wp_shopping_cart.php:339
83
+ msgid "paypal_checkout_EN.png"
84
+ msgstr "paypal_checkout_PL.png"
85
+
86
+ #: ../wp_shopping_cart.php:339
87
+ msgid "Make payments with PayPal - it\\'s fast, free and secure!"
88
+ msgstr "Płatność PayPal - szybko, bezpłatnie i bezpiecznie!"
89
+
90
+ #: ../wp_shopping_cart.php:387 ../wp_shopping_cart.php:469
91
+ #: ../wp_shopping_cart.php:528 ../wp_shopping_cart.php:534
92
+ #: ../wp_shopping_cart.php:622
93
+ msgid "Add to Cart"
94
+ msgstr "Kupuję"
95
+
96
+ #: ../wp_shopping_cart.php:602
97
+ msgid "Options Updated!"
98
+ msgstr "Zaktualizowano ustawienia!"
99
+
100
+ #: ../wp_shopping_cart.php:662
101
+ msgid "Simple Paypal Shopping Cart Settings"
102
+ msgstr "Ustawienia Simple Paypal Shopping Cart"
103
+
104
+ #: ../wp_shopping_cart.php:664
105
+ msgid "For information, updates and detailed documentation, please visit:"
106
+ msgstr ""
107
+ "Aby uzyskać informacje, aktualizacje i dokładną dokumentację, proszę "
108
+ "odwiedzić:"
109
+
110
+ #: ../wp_shopping_cart.php:668
111
+ msgid "Usage:"
112
+ msgstr "Przeznaczenie:"
113
+
114
+ #: ../wp_shopping_cart.php:670
115
+ msgid "1. To add the 'Add to Cart' button simply add the trigger text"
116
+ msgstr ""
117
+ "1. Aby dodać przycisk 'Dodaj do Koszyka' na stronie lub przy artykule, "
118
+ "należy użyć skrótu"
119
+
120
+ #: ../wp_shopping_cart.php:670
121
+ msgid "PRODUCT-NAME"
122
+ msgstr "NAZWA-PRODUKTU"
123
+
124
+ #: ../wp_shopping_cart.php:670
125
+ msgid "PRODUCT-PRICE"
126
+ msgstr "CENA-PRODUKTU"
127
+
128
+ #: ../wp_shopping_cart.php:670
129
+ msgid ""
130
+ "to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
131
+ "PRICE with the actual name and price. For example: [wp_cart:Test Product:"
132
+ "price:15.00:end]"
133
+ msgstr ""
134
+ "w artykule lub na stronie obok produktu. Proszę zamienić NAZWA-PRODUKTU oraz "
135
+ "CENA-PRODUKTU przez faktyczną nazwę i rzeczywistą cenę produktu. Na "
136
+ "przykład: [wp_cart:Produkt-testowy:price:15.00:end]"
137
+
138
+ #: ../wp_shopping_cart.php:671
139
+ msgid ""
140
+ "2. To add the shopping cart to a post or page (eg. checkout page) simply add "
141
+ "the shortcode"
142
+ msgstr ""
143
+ "2. Aby pokazać koszyk na stronie lub w artykule (np. na stronie 'Koszyk') "
144
+ "należy użyć skrótu"
145
+
146
+ #: ../wp_shopping_cart.php:671
147
+ msgid ""
148
+ "to a post or page or use the sidebar widget to add the shopping cart to the "
149
+ "sidebar."
150
+ msgstr ""
151
+ "w artykule lub na stronie. Można również zaktywować Sidebar Widget aby "
152
+ "pokazać Koszyk w Sidebarze."
153
+
154
+ #: ../wp_shopping_cart.php:679
155
+ msgid "PayPal and Shopping Cart Settings"
156
+ msgstr "Ustawienia PayPal i Koszyka"
157
+
158
+ #: ../wp_shopping_cart.php:685
159
+ msgid "Paypal Email Address"
160
+ msgstr "Adres e-mail w Paypal"
161
+
162
+ #: ../wp_shopping_cart.php:689
163
+ msgid "Shopping Cart title"
164
+ msgstr "Nazwa Koszyka"
165
+
166
+ #: ../wp_shopping_cart.php:693
167
+ msgid "Text/Image to Show When Cart Empty"
168
+ msgstr "Tekst/Obrazek dla pustego Koszyka"
169
+
170
+ #: ../wp_shopping_cart.php:694
171
+ msgid ""
172
+ "You can either enter plain text or the URL of an image that you want to show "
173
+ "when the shopping cart is empty"
174
+ msgstr ""
175
+ "Można wpisać zwykły tekst lub podać adres URL obrazka (będzie wyświetlony "
176
+ "przy pustym stanie Koszyka)"
177
+
178
+ #: ../wp_shopping_cart.php:697
179
+ msgid "Currency"
180
+ msgstr "Waluta"
181
+
182
+ #: ../wp_shopping_cart.php:698 ../wp_shopping_cart.php:702
183
+ #: ../wp_shopping_cart.php:728
184
+ msgid "e.g."
185
+ msgstr "np."
186
+
187
+ #: ../wp_shopping_cart.php:701
188
+ msgid "Currency Symbol"
189
+ msgstr "Symbol waluty"
190
+
191
+ #: ../wp_shopping_cart.php:707
192
+ msgid "Base Shipping Cost"
193
+ msgstr "Podstawowa koszta wysyłki"
194
+
195
+ #: ../wp_shopping_cart.php:708
196
+ msgid ""
197
+ "This is the base shipping cost that will be added to the total of individual "
198
+ "products shipping cost. Put 0 if you do not want to charge shipping cost or "
199
+ "use base shipping cost."
200
+ msgstr ""
201
+ "Podstawowe koszta wysyłki zostają dodane do kwoty indywidualnych kosztów "
202
+ "wysyłki każdego produktu. Proszę wpisać 0 jeśli nie życzą sobie Państwo "
203
+ "podstawowych lub żadnych kosztów wysyłki."
204
+
205
+ #: ../wp_shopping_cart.php:708
206
+ msgid "Learn More on Shipping Calculation"
207
+ msgstr "Więcej informacji o obliczeniu kosztów wysyłki"
208
+
209
+ #: ../wp_shopping_cart.php:712
210
+ msgid "Free Shipping for Orders Over"
211
+ msgstr "Bez dodatkowych kosztów wysyłki dla zamówień powyżej"
212
+
213
+ #: ../wp_shopping_cart.php:713
214
+ msgid ""
215
+ "When a customer orders more than this amount he/she will get free shipping. "
216
+ "Leave empty if you do not want to use it."
217
+ msgstr ""
218
+ "Jeśli zamówienie klienta przekroczy tą kwotę, koszta wysyłki wynoszą zero. "
219
+ "Proszę zostawić polę pustę, jeśli nie chcą Państwo używać tej funkcji."
220
+
221
+ #: ../wp_shopping_cart.php:717
222
+ msgid "Must Collect Shipping Address on PayPal"
223
+ msgstr "Klient musi podać w PayPal swój adres wysyłkowy"
224
+
225
+ #: ../wp_shopping_cart.php:718
226
+ msgid ""
227
+ "If checked the customer will be forced to enter a shipping address on PayPal "
228
+ "when checking out."
229
+ msgstr ""
230
+ "Jeśli ta opcja jest aktywna, klient musi podać przy zamówieniu przez PayPal "
231
+ "swój adres wysyłki."
232
+
233
+ #: ../wp_shopping_cart.php:722
234
+ msgid "Use PayPal Profile Based Shipping"
235
+ msgstr "Użyj kalkulatora kosztów wysyłki PayPal"
236
+
237
+ #: ../wp_shopping_cart.php:723
238
+ msgid "Check this if you want to use"
239
+ msgstr "Tą opcję należy zaktywować aby używać"
240
+
241
+ #: ../wp_shopping_cart.php:723
242
+ msgid "PayPal profile based shipping"
243
+ msgstr "koszta wysyłki obliczone przez PayPal"
244
+
245
+ #: ../wp_shopping_cart.php:723
246
+ msgid ""
247
+ "Using this will ignore any other shipping options that you have specified in "
248
+ "this plugin."
249
+ msgstr ""
250
+ "Zaznaczenie tej opcji zdezaktywuje wszystkie inne opcje kosztów wysyłki tej "
251
+ "wtyczki."
252
+
253
+ #: ../wp_shopping_cart.php:727
254
+ msgid "Add to Cart button text or Image"
255
+ msgstr "Tekst lub zdjęcie dla przycisku \"Dodaj do koszyka\""
256
+
257
+ #: ../wp_shopping_cart.php:728
258
+ msgid ""
259
+ "To use a customized image as the button simply enter the URL of the image "
260
+ "file."
261
+ msgstr ""
262
+ "Aby użyć własnego obrazka dla tego przycisku, należy podać adres URL obrazka."
263
+
264
+ #: ../wp_shopping_cart.php:732
265
+ msgid "Return URL"
266
+ msgstr "Powrotny URL"
267
+
268
+ #: ../wp_shopping_cart.php:733
269
+ msgid ""
270
+ "This is the URL the customer will be redirected to after a successful payment"
271
+ msgstr ""
272
+ "Klient zostanie przeniesiony na ten URL jeśli proces zamówienia zakończył "
273
+ "się sukcesem"
274
+
275
+ #: ../wp_shopping_cart.php:737
276
+ msgid "Products Page URL"
277
+ msgstr "Adres URL strony z produktami"
278
+
279
+ #: ../wp_shopping_cart.php:738
280
+ msgid ""
281
+ "This is the URL of your products page if you have any. If used, the shopping "
282
+ "cart widget will display a link to this page when cart is empty"
283
+ msgstr ""
284
+ "Jeśli posiadają Państwo osobną stronę z produktami, należy tu podać jej "
285
+ "adres URL. Zostanie on wyświetlona w Koszyku, jeśli koszyk będzie pusty."
286
+
287
+ #: ../wp_shopping_cart.php:742
288
+ msgid "Automatic redirection to checkout page"
289
+ msgstr "Automatyczne przekierowanie do Koszyka"
290
+
291
+ #: ../wp_shopping_cart.php:744
292
+ msgid "Checkout Page URL"
293
+ msgstr "Adres strony z Koszykiem"
294
+
295
+ #: ../wp_shopping_cart.php:745
296
+ msgid ""
297
+ "If checked the visitor will be redirected to the Checkout page after a "
298
+ "product is added to the cart. You must enter a URL in the Checkout Page URL "
299
+ "field for this to work."
300
+ msgstr ""
301
+ "Jeśli ta opcja jest aktywna, klienci zostają przekierowani do strony z "
302
+ "Koszykiem po dodaniu produktu do Koszyka. Należy podać adres URL strony z "
303
+ "Koszykiem, aby korzystać z tej funkcji."
304
+
305
+ #: ../wp_shopping_cart.php:749
306
+ msgid "Reset Cart After Redirection to Return Page"
307
+ msgstr "Wyzerować Koszyk po przekierowaniu na stronę powrotną sklepu"
308
+
309
+ #: ../wp_shopping_cart.php:751
310
+ msgid ""
311
+ "If checked the shopping cart will be reset when the customer lands on the "
312
+ "return URL (Thank You) page."
313
+ msgstr ""
314
+ "Jeśli ta opcja jest aktywna, Koszyk zostanie wyzerowany po powrocie klienta "
315
+ "do sklepu z serwisu PayPal (\"Dziękujemy za dokonane zakupy\")."
316
+
317
+ #: ../wp_shopping_cart.php:758
318
+ msgid "Hide Shopping Cart Image"
319
+ msgstr "Nie wyświetlać symbolu Koszyka"
320
+
321
+ #: ../wp_shopping_cart.php:759
322
+ msgid "If ticked the shopping cart image will not be shown."
323
+ msgstr "Jeśli ta opcja jest aktywna, symbol Koszyka nie zostanie wyświetlony."
324
+
325
+ #: ../wp_shopping_cart.php:765
326
+ msgid "Use WP Affiliate Platform"
327
+ msgstr "Biorę udział w programie WP Affiliate Platform"
328
+
329
+ #: ../wp_shopping_cart.php:767
330
+ msgid "Check this if using with the"
331
+ msgstr "Tą opcję należy zaznaczyć, aby użyć wtyczki w"
332
+
333
+ #: ../wp_shopping_cart.php:767
334
+ msgid ""
335
+ "This plugin lets you run your own affiliate campaign/program and allows you "
336
+ "to reward (pay commission) your affiliates for referred sales"
337
+ msgstr ""
338
+ "Wtyczka umożliwia prowadzenie własnego programu afiliacyjnego i nagradzanie "
339
+ "partnerów dystrybucyjnych poprzez system prowizji."
340
+
341
+ #: ../wp_shopping_cart.php:772
342
+ msgid "Update Options &raquo;"
343
+ msgstr "Zapisz ustawienia &raquo;"
344
+
345
+ #: ../wp_shopping_cart.php:776
346
+ msgid "Like the Simple WordPress Shopping Cart Plugin?"
347
+ msgstr "Podoba się Państwu wtyczka Simple WordPress Shopping Cart Plugin?"
348
+
349
+ #: ../wp_shopping_cart.php:776
350
+ msgid "Give it a good rating"
351
+ msgstr "Oddaj dobrą ocenę"
352
+
353
+ #: ../wp_shopping_cart.php:781
354
+ msgid "WP Paypal Shopping Cart Options"
355
+ msgstr "WP Paypal Ustawienia Koszyka"
356
+
357
+ #: ../wp_shopping_cart.php:791 ../wp_shopping_cart.php:819
358
+ #: ../wp_shopping_cart.php:820
359
+ msgid "WP Paypal Shopping Cart"
360
+ msgstr "WP Paypal Koszyk"
361
+
362
+ #: ../wp_shopping_cart.php:791
363
+ msgid "WP Shopping Cart"
364
+ msgstr "WP Koszyk"
365
+
366
+ #: ../wp_shopping_cart.php:799
367
+ msgid "Shopping Cart"
368
+ msgstr "Koszyk"
369
+
370
+ #: ../wp_shopping_cart.php:811
371
+ msgid "Set the Plugin Settings from the Settings menu"
372
+ msgstr "Konfigurację wtyczki należy zmienić w ustawieniach"
373
+
374
+ #: ../wp_shopping_cart.php:818
375
+ msgid "Display WP Paypal Shopping Cart."
376
+ msgstr "WP Paypal Pokaż Koszyk."
377
+
378
+ #: ../wp_shopping_cart.php:832
379
+ msgid "Settings"
380
+ msgstr "Ustawienia"
paypal.php CHANGED
@@ -159,6 +159,7 @@ class paypal_ipn_handler {
159
  $cart_items = get_post_meta( $post_id, 'wpsc_cart_items', true );
160
  $product_details = "";
161
  $item_counter = 1;
 
162
  if($cart_items){
163
  foreach ($cart_items as $item){
164
  if($item_counter != 1){
@@ -169,9 +170,21 @@ class paypal_ipn_handler {
169
  $file_url = base64_decode($item['file_url']);
170
  $product_details .= "Download Link: ".$file_url."\n";
171
  }
 
 
 
172
  $item_counter++;
173
  }
174
  }
 
 
 
 
 
 
 
 
 
175
  $args = array();
176
  $args['product_details'] = $product_details;
177
  update_post_meta($post_id, 'wpspsc_items_ordered', $product_details);
@@ -180,15 +193,28 @@ class paypal_ipn_handler {
180
  $body = get_option('wpspc_buyer_email_body');
181
  $args['email_body'] = $body;
182
  $body = wpspc_apply_dynamic_tags_on_email_body($this->ipn_data, $args);
183
- if($buyer_email){
 
 
184
  if(get_option('wpspc_send_buyer_email'))
185
  {
186
- $headers = 'From: '.$from_email . "\r\n";
187
  wp_mail($buyer_email, $subject, $body, $headers);
188
  $this->debug_log('Product Email successfully sent to '.$buyer_email,true);
189
  update_post_meta( $post_id, 'wpsc_buyer_email_sent', 'Email sent to: '.$buyer_email);
190
  }
191
  }
 
 
 
 
 
 
 
 
 
 
 
 
192
  }
193
 
194
  /**** Affiliate plugin integratin ****/
159
  $cart_items = get_post_meta( $post_id, 'wpsc_cart_items', true );
160
  $product_details = "";
161
  $item_counter = 1;
162
+ $shipping = "";
163
  if($cart_items){
164
  foreach ($cart_items as $item){
165
  if($item_counter != 1){
170
  $file_url = base64_decode($item['file_url']);
171
  $product_details .= "Download Link: ".$file_url."\n";
172
  }
173
+ if(!empty($item['shipping'])){
174
+ $shipping += $item['shipping'] * $item['quantity'];
175
+ }
176
  $item_counter++;
177
  }
178
  }
179
+ if(empty($shipping)){
180
+ $shipping = "0.00";
181
+ }
182
+ else{
183
+ $baseShipping = get_option('cart_base_shipping_cost');
184
+ $shipping = $shipping + $baseShipping;
185
+ $shipping = wpspsc_number_format_price($shipping);
186
+ }
187
+ update_post_meta( $post_id, 'wpsc_shipping_amount', $shipping);
188
  $args = array();
189
  $args['product_details'] = $product_details;
190
  update_post_meta($post_id, 'wpspsc_items_ordered', $product_details);
193
  $body = get_option('wpspc_buyer_email_body');
194
  $args['email_body'] = $body;
195
  $body = wpspc_apply_dynamic_tags_on_email_body($this->ipn_data, $args);
196
+ $headers = 'From: '.$from_email . "\r\n";
197
+ if(!empty($buyer_email)){
198
+ $args['payer_email'] = $buyer_email;
199
  if(get_option('wpspc_send_buyer_email'))
200
  {
 
201
  wp_mail($buyer_email, $subject, $body, $headers);
202
  $this->debug_log('Product Email successfully sent to '.$buyer_email,true);
203
  update_post_meta( $post_id, 'wpsc_buyer_email_sent', 'Email sent to: '.$buyer_email);
204
  }
205
  }
206
+ $notify_email = get_option('wpspc_notify_email_address');
207
+ $seller_email_subject = get_option('wpspc_seller_email_subj');
208
+ $seller_email_body = get_option('wpspc_seller_email_body');
209
+ $args['email_body'] = $seller_email_body;
210
+ $seller_email_body = wpspc_apply_dynamic_tags_on_email_body($this->ipn_data, $args);
211
+ if(!empty($notify_email)){
212
+ if(get_option('wpspc_send_seller_email'))
213
+ {
214
+ wp_mail($notify_email, $seller_email_subject, $seller_email_body, $headers);
215
+ $this->debug_log('Notify Email successfully sent to '.$notify_email,true);
216
+ }
217
+ }
218
  }
219
 
220
  /**** Affiliate plugin integratin ****/
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WordPress Simple Paypal Shopping Cart ===
2
- Contributors: Ruhul Amin, Tips and Tricks HQ
3
  Donate link: http://www.tipsandtricks-hq.com
4
- Tags: cart, shopping cart, WordPress shopping cart, Paypal shopping cart, sell products, online shop, shop, e-commerce, wordpress ecommerce, wordpress store, store, PayPal cart widget, sell digital products, digital downloads, paypal, paypal cart, e-shop, compact cart,
5
  Requires at least: 3.0
6
- Tested up to: 3.8.1
7
- Stable tag: 3.9.4
8
  License: GPLv2 or later
9
 
10
  Very easy to use Simple WordPress Paypal Shopping Cart Plugin. Great for selling products online in one click from your WordPress site.
@@ -19,10 +19,10 @@ http://www.youtube.com/watch?v=tEZWfTmZ2kk
19
 
20
  It can be easily integrated with the NextGen Photo Gallery plugin to accommodate the selling of photographs from your gallery.
21
 
22
- WP simple Paypal Cart Plugin, interfaces with the Paypal sandbox to allow for testing.
23
-
24
  This plugin is a lightweight solution (with minimal number of lines of code and minimal options) so it doesn't slow down your site.
25
 
 
 
26
  For video tutorial, screenshots, detailed documentation, support and updates, please visit:
27
  [WP Simple Cart Details Page](http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768)
28
  or
@@ -34,23 +34,47 @@ or
34
  * Use a function to add dynamic "add to cart" button directly in your theme.
35
  * Minimal number of configuration items to keep the plugin lightweight.
36
  * Sell any kind of tangible products from your site.
37
- * Sell any type of media file that you upload to your WordPress site. For example: you can sell ebooks (PDF), music (MP3), videos, photos etc.
 
38
  * Your customers will automatically get an email with the media file that they paid for.
39
  * Show a nicely formatted product display box on the fly using a simple shortcode.
40
  * You can use Paypal sandbox to do testing if needed (before you go live).
41
  * Collect special instructions from your customers on the PayPal checkout page.
42
  * The orders menu will show you all the orders that you have received from your site.
43
  * Ability to configure an email that will get sent to your buyers after they purchase your product.
44
- * Ability to configure discount coupons.
 
45
  * You can create coupons and give to your customers. When they use coupons during the checkout they will receive a discount.
46
  * Compatible with WordPress Multi-site Installation.
47
  * Ability to specify SKU (item number) for each of your products in the shortcode.
48
  * Ability to customize the add to cart button image and use a custom image for your purchase buttons.
49
  * Track coupons with the order to see which customer used which coupon code.
50
  * Ability to add a compact shopping cart to your site using a shortcode.
 
51
  * Can be translated into any language.
52
  * and more...
53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  = Note =
55
 
56
  There are a few exact duplicate copies of this plugin that other people made. We have a few users who are getting confused as to which one is the original simple shopping cart plugin. This is the original simple PayPal shopping cart and you can verify it with the following information:
@@ -109,7 +133,7 @@ example usage: [wp_cart_button name="Test Product" price="29.95" var1="Size|smal
109
  1. Unzip and Upload the folder 'wordpress-paypal-shopping-cart' to the '/wp-content/plugins/' directory
110
  2. Activate the plugin through the 'Plugins' menu in WordPress
111
  3. Go to Settings and configure the options (for example: your email, Shopping Cart name, Return URL etc.)
112
- 4. Use the trigger text to add a product to a post or page where u want it to appear.
113
 
114
  == Frequently Asked Questions ==
115
  1. Can this plugin be used to accept paypal payment for a service or a product? Yes
@@ -122,6 +146,10 @@ example usage: [wp_cart_button name="Test Product" price="29.95" var1="Size|smal
122
  Check the documentation on [how to add buy buttons to the sidebar](http://www.tipsandtricks-hq.com/ecommerce/wordpress-shopping-cart-additional-resources-322#add_button_in_sidebar)
123
  8. Can I use this plugin to sell digital downloads?
124
  Yes. See the [digital download usage documnentation] (http://www.tipsandtricks-hq.com/ecommerce/wp-simple-cart-sell-digital-downloads-2468)
 
 
 
 
125
 
126
  == Screenshots ==
127
  Visit the plugin site at http://www.tipsandtricks-hq.com/?p=768 for screenshots.
@@ -132,6 +160,17 @@ None
132
 
133
  == Changelog ==
134
 
 
 
 
 
 
 
 
 
 
 
 
135
  = 3.9.4 =
136
  - Fixed a minor bug in the new compact cart shortcode [wp_compact_cart]
137
 
1
  === WordPress Simple Paypal Shopping Cart ===
2
+ Contributors: Tips and Tricks HQ, Ruhul Amin, wptipsntricks
3
  Donate link: http://www.tipsandtricks-hq.com
4
+ Tags: cart, shopping cart, WordPress shopping cart, Paypal shopping cart, sell, selling, sell products, online shop, shop, e-commerce, wordpress ecommerce, wordpress store, store, PayPal cart widget, sell digital products, sell service, digital downloads, paypal, paypal cart, e-shop, compact cart,
5
  Requires at least: 3.0
6
+ Tested up to: 3.9
7
+ Stable tag: 3.9.6
8
  License: GPLv2 or later
9
 
10
  Very easy to use Simple WordPress Paypal Shopping Cart Plugin. Great for selling products online in one click from your WordPress site.
19
 
20
  It can be easily integrated with the NextGen Photo Gallery plugin to accommodate the selling of photographs from your gallery.
21
 
 
 
22
  This plugin is a lightweight solution (with minimal number of lines of code and minimal options) so it doesn't slow down your site.
23
 
24
+ WP simple Paypal Cart Plugin, interfaces with the Paypal sandbox to allow for testing.
25
+
26
  For video tutorial, screenshots, detailed documentation, support and updates, please visit:
27
  [WP Simple Cart Details Page](http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768)
28
  or
34
  * Use a function to add dynamic "add to cart" button directly in your theme.
35
  * Minimal number of configuration items to keep the plugin lightweight.
36
  * Sell any kind of tangible products from your site.
37
+ * Ability to sell services from your your site.
38
+ * Sell any type of media file that you upload to your WordPress site. For example: you can sell ebooks (PDF), music files (MP3), audio files, videos, photos, images etc.
39
  * Your customers will automatically get an email with the media file that they paid for.
40
  * Show a nicely formatted product display box on the fly using a simple shortcode.
41
  * You can use Paypal sandbox to do testing if needed (before you go live).
42
  * Collect special instructions from your customers on the PayPal checkout page.
43
  * The orders menu will show you all the orders that you have received from your site.
44
  * Ability to configure an email that will get sent to your buyers after they purchase your product.
45
+ * Ability to configure a sale notification email that gets sent to the site admin when a customer purchase your item(s).
46
+ * Ability to configure discount coupons. Offer special discounts on your store/shop.
47
  * You can create coupons and give to your customers. When they use coupons during the checkout they will receive a discount.
48
  * Compatible with WordPress Multi-site Installation.
49
  * Ability to specify SKU (item number) for each of your products in the shortcode.
50
  * Ability to customize the add to cart button image and use a custom image for your purchase buttons.
51
  * Track coupons with the order to see which customer used which coupon code.
52
  * Ability to add a compact shopping cart to your site using a shortcode.
53
+ * Ability to use a custom checkout page style.
54
  * Can be translated into any language.
55
  * and more...
56
 
57
+ = Shopping Cart Setup Video Tutorials =
58
+
59
+ There is a series of video tutorials to show you how to setup the shopping cart on your site.
60
+
61
+ Check the video tutorials [here](http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768).
62
+
63
+ = Language Translations =
64
+
65
+ The following language translations are already available:
66
+
67
+ * English
68
+ * German
69
+ * Spanish
70
+ * French
71
+ * Italian
72
+ * Japanese
73
+ * Polish
74
+ * Czech
75
+
76
+ You can translate the plugin using [this documentation](http://www.tipsandtricks-hq.com/ecommerce/translating-the-wp-simple-shopping-cart-plugin-2627).
77
+
78
  = Note =
79
 
80
  There are a few exact duplicate copies of this plugin that other people made. We have a few users who are getting confused as to which one is the original simple shopping cart plugin. This is the original simple PayPal shopping cart and you can verify it with the following information:
133
  1. Unzip and Upload the folder 'wordpress-paypal-shopping-cart' to the '/wp-content/plugins/' directory
134
  2. Activate the plugin through the 'Plugins' menu in WordPress
135
  3. Go to Settings and configure the options (for example: your email, Shopping Cart name, Return URL etc.)
136
+ 4. Use the trigger text to add a product to a post or page where you want it to appear.
137
 
138
  == Frequently Asked Questions ==
139
  1. Can this plugin be used to accept paypal payment for a service or a product? Yes
146
  Check the documentation on [how to add buy buttons to the sidebar](http://www.tipsandtricks-hq.com/ecommerce/wordpress-shopping-cart-additional-resources-322#add_button_in_sidebar)
147
  8. Can I use this plugin to sell digital downloads?
148
  Yes. See the [digital download usage documnentation] (http://www.tipsandtricks-hq.com/ecommerce/wp-simple-cart-sell-digital-downloads-2468)
149
+ 9. Can I configure discount coupon with this shopping cart plugin?
150
+ Yes. you can setup discount coupons from the "Coupon/Discount" interface of the plugin.
151
+ 10. Can I configure product sale notification so I get notified when a sale is made?
152
+ Yes. You can configure sale notification from the "Email Settings" interface of the plugin.
153
 
154
  == Screenshots ==
155
  Visit the plugin site at http://www.tipsandtricks-hq.com/?p=768 for screenshots.
160
 
161
  == Changelog ==
162
 
163
+ = 3.9.6 =
164
+ - Added Czech Language translation to the plugin. The Czech translation file was submitted by Tomas Sykora.
165
+ - Added a new option/feature to specify a custom paypal checkout page style name. The plugin will use the custom checkout page style if you specify one.
166
+ - Each order now also shows the shipping amount in the order managment interface.
167
+
168
+ = 3.9.5 =
169
+ - Added a new feature that lets you (the site admin) configure a sale notification email for the admin. When your customer purchase a product, you get a notification email. Activate this feature from the "Email Settings" interface of the plugin.
170
+ - Added Polish language translation to the plugin. The Polish langage translation file was submitted by Gregor Konrad.
171
+ - Fixed a minor issue with custom button images that uses HTTPS URL.
172
+ - Added more CSS classes in the shopping cart so you can apply CSS tweaks easily.
173
+
174
  = 3.9.4 =
175
  - Fixed a minor bug in the new compact cart shortcode [wp_compact_cart]
176
 
wp_shopping_cart.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Simple Paypal Shopping cart
4
- Version: v3.9.4
5
  Plugin URI: http://www.tipsandtricks-hq.com/?p=768
6
  Author: Tips and Tricks HQ, Ruhul Amin
7
  Author URI: http://www.tipsandtricks-hq.com/
@@ -12,7 +12,7 @@ if(!isset($_SESSION)){
12
  session_start();
13
  }
14
 
15
- define('WP_CART_VERSION', '3.9.4');
16
  define('WP_CART_FOLDER', dirname(plugin_basename(__FILE__)));
17
  define('WP_CART_PATH',plugin_dir_path( __FILE__ ));
18
  define('WP_CART_URL', plugins_url('',__FILE__));
@@ -245,19 +245,21 @@ function print_wp_shopping_cart()
245
  $empty_cart_text = get_option('wp_cart_empty_text');
246
  if (!empty($empty_cart_text))
247
  {
248
- if (preg_match("/http/", $empty_cart_text))
249
- {
250
- $output .= '<img src="'.$empty_cart_text.'" alt="'.$empty_cart_text.'" />';
251
- }
252
- else
253
- {
254
- $output .= $empty_cart_text;
255
- }
 
 
256
  }
257
  $cart_products_page_url = get_option('cart_products_page_url');
258
  if (!empty($cart_products_page_url))
259
  {
260
- $output .= '<br /><a rel="nofollow" href="'.$cart_products_page_url.'">'.(__("Visit The Shop", "WSPSC")).'</a>';
261
  }
262
  return $output;
263
  }
@@ -669,7 +671,7 @@ function print_wp_cart_button_for_product($name, $price, $shipping=0, $var1='',
669
  else
670
  {
671
  //Use the button text or image value from the settings
672
- if (preg_match("/http:/", $addcart)){ // Use the image as the 'add to cart' button
673
  $replacement .= '<input type="image" src="'.$addcart.'" class="wp_cart_button" alt="'.(__("Add to Cart", "WSPSC")).'"/>';
674
  }
675
  else{
@@ -687,6 +689,10 @@ function print_wp_cart_button_for_product($name, $price, $shipping=0, $var1='',
687
  $file_url = base64_encode($file_url);
688
  $replacement .= '<input type="hidden" name="file_url" value="'.$file_url.'" />';
689
  }
 
 
 
 
690
  $replacement .= '</form>';
691
  $replacement .= '</div>';
692
  return $replacement;
1
  <?php
2
  /*
3
  Plugin Name: WP Simple Paypal Shopping cart
4
+ Version: v3.9.6
5
  Plugin URI: http://www.tipsandtricks-hq.com/?p=768
6
  Author: Tips and Tricks HQ, Ruhul Amin
7
  Author URI: http://www.tipsandtricks-hq.com/
12
  session_start();
13
  }
14
 
15
+ define('WP_CART_VERSION', '3.9.6');
16
  define('WP_CART_FOLDER', dirname(plugin_basename(__FILE__)));
17
  define('WP_CART_PATH',plugin_dir_path( __FILE__ ));
18
  define('WP_CART_URL', plugins_url('',__FILE__));
245
  $empty_cart_text = get_option('wp_cart_empty_text');
246
  if (!empty($empty_cart_text))
247
  {
248
+ $output .= '<div class="wp_cart_empty_cart_section">';
249
+ if (preg_match("/http/", $empty_cart_text))
250
+ {
251
+ $output .= '<img src="'.$empty_cart_text.'" alt="'.$empty_cart_text.'" class="wp_cart_empty_cart_image" />';
252
+ }
253
+ else
254
+ {
255
+ $output .= $empty_cart_text;
256
+ }
257
+ $output .= '</div>';
258
  }
259
  $cart_products_page_url = get_option('cart_products_page_url');
260
  if (!empty($cart_products_page_url))
261
  {
262
+ $output .= '<div class="wp_cart_visit_shop_link"><a rel="nofollow" href="'.$cart_products_page_url.'">'.(__("Visit The Shop", "WSPSC")).'</a></div>';
263
  }
264
  return $output;
265
  }
671
  else
672
  {
673
  //Use the button text or image value from the settings
674
+ if (preg_match("/http:/", $addcart) || preg_match("/https:/", $addcart)){ // Use the image as the 'add to cart' button
675
  $replacement .= '<input type="image" src="'.$addcart.'" class="wp_cart_button" alt="'.(__("Add to Cart", "WSPSC")).'"/>';
676
  }
677
  else{
689
  $file_url = base64_encode($file_url);
690
  $replacement .= '<input type="hidden" name="file_url" value="'.$file_url.'" />';
691
  }
692
+ $page_style_name = get_option('wp_cart_paypal_co_page_style');
693
+ if(!empty($page_style_name)){
694
+ $replacement .= '<input type="hidden" name="page_style" value="'.$page_style_name.'" />';
695
+ }
696
  $replacement .= '</form>';
697
  $replacement .= '</div>';
698
  return $replacement;
wp_shopping_cart_misc_functions.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
 
3
  /* TODO
 
4
  - add a reset cart button
5
  - After processing an IPN, call a function to clear all trash orders that are older than 6 hours.
6
- - add an option for the admin email notification.
7
- - Mention the available languages
8
  - Add more filters and hooks
9
  */
10
 
@@ -143,8 +143,8 @@ function wpspc_update_cart_items_record()
143
 
144
  function wpspc_apply_dynamic_tags_on_email_body($ipn_data, $args)
145
  {
146
- $tags = array("{first_name}","{last_name}","{product_details}");
147
- $vals = array($ipn_data['first_name'], $ipn_data['last_name'], $args['product_details']);
148
 
149
  $body = stripslashes(str_replace($tags, $vals, $args['email_body']));
150
  return $body;
@@ -167,4 +167,15 @@ function wpspc_run_activation()
167
  $email_body .= "\nThank you for your purchase! You ordered the following item(s):\n";
168
  $email_body .= "\n{product_details}";
169
  add_option('wpspc_buyer_email_body', $email_body);
 
 
 
 
 
 
 
 
 
 
 
170
  }
1
  <?php
2
 
3
  /* TODO
4
+ - Show the shipping and tax amount (if any) in the orders interface (it is already available in the object)
5
  - add a reset cart button
6
  - After processing an IPN, call a function to clear all trash orders that are older than 6 hours.
7
+ - A new fancy cart shortcode (new icons and nice CSS styles)
 
8
  - Add more filters and hooks
9
  */
10
 
143
 
144
  function wpspc_apply_dynamic_tags_on_email_body($ipn_data, $args)
145
  {
146
+ $tags = array("{first_name}","{last_name}","{product_details}","{payer_email}");
147
+ $vals = array($ipn_data['first_name'], $ipn_data['last_name'], $args['product_details'], $args['payer_email']);
148
 
149
  $body = stripslashes(str_replace($tags, $vals, $args['email_body']));
150
  return $body;
167
  $email_body .= "\nThank you for your purchase! You ordered the following item(s):\n";
168
  $email_body .= "\n{product_details}";
169
  add_option('wpspc_buyer_email_body', $email_body);
170
+
171
+ $notify_email_address = get_bloginfo('admin_email');
172
+ add_option('wpspc_notify_email_address', $notify_email_address);
173
+ $seller_email_subj = "Notification of product sale";
174
+ add_option('wpspc_seller_email_subj', $seller_email_subj);
175
+ $seller_email_body = "Dear Seller\n";
176
+ $seller_email_body .= "\nThis mail is to notify you of a product sale.\n";
177
+ $seller_email_body .= "\n{product_details}";
178
+ $seller_email_body .= "\n\nThe sale was made to {first_name} {last_name} ({payer_email})";
179
+ $seller_email_body .= "\n\nThanks";
180
+ add_option('wpspc_seller_email_body', $seller_email_body);
181
  }
wp_shopping_cart_orders.php CHANGED
@@ -53,6 +53,7 @@ function wpspc_order_review_meta_box($wpsc_cart_orders)
53
  $txn_id = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_txn_id', true );
54
  $ip_address = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_ipaddress', true );
55
  $total_amount = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_total_amount', true );
 
56
  $address = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_address', true );
57
  $email_sent_value = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_buyer_email_sent', true );
58
 
@@ -89,6 +90,10 @@ function wpspc_order_review_meta_box($wpsc_cart_orders)
89
  <td><?php _e("Total", "WSPSC");?></td>
90
  <td><input type="text" size="20" name="wpsc_total_amount" value="<?php echo $total_amount; ?>" /></td>
91
  </tr>
 
 
 
 
92
  <tr>
93
  <td><?php _e("Address", "WSPSC");?></td>
94
  <td><textarea name="wpsc_address" cols="83" rows="2"><?php echo $address;?></textarea></td>
@@ -129,6 +134,9 @@ function wpspc_cart_save_orders( $order_id, $wpsc_cart_orders ) {
129
  if ( isset( $_POST['wpsc_total_amount'] ) && $_POST['wpsc_total_amount'] != '' ) {
130
  update_post_meta( $order_id, 'wpsc_total_amount', $_POST['wpsc_total_amount'] );
131
  }
 
 
 
132
  if ( isset( $_POST['wpsc_address'] ) && $_POST['wpsc_address'] != '' ) {
133
  update_post_meta( $order_id, 'wpsc_address', $_POST['wpsc_address'] );
134
  }
53
  $txn_id = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_txn_id', true );
54
  $ip_address = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_ipaddress', true );
55
  $total_amount = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_total_amount', true );
56
+ $shipping_amount = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_shipping_amount', true );
57
  $address = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_address', true );
58
  $email_sent_value = get_post_meta( $wpsc_cart_orders->ID, 'wpsc_buyer_email_sent', true );
59
 
90
  <td><?php _e("Total", "WSPSC");?></td>
91
  <td><input type="text" size="20" name="wpsc_total_amount" value="<?php echo $total_amount; ?>" /></td>
92
  </tr>
93
+ <tr>
94
+ <td><?php _e("Shipping", "WSPSC");?></td>
95
+ <td><input type="text" size="20" name="wpsc_shipping_amount" value="<?php echo $shipping_amount; ?>" /></td>
96
+ </tr>
97
  <tr>
98
  <td><?php _e("Address", "WSPSC");?></td>
99
  <td><textarea name="wpsc_address" cols="83" rows="2"><?php echo $address;?></textarea></td>
134
  if ( isset( $_POST['wpsc_total_amount'] ) && $_POST['wpsc_total_amount'] != '' ) {
135
  update_post_meta( $order_id, 'wpsc_total_amount', $_POST['wpsc_total_amount'] );
136
  }
137
+ if ( isset( $_POST['wpsc_shipping_amount'] ) && $_POST['wpsc_shipping_amount'] != '' ) {
138
+ update_post_meta( $order_id, 'wpsc_shipping_amount', $_POST['wpsc_shipping_amount'] );
139
+ }
140
  if ( isset( $_POST['wpsc_address'] ) && $_POST['wpsc_address'] != '' ) {
141
  update_post_meta( $order_id, 'wpsc_address', $_POST['wpsc_address'] );
142
  }
wp_shopping_cart_settings.php CHANGED
@@ -88,6 +88,7 @@ function show_wp_cart_options_page ()
88
 
89
  update_option('wp_shopping_cart_image_hide', ($_POST['wp_shopping_cart_image_hide']!='') ? 'checked="checked"':'' );
90
  update_option('wp_cart_note_to_seller_text', (string)$_POST["wp_cart_note_to_seller_text"]);
 
91
  update_option('wp_use_aff_platform', ($_POST['wp_use_aff_platform']!='') ? 'checked="checked"':'' );
92
 
93
  update_option('wp_shopping_cart_enable_sandbox', ($_POST['wp_shopping_cart_enable_sandbox']!='') ? 'checked="checked"':'' );
@@ -149,6 +150,7 @@ function show_wp_cart_options_page ()
149
  $wp_cart_image_hide = '';
150
 
151
  $wp_cart_note_to_seller_text = get_option('wp_cart_note_to_seller_text');
 
152
 
153
  if (get_option('wp_use_aff_platform'))
154
  $wp_use_aff_platform = 'checked="checked"';
@@ -284,6 +286,14 @@ echo '
284
  </tr>
285
  </table>
286
 
 
 
 
 
 
 
 
 
287
  <table class="form-table">
288
  <tr valign="top">
289
  <th scope="row">'.(__("Use WP Affiliate Platform", "WSPSC")).'</th>
@@ -349,6 +359,11 @@ function show_wp_cart_email_settings_page()
349
  update_option('wpspc_buyer_email_subj', stripslashes((string)$_POST["wpspc_buyer_email_subj"]));
350
  update_option('wpspc_buyer_email_body', stripslashes((string)$_POST["wpspc_buyer_email_body"]));;
351
 
 
 
 
 
 
352
  echo '<div id="message" class="updated fade"><p><strong>';
353
  echo 'Email Settings Updated!';
354
  echo '</strong></p></div>';
@@ -360,6 +375,26 @@ function show_wp_cart_email_settings_page()
360
  $wpspc_buyer_from_email = get_option('wpspc_buyer_from_email');
361
  $wpspc_buyer_email_subj = get_option('wpspc_buyer_email_subj');
362
  $wpspc_buyer_email_body = get_option('wpspc_buyer_email_body');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  ?>
364
 
365
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
@@ -406,6 +441,35 @@ function show_wp_cart_email_settings_page()
406
  <br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "WSPSC");?>
407
  </p></td>
408
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
 
410
  </table>
411
 
88
 
89
  update_option('wp_shopping_cart_image_hide', ($_POST['wp_shopping_cart_image_hide']!='') ? 'checked="checked"':'' );
90
  update_option('wp_cart_note_to_seller_text', (string)$_POST["wp_cart_note_to_seller_text"]);
91
+ update_option('wp_cart_paypal_co_page_style', (string)$_POST["wp_cart_paypal_co_page_style"]);
92
  update_option('wp_use_aff_platform', ($_POST['wp_use_aff_platform']!='') ? 'checked="checked"':'' );
93
 
94
  update_option('wp_shopping_cart_enable_sandbox', ($_POST['wp_shopping_cart_enable_sandbox']!='') ? 'checked="checked"':'' );
150
  $wp_cart_image_hide = '';
151
 
152
  $wp_cart_note_to_seller_text = get_option('wp_cart_note_to_seller_text');
153
+ $wp_cart_paypal_co_page_style = get_option('wp_cart_paypal_co_page_style');
154
 
155
  if (get_option('wp_use_aff_platform'))
156
  $wp_use_aff_platform = 'checked="checked"';
286
  </tr>
287
  </table>
288
 
289
+ <table class="form-table">
290
+ <tr valign="top">
291
+ <th scope="row">'.(__("Custom Checkout Page Style Name", "WSPSC")).'</th>
292
+ <td><input type="text" name="wp_cart_paypal_co_page_style" value="'.$wp_cart_paypal_co_page_style.'" size="40" />
293
+ <br />'.(__("Specify the page style name here if you want to customize the paypal checkout page with custom page style otherwise leave this field empty.", "WSPSC")).'</td>
294
+ </tr>
295
+ </table>
296
+
297
  <table class="form-table">
298
  <tr valign="top">
299
  <th scope="row">'.(__("Use WP Affiliate Platform", "WSPSC")).'</th>
359
  update_option('wpspc_buyer_email_subj', stripslashes((string)$_POST["wpspc_buyer_email_subj"]));
360
  update_option('wpspc_buyer_email_body', stripslashes((string)$_POST["wpspc_buyer_email_body"]));;
361
 
362
+ update_option('wpspc_send_seller_email', ($_POST['wpspc_send_seller_email']!='') ? 'checked="checked"':'' );
363
+ update_option('wpspc_notify_email_address', stripslashes((string)$_POST["wpspc_notify_email_address"]));
364
+ update_option('wpspc_seller_email_subj', stripslashes((string)$_POST["wpspc_seller_email_subj"]));
365
+ update_option('wpspc_seller_email_body', stripslashes((string)$_POST["wpspc_seller_email_body"]));;
366
+
367
  echo '<div id="message" class="updated fade"><p><strong>';
368
  echo 'Email Settings Updated!';
369
  echo '</strong></p></div>';
375
  $wpspc_buyer_from_email = get_option('wpspc_buyer_from_email');
376
  $wpspc_buyer_email_subj = get_option('wpspc_buyer_email_subj');
377
  $wpspc_buyer_email_body = get_option('wpspc_buyer_email_body');
378
+ $wpspc_send_seller_email = '';
379
+ if (get_option('wpspc_send_seller_email')){
380
+ $wpspc_send_seller_email = 'checked="checked"';
381
+ }
382
+ $wpspc_notify_email_address = get_option('wpspc_notify_email_address');
383
+ if(empty($wpspc_notify_email_address)){
384
+ $wpspc_notify_email_address = get_bloginfo('admin_email'); //default value
385
+ }
386
+ $wpspc_seller_email_subj = get_option('wpspc_seller_email_subj');
387
+ if(empty($wpspc_seller_email_subj)){
388
+ $wpspc_seller_email_subj = "Notification of product sale";
389
+ }
390
+ $wpspc_seller_email_body = get_option('wpspc_seller_email_body');
391
+ if(empty($wpspc_seller_email_body)){
392
+ $wpspc_seller_email_body = "Dear Seller\n".
393
+ "\nThis mail is to notify you of a product sale.\n".
394
+ "\n{product_details}".
395
+ "\n\nThe sale was made to {first_name} {last_name} ({payer_email})".
396
+ "\n\nThanks";
397
+ }
398
  ?>
399
 
400
  <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
441
  <br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "WSPSC");?>
442
  </p></td>
443
  </tr>
444
+
445
+ <tr valign="top">
446
+ <th scope="row"><?php _e("Send Emails to Seller After Purchase", "WSPSC");?></th>
447
+ <td><input type="checkbox" name="wpspc_send_seller_email" value="1" <?php echo $wpspc_send_seller_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the seller with the sale details", "WSPSC");?></a></span></td>
448
+ </tr>
449
+
450
+ <tr valign="top">
451
+ <th scope="row"><?php _e("Notification Email Address*", "WSPSC");?></th>
452
+ <td><input type="text" name="wpspc_notify_email_address" value="<?php echo $wpspc_notify_email_address; ?>" size="50" />
453
+ <br /><p class="description"><?php _e("This is the email address where the seller will be notified of product sales. You can put multiple email addresses separated by comma (,) in the above field to send the notification to multiple email addresses.", "WSPSC");?></p></td>
454
+ </tr>
455
+
456
+ <tr valign="top">
457
+ <th scope="row"><?php _e("Seller Email Subject*", "WSPSC");?></th>
458
+ <td><input type="text" name="wpspc_seller_email_subj" value="<?php echo $wpspc_seller_email_subj; ?>" size="50" />
459
+ <br /><p class="description"><?php _e("This is the subject of the email that will be sent to the seller for record.", "WSPSC");?></p></td>
460
+ </tr>
461
+
462
+ <tr valign="top">
463
+ <th scope="row"><?php _e("Seller Email Body*", "WSPSC");?></th>
464
+ <td>
465
+ <textarea name="wpspc_seller_email_body" cols="90" rows="7"><?php echo $wpspc_seller_email_body; ?></textarea>
466
+ <br /><p class="description"><?php _e("This is the body of the email that will be sent to the seller for record. Do not change the text within the braces {}. You can use the following email tags in this email body field:", "WSPSC");?>
467
+ <br />{first_name} – <?php _e("First name of the buyer", "WSPSC");?>
468
+ <br />{last_name} – <?php _e("Last name of the buyer", "WSPSC");?>
469
+ <br />{payer_email} – <?php _e("Email Address of the buyer", "WSPSC");?>
470
+ <br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "WSPSC");?>
471
+ </p></td>
472
+ </tr>
473
 
474
  </table>
475