For that, I made a copy of the cd_traditional_address-module, and made the address show my new field.
//Daniel
Assign telephone to the address pages
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: Assign telephone to the address pages
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Assign telephone to the address pages
Definitely a rabbit hole!
So now have a cloned/edited cd_traditional_address working but it will only show (on orders.php) the telephone for Customer and will not show the telephone for Shipping Address and Billing Address.
Any pointers gratefully received.
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: Assign telephone to the address pages
True!
Do you add the new data to the order on checkout? If memory serves, you need a hook to add new fields to the order-table, without which nothing will be available to show on checkout (unless, maybe, the data could be collected from the customer-data object/class, but I haven't tried that myself).
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Assign telephone to the address pages
TY - I'll look at that but looks like one rabbit-hole leading to another!Kofod95 wrote: ↑Wed Dec 28, 2022 4:51 pm Do you add the new data to the order on checkout? If memory serves, you need a hook to add new fields to the order-table, without which nothing will be available to show on checkout (unless, maybe, the data could be collected from the customer-data object/class, but I haven't tried that myself).
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: Assign telephone to the address pages
I should probably update my files and share them in this forum - If you get too tired of chasing rabbits, you can wait for me to do that 
//Daniel
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
Re: Customers cannot add new delivery address at checkout
@ecartz Thanks!
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: Assign telephone to the address pages
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide