Page 1 of 2

1.1.0.0 BS4 to BS5 Heads Up

Posted: Sat Feb 08, 2025 11:54 am
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.

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Sun Feb 09, 2025 12:43 pm
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.

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Wed Feb 12, 2025 5:10 pm
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!

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Thu Feb 13, 2025 11:24 am
by burt
TY for testing, really appreciate it.

I'll look into this later on tonight and fix.

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Sun Feb 16, 2025 10:30 am
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.

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Sun Feb 16, 2025 11:54 am
by burt
TY for testing, really appreciate it.

https://github.com/CE-PhoenixCart/Phoen ... 3294d7b453

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Sun Feb 16, 2025 12:40 pm
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?

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Fri Feb 21, 2025 12:26 pm
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.

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Fri Feb 21, 2025 12:32 pm
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.

Re: 1.1.0.0 BS4 to BS5 Heads Up

Posted: Fri Feb 21, 2025 12:40 pm
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).