Page 1 of 2

1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Sat Oct 26, 2024 9:48 pm
by burt
Welcome to v1.0.9.8

- introduces PI flexibility to index.php
- introduces PI flexibility to info.php
- minor optimisations and bugfixes

PI on index.php
The parent content module
- cm_i_modular.php
And three child modules
- i_adverts.php
- i_brand_icons.php
- i_hero.php


PI on info.php
The parent content module
- cm_info_modular.php
And one child module
- ip_text.php

Minor Optimisations and Bugfixes
Many of them

Final Note
@heatherbell and I have worked tirelessly over many months from 1.0.9.0 onwards to accommodate Bootstrap 5 and uprate Phoenix so that it is more appealing to shopowners looking for an ecommerce software to use. Hundreds of unpaid hours of development and testing have gone into this.

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Sat Oct 26, 2024 9:50 pm
by burt
Updated and New Files (structure), in code tags to retain format for easy reading:

Code: Select all

│  README.md
│
├───admin
│   └───includes
│       │   stylesheet.css
│       │
│       ├───actions
│       │   └───customers
│       │       └───views
│       │               edit.php
│       │
│       └───modules
│           └───cfg_modules
│                   cfgm_layout.php
│
├───ext
│   └───modules
│       └───content
│           └───account
│                   nuke_account.php
│
├───images
│   │   fruit-8848715_640.webp
│   │   laptop-7723139_640.webp
│   │
│   └───brands
│           fiacre.jpg
│           von-peacock.jpg
│
├───includes
│   │   version.php
│   │
│   ├───languages
│   │   └───english
│   │       │   ssl_check.php
│   │       │
│   │       ├───modules
│   │       │   ├───content
│   │       │   │   ├───index
│   │       │   │   │       cm_i_modular.php
│   │       │   │   │
│   │       │   │   └───info
│   │       │   │           cm_info_modular.php
│   │       │   │
│   │       │   └───pi
│   │       │       ├───index
│   │       │       │       i_adverts.php
│   │       │       │       i_brand_icons.php
│   │       │       │       i_hero.php
│   │       │       │
│   │       │       └───info
│   │       │               ip_text.php
│   │       │
│   │       └───system
│   │           └───versioned
│   │               └───1.0.7.other
│   │                   └───1.0.7.12
│   │                           product.php
│   │
│   ├───modules
│   │   ├───content
│   │   │   ├───footer_suffix
│   │   │   │       cm_footer_extra_copyright.php
│   │   │   │       cm_footer_extra_icons.php
│   │   │   │
│   │   │   ├───header
│   │   │   │   │   cm_header_menu.php
│   │   │   │   │
│   │   │   │   └───templates
│   │   │   │           tpl_cm_header_menu.php
│   │   │   │
│   │   │   ├───index
│   │   │   │   │   cm_i_modular.php
│   │   │   │   │
│   │   │   │   └───templates
│   │   │   │           tpl_cm_i_modular.php
│   │   │   │
│   │   │   ├───info
│   │   │   │   │   cm_info_modular.php
│   │   │   │   │
│   │   │   │   └───templates
│   │   │   │           tpl_cm_info_modular.php
│   │   │   │
│   │   │   └───product_info
│   │   │       │   cm_pi_name.php
│   │   │       │   cm_pi_price.php
│   │   │       │
│   │   │       └───templates
│   │   │               tpl_cm_pi_gallery.php
│   │   │
│   │   ├───navbar
│   │   │       nb_currencies.php
│   │   │       nb_home.php
│   │   │       nb_new_products.php
│   │   │       nb_testimonials.php
│   │   │
│   │   └───pi
│   │       ├───index
│   │       │   │   i_adverts.php
│   │       │   │   i_brand_icons.php
│   │       │   │   i_hero.php
│   │       │   │
│   │       │   └───templates
│   │       │           tpl_i_adverts.php
│   │       │           tpl_i_brand_icons.php
│   │       │           tpl_i_hero.php
│   │       │
│   │       ├───info
│   │       │   │   ip_text.php
│   │       │   │
│   │       │   └───templates
│   │       │           tpl_ip_text.php
│   │       │
│   │       └───product_info
│   │           │   pi_buy_button.php
│   │           │   pi_gallery.php
│   │           │   pi_img_disclaimer.php
│   │           │   pi_options_attributes.php
│   │           │
│   │           └───templates
│   │                   tpl_pi_gallery.php
│   │
│   └───system
│       └───versioned
│           └───1.0.7.other
│               └───1.0.7.12
│                       login.php
│
├───install
│   │   phoenix.sql
│   │   phoenix_data_sample.sql
│   │
│   ├───images
│   │       phoenix.png
│   │
│   ├───includes
│   │   └───translations
│   │       └───en
│   │               install.php
│   │               install_2.php
│   │               install_3.php
│   │               translations.php
│   │
│   └───templates
│       │   main_page.php
│       │
│       └───pages
│               index.php
│               install.php
│               install_2.php
│               install_3.php
│               install_4.php
│
└───templates
    └───bootstrap5
        └───includes
            ├───modules
            │   ├───content
            │   │   ├───footer
            │   │   │       tpl_cm_footer_contact_us.php
            │   │   │
            │   │   ├───header
            │   │   │       tpl_cm_header_menu.php
            │   │   │
            │   │   ├───index
            │   │   │       tpl_cm_i_slider.php
            │   │   │
            │   │   ├───login
            │   │   │       tpl_cm_create_account_link.php
            │   │   │       tpl_cm_forgot_password.php
            │   │   │       tpl_cm_login_form.php
            │   │   │
            │   │   ├───product_info
            │   │   │       tpl_cm_pi_gallery.php
            │   │   │
            │   │   └───testimonials
            │   │           tpl_cm_t_list.php
            │   │
            │   ├───navbar
            │   │       tpl_nb_search.php
            │   │       tpl_nb_shopping_cart.php
            │   │
            │   └───pi
            │       ├───index
            │       │       tpl_i_brand_icons.php
            │       │       tpl_i_hero.php
            │       │
            │       └───product_info
            │               tpl_pi_gallery.php
            │
            └───pages
                    password_forgotten.php

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Sat Oct 26, 2024 9:59 pm
by burt
Bug Fixes
- solve error when deleting customer
- force admin/customers.php to use the 'default' template rather than the shop side selected template
- bootstrap5 testimonials display fix

Optimisations
- show special prices in an accessible (to screenreaders) way
- display carousel text in small viewports
- make login page look more modern
- bootstrap5 fly out cart now displays selected options/attributes

New Features
- ability to choose page to redirect to when a non logged in shopper tries to checkout
- info page is now PI enabled, with one new child module
- index page is now PI enabled, with three new child modules

Other
- update browser links on ssl_check page

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Mon Oct 28, 2024 12:05 pm
by burt
Updating from 1.0.9.7 from 1.0.9.8 is fairly straightforward.

It's a relatively small update, introducing a couple of new features and some optimisations and bugfixes.

1. REQUIRED
Run this SQL to update the necessary parts of the 1.0.9.7 Database to 1.0.9.8 Spec

Code: Select all

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Checkout Redirect', 'CHECKOUT_REDIRECT', 'create_account.php', 'At checkout, redirect a new (not logged in) customer to create_account or login page?', 1, 23, 'Config::select_one([\'create_account.php\', \'login.php\'], ', NOW());

UPDATE configuration_group SET visible = 0 WHERE configuration_group_title = 'Cache';

UPDATE configuration SET configuration_value = 'col-sm-6 offset-sm-3' WHERE configuration_key = 'MODULE_CONTENT_LOGIN_FORM_CONTENT_WIDTH';

UPDATE configuration SET configuration_value = 'col-sm-6 offset-sm-3 mt-4' WHERE configuration_key = 'MODULE_CONTENT_CREATE_ACCOUNT_LINK_CONTENT_WIDTH';

UPDATE configuration SET configuration_value = 'col-sm-6 offset-sm-3 mt-2' WHERE configuration_key = 'MODULE_CONTENT_FORGOT_PASSWORD_CONTENT_WIDTH';

UPDATE configuration SET configuration_value = '1500' WHERE configuration_key = 'MODULE_CONTENT_FORGOT_PASSWORD_SORT_ORDER';

UPDATE configuration SET configuration_value = 'bg-light navbar-light bg-body-secondary border-bottom' WHERE configuration_key = 'MODULE_CONTENT_NAVBAR_STYLE_BG';

UPDATE configuration SET configuration_value = 'navbar-expand-sm' WHERE configuration_key = 'MODULE_CONTENT_HEADER_MENU_COLLAPSE';

UPDATE configuration SET configuration_key = 'MODULE_CONTENT_HEADER_MENU_MANUFACTURERS' WHERE configuration_key = 'MODULE_CONTENT_HEADER_MANUFACTURERS';

UPDATE pages SET pages_status = 0 WHERE slug = 'privacy';
UPDATE pages SET pages_status = 0 WHERE slug = 'conditions';
UPDATE pages SET pages_status = 0 WHERE slug = 'shipping';

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id,sort_order, date_added) VALUES (NULL, 'Installed Modules', 'MODULE_CONTENT_I_INSTALLED', '', 'List of π Index child modules separated by a semi-colon. This is automatically updated. No need to edit.', 6, 0, now());

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES (NULL, 'Installed Modules', 'MODULE_CONTENT_INFO_INSTALLED', '', 'List of π Info Pages child modules separated by a semi-colon. This is automatically updated. No need to edit.', 6, 0, now());

UPDATE manufacturers SET manufacturers_image = 'brands/fiacre.jpg' WHERE manufacturers_name = 'Fiacre';
UPDATE manufacturers SET manufacturers_image = 'brands/von-peacock.jpg' WHERE manufacturers_name = 'Von Peacock';

UPDATE configuration SET configuration_value = 'col-sm-6 text-center text-sm-left text-sm-start' WHERE configuration_key = 'MODULE_CONTENT_FOOTER_EXTRA_COPYRIGHT_CONTENT_WIDTH';

UPDATE configuration SET configuration_value = 'col-sm-6 text-center text-sm-left text-sm-end' WHERE configuration_key = 'MODULE_CONTENT_FOOTER_EXTRA_ICONS_CONTENT_WIDTH';

UPDATE configuration SET configuration_value = '' WHERE configuration_key = 'MODULE_CONTENT_HEADER_MENU_STYLE';
2. REQUIRED
Upload these files.
update.zip

3. OPTIONAL
Turn on new Content Modules
a. Admin > Modules > Content > Install > {Index Modular} [if you do this, step "4a" is REQUIRED]
b. Admin > Modules > Content > Install > {Info Modular} [if you do this, step "4b" is REQUIRED]

4. OPTIONAL (but maybe REQUIRED, see step "3")
Turn on new Index PI Child Modules
a. Admin > Modules > Layout > Install > {Index Modules} [whichever modules suit your needs]
b. Admin > Modules > Layout > Install > {Info Module} [at present only one module]

5. REQUIRED
Delete un-needed file
templates/bootstrap5/includes/languages/english/system/versioned/1.0.7.other/1.0.7.12/product.php

6. REQUIRED
Visit Security Checks page in Admin and solve any issues
admin > tools > security checks

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Wed Oct 30, 2024 8:42 am
by burt
Interesting changes, some not readily apparent at first glance;

1. Login page has been "redesigned" to be less intimidating

2. Required Info Pages are inactive by default, which (in english) means (eg privacy);
- can be accessed every where needed (eg privacy.php, T & C popup, etc)
- cannot be directly accessed at info.php?pages_id=x

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Fri Nov 01, 2024 10:37 am
by raiwa
New Sale price text:
I think there should be a blankspace added between text and price and maybe first letter uppercase:
sale_price_1.png
and a linebreak in product_card:
sale_price_2.png

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Fri Nov 01, 2024 10:43 am
by raiwa
GitHub shows that the following file has been deleted:
templates/bootstrap5/includes/languages/english/system/versioned/1.0.7.other/1.0.7.12/product.php

It seems this is missing in the update instructions.

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Fri Nov 01, 2024 12:16 pm
by burt
raiwa wrote: Fri Nov 01, 2024 10:37 am New Sale price text:
I think there should be a blankspace added between text and price and maybe first letter uppercase:

sale_price_1.png
and a linebreak in product_card:
sale_price_2.png
Where (which page[s]) does this show like this please ?

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Fri Nov 01, 2024 12:50 pm
by raiwa
burt wrote: Fri Nov 01, 2024 12:16 pm
raiwa wrote: Fri Nov 01, 2024 10:37 am New Sale price text:
I think there should be a blankspace added between text and price and maybe first letter uppercase:

sale_price_1.png
and a linebreak in product_card:
sale_price_2.png
Where (which page[s]) does this show like this please ?
product_info.php and index.php product listing using product_card

Re: 1.0.9.8 Questions / Comments / Concerns / Feedback

Posted: Fri Nov 01, 2024 3:04 pm
by burt
raiwa wrote: Fri Nov 01, 2024 12:50 pm product_info.php and index.php product listing using product_card
TY
https://github.com/CE-PhoenixCart/Phoen ... 84057d4089

This shows up as an issue on Bootstrap 4. Just add `sr-only` class.