Us too.
Tiny little optimisations - tell me what you need
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
-
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: Tiny little optimisations - tell me what you need
What I do myself is add autofocus attribute in admin>login.php so that the cursor is in the first inputfield.
I also do the same for create account>customer_data in my case on the field cd_firstname.php
admin>login.php
includes/modules/customer_data/cd_firstname.php
I also do the same for create account>customer_data in my case on the field cd_firstname.php
admin>login.php
Code: Select all
<li class="list-group-item border-top"><?= new Input('username', $input_parameters + ['placeholder' => TEXT_USERNAME, 'autocomplete' => 'username', 'autofocus' => 'autofocus']) ?></li>Code: Select all
$input = new Input('firstname', [
'id' => $input_id,
'autofocus' => 'autofocus',
'autocomplete' => 'given-name',
'placeholder' => ENTRY_FIRST_NAME_TEXT,
'minlength' => ENTRY_FIRST_NAME_MIN_LENGTH,
]);Turn up the Max
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Tiny little optimisations - tell me what you need
Yes, this is fairly simple to add in the install procedure.heatherbell wrote: ↑Thu Jul 25, 2024 10:17 am Currently there is no where that a Store Tax ID (VAT Number) can be specifically saved in Admin.
We currently append to Store Address or Store Phone which is just a workaround.
Is it possible to add this to Admin>Configuration>My Store?
Where should the inputted ID be shown in the shop side?
Ditto for the admin side..
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Tiny little optimisations - tell me what you need
Please see https://www.boia.org/blog/accessibility ... -autofocus
On the shop side I am fairly sure we can leave that up to individuals to change as they want it.
In the admin side on the login page is OK.
On the shop side I am fairly sure we can leave that up to individuals to change as they want it.
I am not here to build for you.
I am here to build with you. Let's help each other.
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: Tiny little optimisations - tell me what you need
Okay, I didn't know that...burt wrote: ↑Thu Jul 25, 2024 1:12 pm Please see https://www.boia.org/blog/accessibility ... -autofocus
Turn up the Max
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Tiny little optimisations - tell me what you need
It is a legal requirement in the U.K. that the VAT Number be displayed permanently on a website and also on invoices.
Therefore, perhaps, an addition to /includes/modules/content/footer/templates/tpl_cm_footer_contact_us.php,
with a conditional check for STORE_TAX_ID being set, after Line 7
Code: Select all
<?php
if (!Text::is_empty(STORE_TAX_ID)) {
echo MODULE_CONTENT_FOOTER_CONTACT_US_TAX_ID . STORE_TAX_ID
}
?>BTW, maybe there should be a conditional check for STORE_PHONE being set on https://github.com/CE-PhoenixCart/Phoen ... _us.php#L6
-
MyGamesShop
- Contributor
- Posts: 131
- Joined: Wed Mar 10, 2021 3:02 am
- Phoenix Version: v1.1.0.6
- Has thanked: 8 times
- Been thanked: 5 times
Re: Tiny little optimisations - tell me what you need
The IP address from the connected user who sends an email from the sites forms, so I can ban the ones that slip throu the maths capture.
-
MyGamesShop
- Contributor
- Posts: 131
- Joined: Wed Mar 10, 2021 3:02 am
- Phoenix Version: v1.1.0.6
- Has thanked: 8 times
- Been thanked: 5 times
Re: Tiny little optimisations - tell me what you need
It sound tiny but its not..
I would like to be able to sort the customers with last login or last purchase.
The hope is that I would like to delete old non returning customers and all transactions linked. (with out effecting current stock levels)
This would be useful for privacy requests to remove data or just to clean up the database.
Its currently difficult to comply with legislation as the database records the sales information with the customers names and address, making just deleting the customer non-compliant as the information could be reconstructed using other database entries.
I would like to be able to sort the customers with last login or last purchase.
The hope is that I would like to delete old non returning customers and all transactions linked. (with out effecting current stock levels)
This would be useful for privacy requests to remove data or just to clean up the database.
Its currently difficult to comply with legislation as the database records the sales information with the customers names and address, making just deleting the customer non-compliant as the information could be reconstructed using other database entries.
-
MyGamesShop
- Contributor
- Posts: 131
- Joined: Wed Mar 10, 2021 3:02 am
- Phoenix Version: v1.1.0.6
- Has thanked: 8 times
- Been thanked: 5 times
Re: Tiny little optimisations - tell me what you need
My manufactures list is long.
Maybe break it up from pages 1-100 to Alpha, or allow a key press to jump to a page?
Maybe break it up from pages 1-100 to Alpha, or allow a key press to jump to a page?
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Tiny little optimisations - tell me what you need
What manufacturers list?MyGamesShop wrote: ↑Fri Jul 26, 2024 2:52 am My manufactures list is long.
Maybe break it up from pages 1-100 to Alpha, or allow a key press to jump to a page?
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.