1.0.9.10 Questions / Comments / Concerns / Feedback

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

1.0.9.10 Questions / Comments / Concerns / Feedback

Post by burt »

Welcome to v1.0.9.10

1.0.9.10 solves more accessibility issues, makes some bugfixes and introduces a new feature "importers".

New Modules
- introduces PI layout module for Manufacturer
- introduces PI layout module for Importer

Minor Optimisations & Bug Fixes
Many of them

Thanks to everyone who took part in testing v1.0.9.10, without the community pitching in to help we'd not be where we are now.
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: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.0.9.10 Questions / Comments / Concerns / Feedback

Post by burt »

Updated and New Files (structure), in code tags to retain format for easy reading:

Code: Select all

│   README.md
│
├───admin
│   │   importers.php
│   │
│   └───includes
│       ├───actions
│       │   ├───catalog
│       │   │   │   copy_to_confirm.php
│       │   │   │   insert_product.php
│       │   │   │   update_product.php
│       │   │   │
│       │   │   └───views
│       │   │           default.php
│       │   │           new_product.php
│       │   │
│       │   ├───customers
│       │   │       delete_confirm.php
│       │   │
│       │   ├───importers
│       │   │   │   delete_confirm.php
│       │   │   │   insert.php
│       │   │   │   save.php
│       │   │   │
│       │   │   ├───infoboxes
│       │   │   │       default.php
│       │   │   │       delete.php
│       │   │   │       edit.php
│       │   │   │       new.php
│       │   │   │
│       │   │   └───views
│       │   │           default.php
│       │   │
│       │   └───manufacturers
│       │       │   insert.php
│       │       │   save.php
│       │       │
│       │       └───infoboxes
│       │               default.php
│       │               edit.php
│       │               new.php
│       │
│       ├───boxes
│       │       catalog_importers.php
│       │
│       └───languages
│           └───english
│               │   catalog.php
│               │   customers.php
│               │   importers.php
│               │   manufacturers.php
│               │
│               └───modules
│                   └───boxes
│                           catalog_importers.php
│
├───includes
│   │   version.php
│   │
│   ├───classes
│   │       importer.php
│   │       manufacturer.php
│   │
│   ├───languages
│   │   └───english
│   │       ├───hooks
│   │       │   └───shop
│   │       │       └───product_info
│   │       │               gallery.php
│   │       │
│   │       ├───modules
│   │       │   └───content
│   │       │       ├───index
│   │       │       │       cm_i_slider.php
│   │       │       │
│   │       │       └───login
│   │       │               cm_create_account_link.php
│   │       │
│   │       └───pi
│   │           ├───index
│   │           │       i_adverts.php
│   │           │
│   │           └───product_info
│   │                   pi_importer.php
│   │                   pi_manufacturer.php
│   │
│   ├───modules
│   │   ├───content
│   │   │   └───product_info
│   │   │       │   cm_pi_gallery.php
│   │   │       │
│   │   │       └───templates
│   │   │               tpl_cm_pi_gallery.php
│   │   │
│   │   ├───header_tags
│   │   │       ht_table_click_jquery.php
│   │   │
│   │   └───pi
│   │       ├───index
│   │       │       i_brand_icons.php
│   │       │
│   │       └───product_info
│   │           │   pi_importer.php
│   │           │   pi_manufacturer.php
│   │           │
│   │           └───templates
│   │                   tpl_pi_importer.php
│   │                   tpl_pi_manufacturer.php
│   │                   tpl_pi_qty_input.php
│   │
│   └───system
│       └───versioned
│           ├───1.0.7.6
│           │       info_pages.php
│           │
│           └───1.0.8.3
│                   session.php
│
├───install
│   │   phoenix.sql
│   │   phoenix_data_sample.sql
│   │
│   └───includes
│       └───translations
│           └───en
│                   install.php
│
└───templates
    ├───bootstrap5
    │   └───includes
    │       ├───components
    │       │       product_listing.php
    │       │       template_bottom.php
    │       │       template_top.php
    │       │
    │       ├───ext
    │       │   └───modules
    │       │       └───content
    │       │           └───reviews
    │       │                   write.php
    │       │
    │       ├───hooks
    │       │   └───shop
    │       │       └───product_info
    │       │               gallery.php
    │       │
    │       ├───languages
    │       │       english.php
    │       │
    │       ├───modules
    │       │   ├───content
    │       │   │   └───footer
    │       │   │           tpl_cm_footer_information_links.php
    │       │   │
    │       │   ├───navbar
    │       │   │       tpl_nb_search.php
    │       │   │
    │       │   └───pi
    │       │       └───product_info
    │       │               tpl_pi_manufacturer.php
    │       │               tpl_pi_qty_input.php
    │       │
    │       └───pages
    │               address_book.php
    │
    └───default
        └───includes
            ├───components
            │       product_listing.php
            │       template_top.php
            │
            └───hooks
                └───shop
                    └───product_info
                            gallery.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: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.0.9.10 Questions / Comments / Concerns / Feedback

Post by burt »

Updating from 1.0.9.9 to 1.0.9.10 is simple.

1. REQUIRED
Run this SQL to update the necessary parts of the 1.0.9.9 Database to 1.0.9.10 Spec

Code: Select all

CREATE TABLE importers (
  importers_id int NOT NULL auto_increment,
  importers_name varchar(255) NOT NULL,
  importers_image varchar(255),
  importers_address TEXT NULL,
  importers_email varchar(255),
  date_added datetime NULL,
  last_modified datetime NULL,
  PRIMARY KEY (importers_id),
  KEY IDX_IMPORTERS_NAME (importers_name)
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

CREATE TABLE importers_info (
  importers_id int NOT NULL,
  languages_id int NOT NULL,
  importers_url varchar(255) NOT NULL,
  url_clicked int(5) NOT NULL default '0',
  date_last_click datetime NULL,
  importers_description TEXT NULL,
  PRIMARY KEY (importers_id, languages_id)
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

ALTER TABLE manufacturers ADD manufacturers_address TEXT NULL;
ALTER TABLE manufacturers ADD manufacturers_email varchar(255);

ALTER TABLE products ADD importers_id int NULL;

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

1.0.9.10.zip

3a. REQUIRED
Delete this File
admin/includes/actions/catalog/views/new_product_preview.php

3b. REQUIRED
Delete this Folder (and all contents of this folder)
admin/includes/actions/define_language/

4a. OPTIONAL
Add Importers.
Admin > Catalog > Importers

4b. OPTIONAL
Assign Importers to Products.
Admin > Catalog > Product Adding/Editing

4c. OPTIONAL
Turn on new Module for Manufacturer
Turn on new Module for Importer
Admin > Modules > Layout > Install

4d. OPTIONAL
Set Navbar to "sticky-top" for a more modern look and a better UI experience for your customers
Admin > Modules > Content > {Navigation Bar} > {Edit} > Placement: Sticky Top

5. 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.
frankl
Builder
Posts: 159
Joined: Tue Feb 23, 2021 8:39 pm
Phoenix Version: v1.1.0.4
Has thanked: 17 times
Been thanked: 25 times

Re: 1.0.9.10 Questions / Comments / Concerns / Feedback

Post by frankl »

What are importers? I can't quite glean from the info provided :)
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: 1.0.9.10 Questions / Comments / Concerns / Feedback

Post by ecartz »

frankl wrote: Fri Jan 31, 2025 10:42 pm What are importers? I can't quite glean from the info provided :)
Apparently GSPR requires a local contact. The importer is the person or company who was responsible for bringing the product into the EU (GSPR is an EU thing).

If it's a domestically produced item, there won't be an importer.

I'm not familiar enough with the GSPR to say if you need to list yourself as the importer or the manufacturer as the importer when either of you meet the definition. Perhaps someone in the GSPR topic knows.
frankl
Builder
Posts: 159
Joined: Tue Feb 23, 2021 8:39 pm
Phoenix Version: v1.1.0.4
Has thanked: 17 times
Been thanked: 25 times

Re: 1.0.9.10 Questions / Comments / Concerns / Feedback

Post by frankl »

I'm in Australia and only sell in Australia and New Zealand so I don't need this :D
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.0.9.10 Questions / Comments / Concerns / Feedback

Post by raiwa »

When the customer data State module is disabled or not installed, I get on checkout_shipping.php:
Warning: Undefined array key "zone_id" in C:\laragon\www\xxxxxxxxxxxxxx\includes\system\versioned\1.0.7.8\abstract_shipping_module.php on line 36
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
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: 1.0.9.10 Questions / Comments / Concerns / Feedback

Post by ecartz »

raiwa wrote: Thu Feb 06, 2025 10:16 am When the customer data State module is disabled or not installed, I get on checkout_shipping.php:
Warning: Undefined array key "zone_id" in C:\laragon\www\xxxxxxxxxxxxxx\includes\system\versioned\1.0.7.8\abstract_shipping_module.php on line 36
Zone is required. If you want to disable the core state module, you should replace it with something else that sets the zone (possibly to a constant value).
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: 1.0.9.10 Questions / Comments / Concerns / Feedback

Post by heatherbell »

ecartz wrote: Thu Feb 06, 2025 12:42 pm Zone is required.
Think this is similar to another post somewhere about a store being accidentally broken by disabling Country.
Is there no way to stop this accidental breakage by either removing the option or by including warning text within the module?
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.0.9.10 Questions / Comments / Concerns / Feedback

Post by raiwa »

heatherbell wrote: Thu Feb 06, 2025 1:05 pm
ecartz wrote: Thu Feb 06, 2025 12:42 pm Zone is required.
Is there no way to stop this accidental breakage by either removing the option or by including warning text within the module?
I agree. I found a very strange effect with payment modules:
When the state module is disabled or not installed and a payment zone is selected in payment modules, only the first payment module shows on checkout_payment.php.
But no error message is displayed.
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


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