· 6 years ago · Jun 11, 2019, 04:22 PM
1Was ist neu?
2
3- Versandarten & Versandkosten hinzugefügt
4- "Drop-Funktion aktivieren" Checkbox bei Produktverwaltung hinzugefügt
5- Gutschein-System hinzugefügt
6- Drop / Versand Infos unter Bestellhistory
7- Panel: Unter Auflistung der Bestellungen Drop/Versandart hinzugefügt
8
9Ersetzen:
10https://pastebin.com/kmPh35VA - database/migrations/2019_04_10_175914_create_users_orders_table.php
11https://pastebin.com/5TkJkrB8 - resources/views/frontend/userpanel/orders.blade.php
12https://pastebin.com/dFKJBSFy - resources/views/backend/orders/list.blade.php
13https://pastebin.com/YhF2eQCc - resources/views/frontend/shop/product_confirm_buy.blade.php
14https://pastebin.com/KqmPSvxx - resources/views/backend/management/products/edit.blade.php
15https://pastebin.com/Jm3uVi4Z - resources/views/backend/management/products/add.blade.php
16https://pastebin.com/F39WLVNP - resources/lang/en/frontend/shop.php
17https://pastebin.com/mTK0LEYe - resources/lang/de/frontend/shop.php
18https://pastebin.com/G3rjfWnU - app/Models/UserOrder.php
19https://pastebin.com/XjALe5vR - app/Http/Controllers/Shop/ShopController.php
20https://pastebin.com/wCtV2bnz - resources/lang/en/backend/orders.php
21https://pastebin.com/BuWXRd0N - resources/lang/de/backend/orders.php
22https://pastebin.com/qg1hkZFs - resources/lang/en/backend/management.php
23https://pastebin.com/ACxaGQ8Q - resources/lang/de/backend/management.php
24https://pastebin.com/CQV4cydZ - app/Http/Controllers/Backend/Management/ProductsController.php
25https://pastebin.com/rUnhgyrT - routes/web.php
26https://pastebin.com/4V6wNeRj - app/Http/Controllers/UserPanel/UserPanelController.php
27https://pastebin.com/5MKX97UJ - resources/views/frontend/userpanel/deposit.blade.php
28https://pastebin.com/KyK8dMcW - resources/lang/de/validation.php
29https://pastebin.com/tbSCckmv - resources/lang/en/validation.php
30https://pastebin.com/rrhS1awF - app/Models/User.php
31https://pastebin.com/cycVcuvd - resources/lang/en/frontend/user.php
32https://pastebin.com/yAvFMX5R - resources/lang/de/frontend/user.php
33
34 - resources/views/backend/layouts/default.blade.php
35 - resources/views/frontend/layouts/app.blade.php
36
37Neu einfügen:
38
39https://pastebin.com/LARXYgCj - database/migrations/2019_06_08_121436_create_delivery_methods_table.php
40https://pastebin.com/tQf4Wawq - app/Models/DeliveryMethod.php
41https://pastebin.com/HMAPyDvs - app/Rules/RuleCouponRedeem.php
42https://pastebin.com/u99n6rFw - database/migrations/2019_06_09_003712_create_coupons_table.php
43https://pastebin.com/y9Hqp9LT - app/Models/Coupon.php
44https://pastebin.com/dbwyiZrw - database/migrations/2019_06_09_005125_create_users_coupons_table.php
45https://pastebin.com/nCSLaPnN - app/Models/UserCoupon.php
46
47
48SQL Befehle:
49
50ALTER TABLE lv_users_orders ADD delivery_price INT NOT NULL DEFAULT 0;
51ALTER TABLE lv_users_orders ADD delivery_method VARCHAR(255) NULL;
52INSERT INTO lv_migrations (migration, batch) VALUES ("2019_06_08_121436_create_delivery_methods_table", 12);
53INSERT INTO lv_migrations (migration, batch) VALUES ("2019_06_09_003712_create_coupons_table", 13);
54INSERT INTO lv_migrations (migration, batch) VALUES ("2019_06_09_005125_create_users_coupons_table", 14);
55
56DROP TABLE IF EXISTS `lv_delivery_methods`;
57CREATE TABLE `lv_delivery_methods` (
58 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
59 `price` int(11) NOT NULL DEFAULT '0',
60 `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
61 `created_at` timestamp NULL DEFAULT NULL,
62 `updated_at` timestamp NULL DEFAULT NULL,
63 PRIMARY KEY (`id`)
64) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
65
66DROP TABLE IF EXISTS `lv_coupons`;
67CREATE TABLE `lv_coupons` (
68 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
69 `amount` int(11) NOT NULL DEFAULT '0',
70 `max_usable` int(11) NOT NULL DEFAULT '-1',
71 `used` int(11) NOT NULL DEFAULT '0',
72 `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
73 `created_at` timestamp NULL DEFAULT NULL,
74 `updated_at` timestamp NULL DEFAULT NULL,
75 PRIMARY KEY (`id`)
76) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
77
78DROP TABLE IF EXISTS `lv_users_coupons`;
79CREATE TABLE `lv_users_coupons` (
80 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
81 `user_id` int(11) NOT NULL DEFAULT '0',
82 `coupon_id` int(11) NOT NULL DEFAULT '0',
83 `created_at` timestamp NULL DEFAULT NULL,
84 `updated_at` timestamp NULL DEFAULT NULL,
85 PRIMARY KEY (`id`)
86) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;