1.1.0.5 Questions / Comments / Concerns / Feedback

Open to all! Ask other shopowners for help.
Post Reply
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

1.1.0.5 Questions / Comments / Concerns / Feedback

Post by burt »

Welcome to v1.1.0.5

1.1.0.5 is a small release focusing on minor optimisations.

General Updates

- [Bootstrap] updated to 5.3.8

New Features in Phoenix

- [Admin & Shop] Queued Emails are now i18n (internationalised) TY @beerbee for helping test

Bug Fixes

- [Paypal] changes to comments TY @BrockleyJohn
- [Language] errant </a> removed TY @raiwa

Other Optimisations

- [Hook] contact_us successful send
- [Admin] Dashboard modules can now be individually styled


Thank You to everyone who got involved for the help and advice in bringing 1.1.0.5 to release.

Special thanks to the handful of Community Members who got involved in the recent Code Drops which allowed me some time to spend on Core Code.
I am not here to build for you.
I am here to build with you. Let's help each other.

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.1.0.5 Questions / Comments / Concerns / Feedback

Post by burt »

Updated Files (structure), in code tags to retain format for easy reading.

Code: Select all

│   contact_us.php
│
├───admin
│   │   index.php
│   │
│   └───includes
│       ├───actions
│       │   ├───languages
│       │   │       delete_confirm.php
│       │   │       insert.php
│       │   │
│       │   ├───manufacturers
│       │   │   └───infoboxes
│       │   │           default.php
│       │   │
│       │   ├───outgoing
│       │   │   │   insert.php
│       │   │   │   save.php
│       │   │   │
│       │   │   ├───infoboxes
│       │   │   │       default.php
│       │   │   │       edit.php
│       │   │   │       new.php
│       │   │   │
│       │   │   └───views
│       │   │           default.php
│       │   │
│       │   └───outgoing_tpl
│       │       │   delete_confirm.php
│       │       │   insert.php
│       │       │   save.php
│       │       │
│       │       ├───infoboxes
│       │       │       default.php
│       │       │       edit.php
│       │       │       new.php
│       │       │
│       │       └───views
│       │               default.php
│       │
│       ├───languages
│       │   └───english
│       │           catalog.php
│       │           outgoing.php
│       │
│       └───modules
│           └───dashboard
│                   d_addons.php
│                   d_admin_logins.php
│                   d_customers.php
│                   d_monthly_sales.php
│                   d_orders.php
│                   d_phoenix_addons.php
│                   d_reviews.php
│                   d_security_checks.php
│                   d_total_customers.php
│                   d_total_revenue.php
│                   d_version_check.php
│
├───ext
│   └───modules
│       └───payment
│           └───paypal
│                   standard_ipn.php
│
├───includes
│   │   version.php
│   │
│   ├───hooks
│   │   └───admin
│   │       └───siteWide
│   │               bootStrap.php
│   │
│   ├───modules
│   │   ├───outgoing
│   │   │       no_checkout.php
│   │   │       order_thanks.php
│   │   │       winback.php
│   │   │
│   │   └───payment
│   │           paypal_standard.php
│   │
│   └───system
│       └───versioned
│           └───1.01.00.05
│                   outgoing.php
│
├───install
│   │   phoenix.sql
│   │
│   └───templates
│           main_page.php
│
└───templates
    └───default
        └───includes
            └───hooks
                └───shop
                    └───siteWide
                            bootStrap.php
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.1.0.5 Questions / Comments / Concerns / Feedback

Post by burt »

Updating from 1.1.0.4 to 1.1.0.5 is simple.

PRE STEP. REQUIRED

Make a backup copy of your current Phoenix (as it stands) and current Database (as it stands) so that you can easily rollback if things do not go as planned.

If you are certain you wish to move to 1.1.0.5;

1. REQUIRED

Run this SQL to update the necessary parts of the 1.1.0.4 Database to 1.1.0.5 Spec

Code: Select all

CREATE TABLE outgoing_tpl_info (
  id INT NOT NULL,
  languages_id INT NOT NULL,
  title VARCHAR(255) NOT NULL,
  text LONGTEXT NOT NULL,
  PRIMARY KEY (id, languages_id)
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

INSERT INTO outgoing_tpl_info (id, languages_id, title, text)
SELECT ot.id, l_all.languages_id, ot.title, ot.text
FROM outgoing_tpl ot
JOIN configuration c ON c.configuration_key = 'DEFAULT_LANGUAGE'
JOIN languages l_en ON l_en.code = c.configuration_value
JOIN languages l_all
LEFT JOIN outgoing_tpl_info oti
  ON oti.id = ot.id AND oti.languages_id = l_all.languages_id
WHERE oti.id IS NULL;

ALTER TABLE outgoing ADD languages_id INT NOT NULL AFTER id;

UPDATE outgoing o
JOIN configuration c ON c.configuration_key = 'DEFAULT_LANGUAGE'
JOIN languages l ON l.code = c.configuration_value
SET o.languages_id = l.languages_id;

ALTER TABLE outgoing_tpl
  DROP title,
  DROP text;
2. REQUIRED

Upload these files.
Note that your /admin/ folder is hopefully not called "admin".

1.1.0.5.zip

3. REQUIRED
Visit Security Checks page in Admin and solve any issues
Admin > Tools > Security Checks
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.1.0.5 Questions / Comments / Concerns / Feedback

Post by burt »

I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.1.0.5 Questions / Comments / Concerns / Feedback

Post by burt »

Queued Email & v1.1.0.5

The Queued Email functionality is updated to i18n (internationalisation), which means that emails are now sent in the customers language - particularly useful for shops running more than one language.

If updating to v1.1.0.5, you will need to go to admin > outgoing > templates and translate your templates into whichever extra languages you use. Easy enough, right?

If you have Queued Emails addons, these will break. Fixing them is easy.
Here is an example, simply add this line of code;

https://github.com/CE-PhoenixCart/Phoen ... ck.php#L22
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply