Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
How to modify Billing Information and Shipping Information Form on Checkout
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

I have a customer request to make it a bit clearer that the county drop-down list needs to be pre-selected in order to get various states and provinces to appear for a certain selected country. It seems the form is not intuitive to people checking out. So I want to tweak the form slightly by adding a text note.

The URL for check is http://mydomain.com/checkout/onepage/

I am modifying /app/design/frontend/base/default/template/default/template/checkout/onepage/billing.phtml and /.../shipping.phtml

I upload my changes and go through each of the 4 cache flushes and also do a re-index of the database in the backend sys admin sections.

My changes do not take.

How can I modify the text content on the checkout form—Billing Information section and Shipping Information section?

Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

Hi Franco

Are you using the default skin with Magento?

In your /app/design/frontend folder you’ve probably a number of different packages (eg. base) and themese (e.g. default). In your admin area navigation to System > Configuration > then click the ‘Design’ tab. Here you’ll be able to see the current package and theme you’re using.

Magento has a system of inheritance so template files in your current package have priority over the Magento defaults (base/default). Therefore is suspect you have a /app/design/frontend/<<PACAKGE>>/<<THEME>>/template/default/template/checkout/onepage/billing.phtml

Cheers
Matt

 
Magento Community Magento Community
Magento Community
Magento Community
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

Thanks @MattStephens.

I am using a package theme however the only directories under /app/design/frontend are:

- base
- default

My template/theme package does not have a custom overlay for the checkout/onepage (so it seems)

Do you think I should just make my own copy of billing.phtml and edit it? If so, where exactly should I store it?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

@franco

Try turning on template path hints in the admin panel System > Config > developer tab (bottom) > “debug” and turn on template path hints. This should show you the location of the template file it’s using smile

What do you have inside default, I suspects it’s hidden in there.

Cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

Ok, did that. Thanks @MattStephens

I a running 1.7.2 so what I had in System > Config > Advanced > Developer was Template Settings > Allow Symlinks.

I set it to yes.

Then I went through a checkout again but nothing was revealed to me.

I have update the billing.phtml in the default directory path on my Magento. I flushed the 4 cache settings and even re-index. I did this about 10-12 times

I could never get my modification to appear.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

Hello,

Sorry my apologies, the template path hints is turned on in the “debug” options of developer, not “template settings”. [amended previous reply]

Cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

Ok, thanks for your continued help @MattStephens.

I went into System > Configuration > Advanced > Developer > Debug

I set the Profiler from “No” to “Yes”

I then stepped through my checkout again and on the “Billing Information” page I discovered “[profiler]” in the footer

Here is what is down there:

[profiler]

Memory usage: real: 49020928, emalloc: 48499944

Code Profiler Time Cnt Emalloc RealMem

Now what do I need to do?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

@franco

You need to edit template path hints, not the profiler. See the image below.

Cheers

Image Attachments
pathhints.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

Hmm, I am running v 1.7.2.

I’ll need to see if I can locate that

 
Magento Community Magento Community
Magento Community
Magento Community
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

@MattStephens. Can you help me with the settings base on my version 1.7.2. See screen shot below:

Image Attachments
mage.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

@franco, On the left in the top screen when you visit that page you should have a dropdown (store selector), the template path hints option only becomes available when you select a website (grey option) or a store view (below that). If you’re on the Default option it won’t appear.

 
Magento Community Magento Community
Magento Community
Magento Community
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

Thanks again @MattStephens.

The path and template files seem to be listed below. But these are no where to be found on my server. Very odd…

frontend/base/default/template/persistent/checkout/onepage/billing.phtml

frontend/base/default/template/customer/widget/name.phtml
*First Name
*Last Name

 
Magento Community Magento Community
Magento Community
Magento Community
 
MattStephens
Sr. Member
 
Avatar
Total Posts:  152
Joined:  2011-07-12
United Kingdom
 

Hello,

They’ll definitely be there if referenced. Make sure you\’re looking for a persistent folder in the template folder, not getting it confused with the checkout.

Cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
franco13
Sr. Member
 
Total Posts:  91
Joined:  2012-09-12
 

Found it and edited it. Thanks @MattStephens

 
Magento Community Magento Community
Magento Community
Magento Community
 
xeont
Member
 
Total Posts:  36
Joined:  2011-01-29
 

Thank you so much @MattStephens on “template path hints”

 
Magento Community Magento Community
Magento Community
Magento Community
 
newnewnew
Jr. Member
 
Total Posts:  5
Joined:  2011-12-17
 

Yes, that’s okay

.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2