1.1.0.0 BS4 to BS5 Heads Up

Open to all! Ask other shopowners for help.
User avatar
burt
Core Team
Posts: 4551
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.0 BS4 to BS5 Heads Up

Post by burt »

The next planned release will be 1.01.00.00.

This minor change of nomenclature is to future proof and solve sorting/versioning problems at Github.
1.01.00.00 is the exact same as 1.1.0.0

Bootstrap 4 is End Of Life EOL & has been for over 2 years, see https://getbootstrap.com/docs/4.6/end-of-life/
We've been behind the loop on this, so in 1.1.0.0 we are taking the opportunity to migrate Phoenix fully to Bootstrap 5.

Changes expected in 1.1.0.0

A. Admin Side Updated to Bootstrap 5 (BS5)
B. Shop Side Removal of Bootstrap 4 (BS4)
C. Shop Side going BS5 only
D. Minor change in product listing to make them more flexible and extensible

Addons

Some addons may need minor tweaking to work with BS5. There is no way around this as the creators of BS5 took the opportunity to rewrite parts of their codebase.

Developers and Shopowners have had many months (years!) to look at and get used to the `bootstrap5` template in readiness for Phoenix to go BS5 only.

Updating addons is very simple and is usually a matter of finding the new CSS, eg mr-1 [margin right] becomes me-1 [margin end] (there are many other CSS changes but none are particularly complicated) - no developer should be afraid of this.

Some addons may need HTML changes as BS5 changed some HTML structures (eg BS5 carousel is slightly different to BS4 and eg Form inputs are slightly different to BS4), again these changes are not complicated and no developer should be afraid of this.

Some developers might update their addons with new goodies that BS5 brings (eg offcanvas).

jQuery

As a consequence of BS5 removing jQuery, the following will happen as a by-product of updating Phoenix

E. Removal of jQuery
F. Removal of jQueryUI

jQuery in Addons

On the up side, removing unneeded libraries such as jQuery will speed up your shop for both yourself as the admin user and for your shoppers in the shop side. On the down side, any addons relying on jQuery will need attention to change from jQuery to pure javascript. This is not difficult and no developer should be afraid of this.
If anyone has questions, comments or concerns, please ask and we will do our best to answer.
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
User avatar
burt
Core Team
Posts: 4551
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.0 BS4 to BS5 Heads Up

Post by burt »

Should you wish to try the 1.1.0.0 (which is not yet released!!) on a TEST SHOP, you can download it;

https://github.com/CE-PhoenixCart/Phoen ... .00.00.zip

Note that this should be tested on a TEST SHOP, it is NOT FOR USE ON A LIVE SHOP.

We would be very thankful for any feedback/ideas/bug reports etc.
I am not here to build for you.
I am here to build with you. Let's help each other.
Fiber
Contributor
Posts: 173
Joined: Mon Oct 26, 2020 12:16 pm
Phoenix Version: v1.1.0.6
Has thanked: 17 times
Been thanked: 27 times

Re: 1.1.0.0 BS4 to BS5 Heads Up

Post by Fiber »

burt wrote: Sun Feb 09, 2025 12:43 pm We would be very thankful for any feedback/ideas/bug reports etc.
First of all compliments for the work that has been done... :+1:

Is it possible that you have not implemented the option to assign an Importer in the admin? Importer created and I wanted to assign it to a product, but that option was not there, then looked at what could be the cause but the changes that were made in the previous version were not there and those were 3 this files in admin/includes/actions/catalog/
insert_product.php and update_product.php en in views>new_product.php after doing this it works..

Need to test more but looks good!
Turn up the Max
User avatar
burt
Core Team
Posts: 4551
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.0 BS4 to BS5 Heads Up

Post by burt »

TY for testing, really appreciate it.

I'll look into this later on tonight and fix.
I am not here to build for you.
I am here to build with you. Let's help each other.
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: 1.1.0.0 BS4 to BS5 Heads Up

Post by raiwa »

Seems to be an error in modules page selection.
In Table Row Click Javascript Header Tag:
- Edit shows selected pages.
- Save shows "on" in selected pages list for each selected page.
- Edit again shows all pages unselected.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
User avatar
burt
Core Team
Posts: 4551
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.0 BS4 to BS5 Heads Up

Post by burt »

TY for testing, really appreciate it.

https://github.com/CE-PhoenixCart/Phoen ... 3294d7b453
I am not here to build for you.
I am here to build with you. Let's help each other.
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: 1.1.0.0 BS4 to BS5 Heads Up

Post by raiwa »

In:
admin\includes\actions\importers\infoboxes\edit.php lines 34-35 using manufacturers ids:
"mUrl-{$l['code']}" and "mDescription-{$l['code']}"]"
Maybe also in other places?
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
User avatar
burt
Core Team
Posts: 4551
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.0 BS4 to BS5 Heads Up

Post by burt »

If anyone else has tested the 1.1.0.0 (or if you have time over the weekend to install a test shop and have a play) we'd be very grateful for any feedback or error reports etc. Thank you all.
I am not here to build for you.
I am here to build with you. Let's help each other.
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: 1.1.0.0 BS4 to BS5 Heads Up

Post by raiwa »

Working since 2 weeks on a mayor shop remake from bs3 gold to Phoenix based on the actual 1.1.0.0 branch. Mainly working on home page and modules, no issues so far apart of the already reported.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
User avatar
burt
Core Team
Posts: 4551
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.0 BS4 to BS5 Heads Up

Post by burt »

raiwa wrote: Fri Feb 21, 2025 12:32 pm Working since 2 weeks on a mayor shop remake from bs3 gold to Phoenix based on the actual 1.1.0.0 branch. Mainly working on home page and modules, no issues so far apart of the already reported.
Beautiful - TY.
The existing 1.1.0.0 branch won't have any more in it than what is already there (other than fixes to any errors and the like).
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