On the checkout/confirm page. The address appears as:
First
Last
Street
City, State, Zip
That is, with 'First' on top of 'Last'
How would you change this to:
First Last
Street
City, State, Zip
ie with First and Last on the same line?
Thanks!
First
Last
Street
City, State, Zip
That is, with 'First' on top of 'Last'
How would you change this to:
First Last
Street
City, State, Zip
ie with First and Last on the same line?
Thanks!
version 1.2.8, however I have been modifying things a bit. If I knew where or how one would put them on one line or on two, I could go back and see what happened.
Everything else on Opencart seems to be well thought out and how you would expect things to be, so I suspect I have changed a margin or added a space or something 'somewhere'.
Everything else on Opencart seems to be well thought out and how you would expect things to be, so I suspect I have changed a margin or added a space or something 'somewhere'.
Thank you for your responses:
I still have firstname on top of lastname in checkout/shipping
I have gone through your suggestions and have this:
format in Configuration->localization->country->edit country seems to be as it should be:
{firstname} {lastname}
{company}
{address_1}
{address_2}
{city}, {zone} {postcode}
{country}
and in catalog/controller/account/address.php. I have this, which seems ok
foreach ($results as $result) {
if ($result['address_format']) {
$format = $result['address_format'];
} else {
$format = '{firstname} {lastname}' . "\n" . '{company}' . "\n" . '{address_1}' . "\n" . '{address_2}' . "\n" . '{city} {postcode}' . "\n" . '{zone}' . "\n" . '{country}';
}
Perhaps I need to check and see where ['address_format'] above is defined? I looked in system/library/customer.php and there is this about line 49, 'address_format' => $result['address_format'], but that doesn't seem to me to be quite the place.
Any more suggestions?, or perhaps a checklist I should work through?
Thanks!
I still have firstname on top of lastname in checkout/shipping
I have gone through your suggestions and have this:
format in Configuration->localization->country->edit country seems to be as it should be:
{firstname} {lastname}
{company}
{address_1}
{address_2}
{city}, {zone} {postcode}
{country}
and in catalog/controller/account/address.php. I have this, which seems ok
foreach ($results as $result) {
if ($result['address_format']) {
$format = $result['address_format'];
} else {
$format = '{firstname} {lastname}' . "\n" . '{company}' . "\n" . '{address_1}' . "\n" . '{address_2}' . "\n" . '{city} {postcode}' . "\n" . '{zone}' . "\n" . '{country}';
}
Perhaps I need to check and see where ['address_format'] above is defined? I looked in system/library/customer.php and there is this about line 49, 'address_format' => $result['address_format'], but that doesn't seem to me to be quite the place.
Any more suggestions?, or perhaps a checklist I should work through?
Thanks!
actually, I have entered a new test account and the first name still appears over the last name, and it does so everywhere the address_format appears. For example, in the account/address page
I have installed a fresh new opencart, and with no modifications, the first name always appears over the last name, regardless of where the 'address_format' appears. Can this be changed?
when I open an Invoice from the ADMIN - orders - Print Invoice
it doesn't show the customer phone number.
what file should I edit, what line should I change?
I tried
admin/controller/sale/order.php
thanks a lot for your attention...
it doesn't show the customer phone number.
what file should I edit, what line should I change?
I tried
admin/controller/sale/order.php
it didn't change anything$format = '{firstname} {lastname}' . "\n" . '{company}' . "\n" . '{address_1}' . "\n" . '{address_2}' . "\n" . '{city} {postcode}' . "\n" . '{zone}' . "\n" . "<br><b>Phone:</b> " . '{telephone}' . "\n" . "<b>Customer Email:</b> " . '{email}';
thanks a lot for your attention...
I have change the adress format to this:
{förnamn} {efternamn}
{adress_1}
{adress_2}
{postnummer} {ort}
Land = {land}
but also, this is what I get in front end: see attached. What is the reason?
{förnamn} {efternamn}
{adress_1}
{adress_2}
{postnummer} {ort}
Land = {land}
but also, this is what I get in front end: see attached. What is the reason?
Attachments
Untitled-5.png (485.83 KiB) Viewed 8805 times
Those tags are code values and not meant to be translated. You must use the actual supported english tags:oclollo wrote:I have change the adress format to this:
{förnamn} {efternamn}
{adress_1}
{adress_2}
{postnummer} {ort}
Land = {land}
but also, this is what I get in front end: see attached. What is the reason?
{firstname} {lastname} etc
The format doesn't apply to the address select page.. only the invoice
Who is online
Users browsing this forum: No registered users and 196 guests