Quick update data instructions after you use the latest file https://youtu.be/FSW3sdeD4CM
Update and new files for karenderia 5.4.5
Note for those who want to update
make sure you make a backup of your file protected/config/main.php
this section
'db'=>array(
'class' => 'CDbConnection' ,
'connectionString' => 'mysql:host=localhost;dbname=kmrs',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'tablePrefix' => 'mt_',
),
After you replace your main.php make sure you copy this back to your main.php
this is the settings that holds your database connection.
Updated files
- assets/css/admin.css
- assets/js/admin.js
- assets/js/store-v3.js
- assets/js/store.js
- assets/vendor/select2 - new library
- components/DiscountPromo.php - new file
- components/Ajax.php
- components/AjaxAdmin.php
- components/Functions.php
- components/FunctionsV3.php
- components/Item_migration.php
- components/Item_utility.php
- components/ItemClass.php
- components/NotificationWrapper.php
- components/ScriptManager.php
- config/table_structure.php
- controllers/AjaxadminController.php
- controllers/AjaxController.php
- controllers/AjaxmerchantController.php
- controllers/StoreController.php
- controllers/UpdateController.php
- models/reg-change-phone.php - new file
- views/admin/settings-new.php
- views/admin/voucher-add.php
- views/layouts/admin_tpl.php
- views/layouts/merchant_tpl.php
- views/merchant/food-item-add.php
- views/merchant/voucher-add.php
- views/store/contact.php
- views/store/email-verification.php
- views/store/mobile-verification.php
Database update
- new fields in table _item = delivery_options
- new fields in table _order = delivery_vehicle
- add delivery_vehicle in view_order
- change field met_id to varchar in table item_meta
- new fields in table _voucher_new = max_number_use, selected_customer