No labels in the checkout for the billing address

Phoca Cart - complex e-commerce extension
User avatar
Cloudflye
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Nov 2022, 12:56

No labels in the checkout for the billing address

Post by Cloudflye »

Hello everybody,

I am new here and have problems with the billing and delivery address. No labels are displayed in front of the fields. This is the case with guest access and also with registered users.
Using Joomla 4 + Cassiopeia Template + Cassiopeia for Phoca

Where is the mistake?
Can someone please help

Screenshot: https://imgur.com/a/maS6tqz
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No labels in the checkout for the billing address

Post by Jan »

Hi, what do you mean with labels?

Jan
If you find Phoca extensions useful, please support the project
User avatar
Cloudflye
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Nov 2022, 12:56

Re: No labels in the checkout for the billing address

Post by Cloudflye »

Hello Jan,

as can be seen in the screenshot.....
Name: xxxxxxx
First name: xxxxxx
Etc.
The labels are there when you edit the address, but not when you just display the address.

Greeting Frank
User avatar
Cloudflye
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Nov 2022, 12:56

Re: No labels in the checkout for the billing address

Post by Cloudflye »

Hello, everyone
because no one has an idea why the labels are not displayed?
After a user has registered for the first time, everyone is there. The user can fill out the form. (Screenshot-1)
After clicking Save, they are no longer displayed (Screenshot-2). But since I have to define my own fields that only contain numbers, I or the customer need the labels.
It would be nice if someone could help.
Many greetings

Screenshot: https://imgur.com/a/TGzCDz4
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No labels in the checkout for the billing address

Post by Jan »

Hi, this is the standard function, you need to labels when you fill the information into form fields and you don't need to display labels when edit is done or on invoice, etc. So to display labels even on documents or checkout view, the code needs to be customized. The other question is, do really users need such labels when the mode is not edit. :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
Cloudflye
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Nov 2022, 12:56

Re: No labels in the checkout for the billing address

Post by Cloudflye »

Hello Jan,
I think first of all because of the overview...yes. As I said, I have to create two fields which should display a customer number and a card number that the customer enters. How and where do I adjust the code? Can you please give me a direction?
Regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No labels in the checkout for the billing address

Post by Jan »

Hi, the best way is to override the checkout output files per template override function.

The file displayed the address is here:
components/com_phocacart/views/checkout/tmpl/default_address.php

Jan
If you find Phoca extensions useful, please support the project
User avatar
Cloudflye
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Nov 2022, 12:56

Re: No labels in the checkout for the billing address

Post by Cloudflye »

Hello Jan,
thank you for your feedback and the note. I'll try that. Can I report if I can't manage it?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No labels in the checkout for the billing address

Post by Jan »

Hi, yes, no problem.

Jan
If you find Phoca extensions useful, please support the project
Post Reply