I have been using Mozilla Firefoxes’ Firebug addon to inspect and clarify many elements of my CS Cart.
The Forums and CS Cart have been extremely generous and very helpful.
So I want to ask them less and less about basic/common issues, and prefer to do things myself.
BUT … I can’t work out where many of these elements exist.
I must be missing something or reading the program incorrectly.
Example
The Closed Store Gif. I want to find it and change it
Firebug tells me this;
The store is temporarily closed for maintenance
So where do I search for this file?
(FTP - Under Public HTML)
I've looked
* under the file 'Images'
* under the SKIN I am using.
I finally found it under the direct www folder in my FTP program, but I had to look in almost every folder!
Another example;
The 'SAVE' Button when selecting the shipping options in checkout.
Firebug says:
I want to change it to "SAVE and CONTINUE"
Firebug gives me heaps of info under style, but the word SAVE isn't showing.
The rest (HTML) is very detailed, but where would I look for file to alter to make changes.
Can anyone guide as to where I might see the folder or file locations under Firebug.
Finding the exact phrases is tought. Because of how CS-Cart works it pulls up information from everywhere.
I use Adobe Dreamweaver to help me. With it’s search function I can search a single file, whole folders, or my whole site. By doing this it has helped me tons.
Now for the save button, most of the buttons are in the skins/your-skin/customer/buttons folder. The save button file is actually called save.tpl The code is:
The way I see it you have a couple of options. You can either change your language variable in your admin or you can change this code and add your own language variable.
The con with changing the language variable is that it will be changed for your whole site including your admin. Personally I’d just change the code and add a new variable. To do this you would:
In your admin => Content => Languages Click on add language variable. In there add:
Language variable: save_continue
Value: Save and Continue
To change your code, you’d just change:
text=$lang.save
To:
text=$lang.save_continue
As for finding everything else, it just takes some time and you’ll know where everything is, for the most part.
The easiest way to do this is to open the file and search for:
save
and replace with:
save_continue
There should be 3 instences of it.
As for using Dreamweaver, I have a complete copy of my site on my computer here and I use Xampp to do all my local testing before I upload anything to my live site.
I just set up a site within Dreamweaver and point it to my local installation. One of the cool things about this is that when ever I make a change I am able to test it here on my local machine by usually just refreshing the page. If my changes are what I want and they function right then I upload the file(s) to my server.
I am actually in the process of making some changes that Jesse recommended me to do and boy am I glad I am doing it on my local installation instead of my live site because I have really messed things up a couple of time and had to turn to my live site for a backup for my local installation.
Yeah the last thing I want to do is make some type of ****py code change and then make it so my customers can’t view the products or checkout or something.
Even though I don’t get tons of sales, everyone counts and I don’t want to loose any especially to something stupid that I’ve done.