Page 1 of 1
No labels in the checkout for the billing address
Posted: 06 Nov 2022, 13:13
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
Re: No labels in the checkout for the billing address
Posted: 09 Nov 2022, 01:06
by Jan
Hi, what do you mean with labels?
Jan
Re: No labels in the checkout for the billing address
Posted: 09 Nov 2022, 14:02
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
Re: No labels in the checkout for the billing address
Posted: 14 Nov 2022, 04:24
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
Re: No labels in the checkout for the billing address
Posted: 14 Nov 2022, 15:09
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.
Jan
Re: No labels in the checkout for the billing address
Posted: 14 Nov 2022, 15:33
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
Re: No labels in the checkout for the billing address
Posted: 15 Nov 2022, 00:15
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
Re: No labels in the checkout for the billing address
Posted: 15 Nov 2022, 13:42
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?
Re: No labels in the checkout for the billing address
Posted: 19 Nov 2022, 00:26
by Jan
Hi, yes, no problem.
Jan