-
- franco13

-
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.
|
| |
-
- Posted: January 7 2013
-
| top
-
|
 |
 |
 |
|
|
-
- MattStephens

-
Total Posts: 151
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
|
| |
-
- Posted: January 7 2013
-
| top
| # 1
-
|
 |
 |
 |
|
|
-
- franco13

-
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?
|
| |
-
- Posted: January 7 2013
-
| top
| # 2
-
|
 |
 |
 |
|
|
-
- MattStephens

-
Total Posts: 151
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
What do you have inside default, I suspects it’s hidden in there.
Cheers
|
| |
-
- Posted: January 8 2013
-
| top
| # 3
-
|
 |
 |
 |
|
|
-
- franco13

-
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.
|
| |
-
- Posted: January 8 2013
-
| top
| # 4
-
|
 |
 |
 |
|
|
-
- MattStephens

-
Total Posts: 151
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
|
| |
-
- Posted: January 8 2013
-
| top
| # 5
-
|
 |
 |
 |
|
|
-
- franco13

-
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?
|
| |
-
- Posted: January 8 2013
-
| top
| # 6
-
|
 |
 |
 |
|
|
-
- MattStephens

-
Total Posts: 151
Joined: 2011-07-12
United Kingdom
|
@franco
You need to edit template path hints, not the profiler. See the image below.
Cheers
Image Attachments
Click thumbnail to see full-size image
|
| |
-
- Posted: January 8 2013
-
| top
| # 7
-
|
 |
 |
 |
|
|
-
- franco13

-
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
|
| |
-
- Posted: January 8 2013
-
| top
| # 8
-
|
 |
 |
 |
|
|
-
- franco13

-
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
Click thumbnail to see full-size image
|
| |
-
- Posted: January 8 2013
-
| top
| # 9
-
|
 |
 |
 |
|
|
-
- MattStephens

-
Total Posts: 151
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.
|
| |
-
- Posted: January 9 2013
-
| top
| # 10
-
|
 |
 |
 |
|
|
-
- franco13

-
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
|
| |
-
- Posted: January 9 2013
-
| top
| # 11
-
|
 |
 |
 |
|
|
-
- MattStephens

-
Total Posts: 151
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
|
| |
-
- Posted: January 9 2013
-
| top
| # 12
-
|
 |
 |
 |
|
|
-
- franco13

-
Total Posts: 91
Joined: 2012-09-12
|
Found it and edited it. Thanks @MattStephens
|
| |
-
- Posted: January 10 2013
-
| top
| # 13
-
|
 |
 |
 |
|
|