-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
upgrade.sql
900 lines (829 loc) · 43 KB
/
upgrade.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
--upgrade scripts from nopCommerce 3.90 to 4.00
--new locale resources
declare @resources xml
--a resource will be deleted if its value is empty
set @resources='
<Language>
<LocaleResource Name="Admin.System.SystemInfo.ServerVariables">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.System.SystemInfo.ServerVariables.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.System.SystemInfo.Headers">
<Value>Headers</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.SystemInfo.Headers.Hint">
<Value>A list of headers.</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Warnings.MachineKey.NotSpecified">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Warnings.MachineKey.Specified">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Account.AssociatedExternalAuth.YourAccountWillBeLinkedTo.Remove">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Account.AssociatedExternalAuth.YourAccountWillBeLinkedTo">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.ExternalAuthenticationAutoRegisterEnabled">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.ExternalAuthenticationAutoRegisterEnabled.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.BlockTitle.ExternalAuthentication">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.OfficialFeed.Instructions">
<Value><![CDATA[<p>Here you can find third-party extensions and themes which are developed by our community and partners.They are also available in our <a href="https://www.nopcommerce.com/marketplace.aspx?utm_source=admin-panel&utm_medium=official-plugins&utm_campaign=admin-panel" target="_blank">marketplace</a></p>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Stores.Fields.SecureUrl.Hint">
<Value>The secure URL of your store e.g. https://www.yourstore.com/ or http://sharedssl.yourstore.com/. Leave it empty if you want nopCommerce to detect secure URL automatically.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.Captcha.Instructions">
<Value><![CDATA[<p>CAPTCHA is a program that can tell whether its user is a human or a computer. You''ve probably seen them — colorful images with distorted text at the bottom ofWeb registration forms. CAPTCHAs are used by many websites to prevent abuse from "bots" or automated programs usually written to generate spam. No computer programcan read distorted text as well as humans can, so bots cannot navigate sites protectedby CAPTCHAs. nopCommerce uses <a href="http://www.google.com/recaptcha" target="_blank">reCAPTCHA</a>.</p>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.ContentManagement.MessageTemplates.Description.Customer.EmailValidationMessage">
<Value>This message template is used when Configuration - Settings - Customer settings - "Registration method" dropdownlist is set to "Email validation". The customer receives a message to confirm an email address used when registering.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Media.CategoryThumbPictureSize.Hint">
<Value>The default size (pixels) for category thumbnail images.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Media.ManufacturerThumbPictureSize.Hint">
<Value>The default size (pixels) for manufacturer thumbnail images.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Customers.OnlineCustomers.Fields.IPAddress.Disabled">
<Value>"Store IP addresses" setting is disabled</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.StoreIpAddresses">
<Value>Store IP addresses</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.StoreIpAddresses.Hint">
<Value>When enabled, IP addresses of customers will be stored. When disabled, it can improved performance. Furthermore, it''s prohibited to store IP addresses in some countries (private customer data).</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.AddressOverride">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.AddressOverride.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.EnableIpn">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.EnableIpn.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.EnableIpn.Hint2">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.IpnUrl">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.IpnUrl.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.PDTValidateOrderTotal">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.PDTValidateOrderTotal.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.ReturnFromPayPalWithoutPaymentRedirectsToOrderDetailsPage">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Fields.ReturnFromPayPalWithoutPaymentRedirectsToOrderDetailsPage.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalStandard.Instructions">
<Value><![CDATA[<p><b>If you''re using this gateway ensure that your primary store currency is supported by Paypal.</b><br /><br />To use PDT, you must activate PDT and Auto Return in your PayPal account profile. You must also acquire a PDT identity token, which is used in all PDT communication you send to PayPal. Follow these steps to configure your account for PDT:<br /><br />1. Log in to your PayPal account (click <a href="https://www.paypal.com/us/webapps/mpp/referral/paypal-business-account2?partner_id=9JJPJNNPQ7PZ8" target="_blank">here</a> to create your account).<br />2. Click the Profile subtab.<br />3. Click Website Payment Preferences in the Seller Preferences column.<br />4. Under Auto Return for Website Payments, click the On radio button.<br />5. For the Return URL, enter the URL on your site that will receive the transaction ID posted by PayPal after a customer payment ({0}).<br />6. Under Payment Data Transfer, click the On radio button.<br />7. Click Save.<br />8. Click Website Payment Preferences in the Seller Preferences column.<br />9. Scroll down to the Payment Data Transfer section of the page to view your PDT identity token.<br /><br /></p>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.EnableCssBundling.Hint">
<Value>Enable to combine (bundle) multiple CSS files into a single file. Do not enable if you''re running nopCommerce in IIS virtual directory. Currently it doesn''t support web farms.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.EnableJsBundling.Hint">
<Value>Enable to combine (bundle) multiple JavaScript files into a single file. Currently it doesn''t support web farms.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Vendor.TermsOfServiceEnabled">
<Value>Terms of service</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Vendor.TermsOfServiceEnabled.Hint">
<Value>Require vendors to accept terms of service during registration.</Value>
</LocaleResource>
<LocaleResource Name="Vendors.ApplyAccount.AcceptTermsOfService">
<Value>I accept terms of service</Value>
</LocaleResource>
<LocaleResource Name="Vendors.ApplyAccount.AcceptTermsOfService.Read">
<Value>(read)</Value>
</LocaleResource>
<LocaleResource Name="Vendors.ApplyAccount.AcceptTermsOfService.Required">
<Value>Please accept terms of service</Value>
</LocaleResource>
<LocaleResource Name="Payment.ExpirationDate.Expired">
<Value>Card is expired</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.PopupForTermsOfServiceLinks">
<Value>Popup windows for "terms of service"</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.PopupForTermsOfServiceLinks.Hint">
<Value>Check if you want "accept terms of service" or "accept privacy policy" links to be open in popup window. If disabled, then they''ll be open on a new page.</Value>
</LocaleResource>
<LocaleResource Name="ActivityLog.DeleteSystemLog">
<Value>Deleted system log</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Order.AllowAdminsToBuyCallForPriceProducts">
<Value>Allow admins to buy "Call for price" products</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Order.AllowAdminsToBuyCallForPriceProducts.Hint">
<Value>Check to allow administrators (in impersonation mode) are allowed to buy products marked as "Call for price".</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Shipping.CanadaPost.Fields.Services">
<Value>Available services</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Shipping.CanadaPost.Fields.Services.Hint">
<Value>Select the services you want to offer to customers.</Value>
</LocaleResource>
<LocaleResource Name="Account.AssociatedExternalAuth.EmailAlreadyExists">
<Value>A user with the specified email has been already registered. If this is your account, and you want to associate it with ''{0}'' external record, please login firstly.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Customers.CustomerRoles.Fields.OverrideTaxDisplayType">
<Value>Overrride default tax display type</Value>
</LocaleResource>
<LocaleResource Name="Admin.Customers.CustomerRoles.Fields.OverrideTaxDisplayType.Hint">
<Value>Check to override the default tax display type.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Customers.CustomerRoles.Fields.DefaultTaxDisplayType">
<Value>Default tax display type</Value>
</LocaleResource>
<LocaleResource Name="Admin.Customers.CustomerRoles.Fields.DefaultTaxDisplayType.Hint">
<Value>Default tax display type.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Pickup.PickupInStore.Fields.DisplayOrder">
<Value>Display order</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Pickup.PickupInStore.Fields.DisplayOrder.Hint">
<Value>Specify the pickup point display order.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.AddNew">
<Value>Add a new attribute</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.EditAttributeDetails">
<Value>Edit product attribute</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.BackToProduct">
<Value>back to product details</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Values.BackToProduct">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Info">
<Value>Info</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Values.SaveBeforeEdit">
<Value>You need to save the product attribute before you can add values for this product attribute page.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Fields.Attribute.Hint">
<Value>Choose an attribute.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Fields.AttributeControlType.Hint">
<Value>Choose how to display your attribute values.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Fields.DisplayOrder.Hint">
<Value>The attribute display order. 1 represents the first item in the list.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Fields.IsRequired.Hint">
<Value>When an attribute is required, the customer must choose an appropriate attribute value before they can continue.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Fields.TextPrompt.Hint">
<Value>Enter text prompt (you can leave it empty).</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Values.TotalValues">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Values.ViewLink">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Condition.ViewLink">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Condition.SaveBeforeEdit">
<Value>You need to save the product attribute before you can edit conditional attributes.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Deleted">
<Value>The attribute has been deleted successfully.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Updated">
<Value>The attribute has been updated successfully.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Added">
<Value>The new attribute has been added successfully.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.Attributes.Values.BackToAttribute">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.PayPalDirect.Instructions">
<Value><![CDATA[<p><b>If you''re using this gateway ensure that your primary store currency is supported by Paypal.</b><br /><br />To configure plugin follow these steps:<br />1. Log into your Developer PayPal account (click <a href="https://www.paypal.com/us/webapps/mpp/referral/paypal-business-account2?partner_id=9JJPJNNPQ7PZ8" target="_blank">here</a> to create your account).<br />2. Click on My Apps & Credentials from the Dashboard.<br />3. Create new REST API app.<br />4. Copy your Client ID and Secret key below.<br />5. To be able to use recurring payments you need to set the webhook ID. You can get it manually in your PayPal account (enter the URL {0} below REST API application credentials), or automatically by pressing "{1}" button (not visible when running the site locally).<br /></p>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.BlockTitle.AdminArea">
<Value>Admin area</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.AdminArea.UseRichEditorInMessageTemplates">
<Value>Use rich editor on message templates</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.AdminArea.UseRichEditorInMessageTemplates.Hint">
<Value>Indicates whether to use rich editor on message templates and campaigns details pages.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.ProductAttributes.AttributeCombinations.AlreadyExists">
<Value>The same combination already exists</Value>
</LocaleResource>
<LocaleResource Name="ShoppingCart.EstimateShipping.ZipPostalCode.Required">
<Value>Zip / postal code is required</Value>
</LocaleResource>
<LocaleResource Name="ShoppingCart.EstimateShipping.Country.Required">
<Value>Country is required</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.BlockTitle.ExternalAuthentication">
<Value>External authentication</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.AllowCustomersToRemoveAssociations">
<Value>Allow customers to remove associations</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.CustomerUser.AllowCustomersToRemoveAssociations.Hint">
<Value>Check to allow customers to remove external authentication associations.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Widgets.GoogleAnalytics.Instructions">
<Value><![CDATA[<p>Google Analytics is a free website stats tool from Google. It keeps track of statistics about the visitors and eCommerce conversion on your website.<br /><br />Follow the next steps to enable Google Analytics integration:<br /><ul><li><a href=\"http://www.google.com/analytics/\" target=\"_blank\">Create a Google Analytics account</a> and follow the wizard to add your website</li><li>Copy the Tracking ID into the ''ID'' box below</li><li>Click the ''Save'' button below and Google Analytics will be integrated into your store</li></ul><br />If you would like to switch between Google Analytics (used by default) and Universal Analytics, then please use the buttons below:</p>]]></Value>
</LocaleResource>
<LocaleResource Name="Plugins.DiscountRules.CustomerRoles.Fields.CustomerRole.Select">
<Value>Select customer role</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.Fields.ShipSeparately.Hint">
<Value>Check if the product should be shipped separately from other products (in single box). But notice that if the order includes several items of this product, all of them will be shipped in single box.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Widgets.GoogleAnalytics.EcommerceScript">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Widgets.GoogleAnalytics.EcommerceDetailScript">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Widgets.GoogleAnalytics.EnableEcommerce">
<Value>Enable E-commerce</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Widgets.GoogleAnalytics.EnableEcommerce.Hint">
<Value>Check to pass information about orders to Google E-commerce feature.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Widgets.GoogleAnalytics.TrackingScript.Hint">
<Value>Paste the tracking code generated by Google Analytics here. {GOOGLEID} and will be dynamically replaced.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Uploaded">
<Value>The plugin has been uploaded.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload">
<Value>Upload plugin</Value>
</LocaleResource>
<LocaleResource Name="Admin.Common.ZipFile">
<Value>Zip file</Value>
</LocaleResource>
<LocaleResource Name="ActivityLog.UploadNewPlugin">
<Value>Uploaded a new plugin (FriendlyName: ''{0}'')</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Progress">
<Value>Uploading plugin...</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Hint1">
<Value>The archive should contain only one root plugin directory. For example, Payments.PayPalDirect.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Hint2">
<Value>The archive should contain only already compiled plugin version.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Hint3">
<Value>Please note that you can also manually upload a plugin using FTP if this method doesn''t work for you.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Payments.Manual.Instructions">
<Value>This payment method stores credit card information in database (it''s not sent to any third-party processor). In order to store credit card information, you must be PCI compliant.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Shipping.UPS.Fields.AccountNumber">
<Value>Account number</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Shipping.UPS.Fields.AccountNumber.Hint">
<Value>Specify UPS account number (required to get negotiated rates).</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Catalog.ExportImportProductSpecificationAttributes">
<Value>Export/Import products with specification attributes</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Catalog.ExportImportProductSpecificationAttributes.Hint">
<Value>Check if products should be exported/imported with specification attributes.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.SitemapIncludeProductTags">
<Value>Sitemap includes product tags</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.SitemapIncludeProductTags.Hint">
<Value>Check if you want to include product tags in sitemap.</Value>
</LocaleResource>
<LocaleResource Name="Sitemap.ProductTags">
<Value>Product tags</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Warnings.IncompatiblePlugin">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Warnings.PluginNotLoaded">
<Value>''{0}'' plugin is not compatible or cannot be loaded.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Catalog.ExportImportProductCategoryBreadcrumb">
<Value>Export/Import products with category breadcrumb</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Catalog.ExportImportProductCategoryBreadcrumb.Hint">
<Value>Check if products should be exported/imported with a full category name including names of all its parents.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.BlockTitle.AdminArea">
<Value>Admin area</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.AdminArea.UseRichEditorInMessageTemplates">
<Value>Use rich editor on message templates</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.AdminArea.UseRichEditorInMessageTemplates.Hint">
<Value>Indicates whether to use rich editor on message templates and campaigns details pages.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.EnableCssBundling.Hint">
<Value>Enable to combine (bundle) multiple CSS files into a single file. Do not enable if you''re running nopCommerce in IIS virtual directory. Currently it doesn''t support web farms. And please note it could take up to two minutes for changes to existing files to be applied (when enabled).</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.EnableJsBundling.Hint">
<Value>Enable to combine (bundle) multiple JavaScript files into a single file. Currently it doesn''t support web farms. And please note it could take up to two minutes for changes to existing files to be applied (when enabled).</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Catalog.ExportImportCategoriesUsingCategoryName">
<Value>Export/Import categories using name of category</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.Catalog.ExportImportCategoriesUsingCategoryName.Hint">
<Value>Check if categories should be exported/imported using name of category.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.Import.CategoriesDontExist">
<Value>Categories with the following names don''t exist: {0}</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.Import.ManufacturersDontExist">
<Value>Manufacturers with the following names don''t exist: {0}</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.Import.ProductAttributesDontExist">
<Value>Product attributes with the following IDs don''t exist: {0}</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Categories.Import.CategoriesArentImported">
<Value>Categories with the following names aren''t imported - {0}</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Fields.Delete">
<Value>Delete</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Fields.Delete.Progress">
<Value>Deleting plugin...</Value>
</LocaleResource>
<LocaleResource Name="ActivityLog.DeletePlugin">
<Value>Deleted a plugin (FriendlyName: ''{0}'')</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Deleted">
<Value>The plugin has been deleted.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Shipping.FixedOrByWeight.Fields.LowerWeightLimit.Hint">
<Value>Lower weight limit. This field can be used for "per extra weight unit" scenarios.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Description.Step5">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.OfficialFeed.Instructions">
<Value><![CDATA[Here you can find third-party extensions and themes which are developed by our community and partners. They are also available in our <a href="https://www.nopcommerce.com/marketplace.aspx?utm_source=admin-panel&utm_medium=official-plugins&utm_campaign=admin-panel" target="_blank">marketplace</a>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Settings.GeneralCommon.DefaultStoreTheme.GetMore">
<Value><![CDATA[You can get more themes in our <a href="https://www.nopcommerce.com/marketplace.aspx?category=4&utm_source=admin-panel&utm_medium=theme-settings&utm_campaign=admin-panel" target="_blank">marketplace</a>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Description.DownloadMorePlugins">
<Value><![CDATA[You can download more nopCommerce plugins in our <a href="https://www.nopcommerce.com/marketplace.aspx?utm_source=admin-panel&utm_medium=plugins&utm_campaign=admin-panel" target="_blank">marketplace</a>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Payment.Methods.DownloadMorePlugins">
<Value><![CDATA[You can download more plugins in our <a href="https://www.nopcommerce.com/marketplace.aspx?category=2&utm_source=admin-panel&utm_medium=payment-plugins&utm_campaign=admin-panel" target="_blank">marketplace</a>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Shipping.Providers.DownloadMorePlugins">
<Value><![CDATA[You can download more plugins in our <a href="https://www.nopcommerce.com/marketplace.aspx?category=3&utm_source=admin-panel&utm_medium=shipping-plugins&utm_campaign=admin-panel" target="_blank">marketplace</a>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Tax.Providers.DownloadMorePlugins">
<Value><![CDATA[You can download more plugins in our <a href="https://www.nopcommerce.com/marketplace.aspx?category=11&utm_source=admin-panel&utm_medium=tax-plugins&utm_campaign=admin-panel" target="_blank">marketplace</a>]]></Value>
</LocaleResource>
<LocaleResource Name="Admin.Customers.Customers.SomeComment">
<Value>Some comment here...</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.SpecificationAttributes.NoAttributeOptions">
<Value>First, please create at least one specification attribute option</Value>
</LocaleResource>
<LocaleResource Name="Admin.Catalog.Products.SpecificationAttributes.SelectOption">
<Value>Select specification attribute option</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Hint1">
<Value>The archive should contain only one root plugin directory (already compiled). For example, Payments.PayPalDirect.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Hint2">
<Value>Or it should has the uploadedPlugins.json file with the archive structure (in case if the archive has many subdirectories or plugins).</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Hint3">
<Value>Please note that if the plugin directory already exists, it will be overwritten.</Value>
</LocaleResource>
<LocaleResource Name="Admin.Configuration.Plugins.Upload.Hint4">
<Value>You can also manually upload a plugin using FTP if this method doesn''t work for you.</Value>
</LocaleResource>
</Language>
'
CREATE TABLE #LocaleStringResourceTmp
(
[ResourceName] [nvarchar](200) NOT NULL,
[ResourceValue] [nvarchar](max) NOT NULL
)
INSERT INTO #LocaleStringResourceTmp (ResourceName, ResourceValue)
SELECT nref.value('@Name', 'nvarchar(200)'), nref.value('Value[1]', 'nvarchar(MAX)')
FROM @resources.nodes('//Language/LocaleResource') AS R(nref)
--do it for each existing language
DECLARE @ExistingLanguageID int
DECLARE cur_existinglanguage CURSOR FOR
SELECT [ID]
FROM [Language]
OPEN cur_existinglanguage
FETCH NEXT FROM cur_existinglanguage INTO @ExistingLanguageID
WHILE @@FETCH_STATUS = 0
BEGIN
DECLARE @ResourceName nvarchar(200)
DECLARE @ResourceValue nvarchar(MAX)
DECLARE cur_localeresource CURSOR FOR
SELECT ResourceName, ResourceValue
FROM #LocaleStringResourceTmp
OPEN cur_localeresource
FETCH NEXT FROM cur_localeresource INTO @ResourceName, @ResourceValue
WHILE @@FETCH_STATUS = 0
BEGIN
IF (EXISTS (SELECT 1 FROM [LocaleStringResource] WHERE LanguageID=@ExistingLanguageID AND ResourceName=@ResourceName))
BEGIN
UPDATE [LocaleStringResource]
SET [ResourceValue]=@ResourceValue
WHERE LanguageID=@ExistingLanguageID AND ResourceName=@ResourceName
END
ELSE
BEGIN
INSERT INTO [LocaleStringResource]
(
[LanguageId],
[ResourceName],
[ResourceValue]
)
VALUES
(
@ExistingLanguageID,
@ResourceName,
@ResourceValue
)
END
IF (@ResourceValue is null or @ResourceValue = '')
BEGIN
DELETE [LocaleStringResource]
WHERE LanguageID=@ExistingLanguageID AND ResourceName=@ResourceName
END
FETCH NEXT FROM cur_localeresource INTO @ResourceName, @ResourceValue
END
CLOSE cur_localeresource
DEALLOCATE cur_localeresource
--fetch next language identifier
FETCH NEXT FROM cur_existinglanguage INTO @ExistingLanguageID
END
CLOSE cur_existinglanguage
DEALLOCATE cur_existinglanguage
DROP TABLE #LocaleStringResourceTmp
GO
--delete setting
DELETE FROM [Setting]
WHERE [Name] = N'externalauthenticationsettings.autoregisterenabled'
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'customersettings.storeipaddresses')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'customersettings.storeipaddresses', N'True', 0)
END
GO
--drop column
IF EXISTS (SELECT 1 FROM sys.columns WHERE object_id=object_id('[ScheduleTask]') and NAME='LeasedByMachineName')
BEGIN
ALTER TABLE [ScheduleTask] DROP COLUMN [LeasedByMachineName]
END
GO
--drop column
IF EXISTS (SELECT 1 FROM sys.columns WHERE object_id=object_id('[ScheduleTask]') and NAME='LeasedUntilUtc')
BEGIN
ALTER TABLE [ScheduleTask] DROP COLUMN [LeasedUntilUtc]
END
GO
--delete setting
DELETE FROM [Setting]
WHERE [Name] = N'paypalstandardpaymentsettings.pdtvalidateordertotal'
GO
--delete setting
DELETE FROM [Setting]
WHERE [Name] = N'paypalstandardpaymentsettings.enableipn'
GO
--delete setting
DELETE FROM [Setting]
WHERE [Name] = N'paypalstandardpaymentsettings.ipnurl'
GO
--delete setting
DELETE FROM [Setting]
WHERE [Name] = N'paypalstandardpaymentsettings.returnfrompaypalwithoutpaymentredirectstoorderdetailspage'
GO
--delete setting
DELETE FROM [Setting]
WHERE [Name] = N'paypalstandardpaymentsettings.addressoverride'
GO
--new topic
IF NOT EXISTS (
SELECT 1
FROM [dbo].[Topic]
WHERE [SystemName] = N'VendorTermsOfService')
BEGIN
INSERT [dbo].[Topic] ([SystemName], [TopicTemplateId], [IncludeInSitemap], [AccessibleWhenStoreClosed], [LimitedToStores], [IncludeInFooterColumn1], [IncludeInFooterColumn2], [IncludeInFooterColumn3], [IncludeInTopMenu], [IsPasswordProtected], [DisplayOrder], [SubjectToAcl], [Published], [Title], [Body])
VALUES (N'VendorTermsOfService', 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, N'', N'<p>Put your terms of service information here. You can edit this in the admin site.</p>')
DECLARE @TopicId INT
SET @TopicId = @@IDENTITY
INSERT [dbo].[UrlRecord] ([EntityId], [EntityName], [Slug], [IsActive], [LanguageId])
VALUES (@TopicId, N'Topic', N'vendortermsofservice', 1, 0)
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'commonsettings.popupfortermsofservicelinks')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'commonsettings.popupfortermsofservicelinks', N'True', 0)
END
GO
--recreate index
IF EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Log_CreatedOnUtc' and object_id=object_id(N'[dbo].[Log]'))
BEGIN
DROP INDEX [IX_Log_CreatedOnUtc] ON [Log]
END
GO
CREATE NONCLUSTERED INDEX [IX_Log_CreatedOnUtc] ON [Log] ([CreatedOnUtc] DESC)
GO
--recreate index
IF EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_ActivityLog_CreatedOnUtc' and object_id=object_id(N'[dbo].[ActivityLog]'))
BEGIN
DROP INDEX [IX_ActivityLog_CreatedOnUtc] ON [ActivityLog]
END
GO
CREATE NONCLUSTERED INDEX [IX_ActivityLog_CreatedOnUtc] ON [ActivityLog] ([CreatedOnUtc] DESC)
GO
--recreate index
IF EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_QueuedEmail_CreatedOnUtc' and object_id=object_id(N'[dbo].[QueuedEmail]'))
BEGIN
DROP INDEX [IX_QueuedEmail_CreatedOnUtc] ON [QueuedEmail]
END
GO
CREATE NONCLUSTERED INDEX [IX_QueuedEmail_CreatedOnUtc] ON [QueuedEmail] ([CreatedOnUtc] DESC)
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Order_CreatedOnUtc' and object_id=object_id(N'[dbo].[Order]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Order_CreatedOnUtc] ON [Order] ([CreatedOnUtc] DESC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Customer_CreatedOnUtc' and object_id=object_id(N'[dbo].[Customer]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Customer_CreatedOnUtc] ON [Customer] ([CreatedOnUtc] DESC)
END
GO
--new activity types
IF NOT EXISTS (SELECT 1 FROM [ActivityLogType] WHERE [SystemKeyword] = N'DeleteSystemLog')
BEGIN
INSERT [ActivityLogType] ([SystemKeyword], [Name], [Enabled])
VALUES (N'DeleteSystemLog', N'Delete system log', N'true')
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'ordersettings.allowadminstobuycallforpriceproducts')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'ordersettings.allowadminstobuycallforpriceproducts', N'True', 0)
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'canadapostsettings.selectedservicescodes')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'canadapostsettings.selectedservicescodes', N'', 0)
END
GO
--new column
IF NOT EXISTS (SELECT 1 FROM sys.columns WHERE object_id=object_id('[CustomerRole]') and NAME='OverrideTaxDisplayType')
BEGIN
ALTER TABLE [CustomerRole]
ADD [OverrideTaxDisplayType] bit NULL
END
GO
UPDATE [CustomerRole]
SET [OverrideTaxDisplayType] = 0
WHERE [OverrideTaxDisplayType] IS NULL
GO
ALTER TABLE [CustomerRole] ALTER COLUMN [OverrideTaxDisplayType] bit NOT NULL
GO
--new column
IF NOT EXISTS (SELECT 1 FROM sys.columns WHERE object_id=object_id('[CustomerRole]') and NAME='DefaultTaxDisplayTypeId')
BEGIN
ALTER TABLE [CustomerRole]
ADD [DefaultTaxDisplayTypeId] int NULL
END
GO
UPDATE [CustomerRole]
SET [DefaultTaxDisplayTypeId] = 0
WHERE [DefaultTaxDisplayTypeId] IS NULL
GO
ALTER TABLE [CustomerRole] ALTER COLUMN [DefaultTaxDisplayTypeId] int NOT NULL
GO
--new column
IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[StorePickupPoint]') and OBJECTPROPERTY(object_id, N'IsUserTable') = 1)
AND NOT EXISTS (SELECT 1 FROM sys.columns WHERE object_id = OBJECT_ID(N'[dbo].[StorePickupPoint]') and NAME='DisplayOrder')
BEGIN
ALTER TABLE [StorePickupPoint]
ADD [DisplayOrder] INT NULL
END
GO
IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[StorePickupPoint]') and OBJECTPROPERTY(object_id, N'IsUserTable') = 1)
BEGIN
UPDATE [StorePickupPoint]
SET [DisplayOrder] = 0
WHERE [DisplayOrder] IS NULL
END
GO
IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[StorePickupPoint]') and OBJECTPROPERTY(object_id, N'IsUserTable') = 1)
BEGIN
ALTER TABLE [StorePickupPoint] ALTER COLUMN [DisplayOrder] INT NOT NULL
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Product_Picture_Mapping_ProductId' and object_id=object_id(N'[dbo].[Product_Picture_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Product_Picture_Mapping_ProductId] ON [Product_Picture_Mapping] ([ProductId] ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_PCM_ProductId' and object_id=object_id(N'[dbo].[Product_Category_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_PCM_ProductId] ON [Product_Category_Mapping] ([ProductId] ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_PCM_ProductId_Extended' and object_id=object_id(N'[dbo].[Product_Category_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_PCM_ProductId_Extended] ON [Product_Category_Mapping] ([ProductId] ASC, [IsFeaturedProduct] ASC) INCLUDE ([CategoryId])
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_PMM_ProductId' and object_id=object_id(N'[dbo].[Product_Manufacturer_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_PMM_ProductId] ON [Product_Manufacturer_Mapping] ([ProductId] ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_PMM_ProductId_Extended' and object_id=object_id(N'[dbo].[Product_Manufacturer_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_PMM_ProductId_Extended] ON [Product_Manufacturer_Mapping] ([ProductId] ASC, [IsFeaturedProduct] ASC) INCLUDE ([ManufacturerId])
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'seosettings.querystringincanonicalurlsenabled')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'seosettings.querystringincanonicalurlsenabled', N'False', 0)
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'externalauthenticationsettings.allowcustomerstoremoveassociations')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'externalauthenticationsettings.allowcustomerstoremoveassociations', N'True', 0)
END
GO
--delete setting
DELETE FROM [Setting]
WHERE [name] = N'googleanalyticssettings.ecommercescript'
GO
--delete setting
DELETE FROM [Setting]
WHERE [name] = N'googleanalyticssettings.ecommercedetailscript'
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'googleanalyticssettings.enableecommerce')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'googleanalyticssettings.enableecommerce', N'False', 0)
END
GO
--new activity types
IF NOT EXISTS (SELECT 1 FROM [ActivityLogType] WHERE [SystemKeyword] = N'UploadNewPlugin')
BEGIN
INSERT [ActivityLogType] ([SystemKeyword], [Name], [Enabled])
VALUES (N'UploadNewPlugin', N'Upload a plugin', N'true')
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'adminareasettings.usenestedsetting')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'adminareasettings.usenestedsetting', N'True', 0)
END
GO
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'catalogsettings.exportimportproductspecificationattributes')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'catalogsettings.exportimportproductspecificationattributes', N'True', 0)
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'commonsettings.sitemapincludeproducttags')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'commonsettings.sitemapincludeproducttags', N'False', 0)
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'catalogsettings.exportimportproductcategorybreadcrumb')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'catalogsettings.exportimportproductcategorybreadcrumb', N'True', 0)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Product_Category_Mapping_CategoryId' and object_id=object_id(N'[dbo].[Product_Category_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Product_Category_Mapping_CategoryId] ON [Product_Category_Mapping] (CategoryId ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Product_Category_Mapping_IsFeaturedProduct' and object_id=object_id(N'[dbo].[Product_Category_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Product_Category_Mapping_IsFeaturedProduct] ON [Product_Category_Mapping] (IsFeaturedProduct ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Product_Manufacturer_Mapping_ManufacturerId' and object_id=object_id(N'[dbo].[Product_Manufacturer_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Product_Manufacturer_Mapping_ManufacturerId] ON [Product_Manufacturer_Mapping] (ManufacturerId ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Product_Manufacturer_Mapping_IsFeaturedProduct' and object_id=object_id(N'[dbo].[Product_Manufacturer_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Product_Manufacturer_Mapping_IsFeaturedProduct] ON [Product_Manufacturer_Mapping] (IsFeaturedProduct ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Product_Manufacturer_Mapping_ProductId' and object_id=object_id(N'[dbo].[Product_Manufacturer_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Product_Manufacturer_Mapping_ProductId] ON [Product_Manufacturer_Mapping] (ProductId ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Customer_CustomerRole_Mapping_Customer_Id' and object_id=object_id(N'[dbo].[Customer_CustomerRole_Mapping]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Customer_CustomerRole_Mapping_Customer_Id] ON [Customer_CustomerRole_Mapping] (Customer_Id ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Shipment_OrderId' and object_id=object_id(N'[dbo].[Shipment]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Shipment_OrderId] ON [Shipment] (OrderId ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_Product_Delete_Id' and object_id=object_id(N'[dbo].[Product]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_Product_Delete_Id] ON [Product] (Deleted ASC, Id ASC)
END
GO
--new index
IF NOT EXISTS (SELECT 1 from sys.indexes WHERE [NAME]=N'IX_ShoppingCartItem_CustomerId' and object_id=object_id(N'[dbo].[ShoppingCartItem]'))
BEGIN
CREATE NONCLUSTERED INDEX [IX_ShoppingCartItem_CustomerId] ON [ShoppingCartItem] (CustomerId ASC)
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'catalogsettings.exportimportcategoriesusingcategoryname')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'catalogsettings.exportimportcategoriesusingcategoryname', N'False', 0)
END
GO
--new activity types
IF NOT EXISTS (SELECT 1 FROM [ActivityLogType] WHERE [SystemKeyword] = N'DeletePlugin')
BEGIN
INSERT [ActivityLogType] ([SystemKeyword], [Name], [Enabled])
VALUES (N'DeletePlugin', N'Delete a plugin', N'true')
END
GO
--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = N'securitysettings.pluginstaticfileextensionsblacklist')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'securitysettings.pluginstaticfileextensionsblacklist', N'', 0)
END
GO