Forums / Templates, Stylesheets, Page Layout / Second step in setting up your cart - templates

Second step in setting up your cart - templates

Sticky

Views: 148,447

Results 21 to 40 of 105
17 Sep 2007, 4:20 PM
#21
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Second step in setting up your cart - templates

Sermonzone:

Remember to edit template_info.php and turn on the template in admin.
Best wishes for your Zen success.

Question on edit the template_info.php.
I made some changes for the following and assigned them to the proper folders. Note jus the basic updates, change the text for my company.
index.php
meta_tags.php
header.php
new logo for the header.php
english.php
css

What do I need to modify for the template_info.php

and I also read some where that I might need to modify any of the files in
/includes/templates/template_default/templates/

Can you please help me
thanks
nomad

17 Sep 2007, 7:14 PM
#22
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Second step in setting up your cart - templates

You do not want to modify any files in /template_default/. What you want to do is copy any file you want to edit into /your_template/, and edit the copy.

All you really need to edit in template_info.php is your template's name - essentially personalize the info.

17 Sep 2007, 7:23 PM
#23
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

Thanks for the info.

20 Sep 2007, 4:24 PM
#24
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

With the help of the good people here, I'm well on my way to building my cart and I'm working on adding the content (3400 items or so) daily.

I have the main page looking like I want (except for the color scheme but I'll tackle that when I get a good CSS editor) but now seem to have a similar issue for the product pages.

If you go to https://www.robertensing.com you see that the main page is set to display 3 columns of products. When you select one of the categories in the left column, those products are listed 1 above the other and I would like to have them showing as 3 in a row also.

I can't find the page to change that setting on. :-(

Also, is it possible to put a link inside the description? For example, a few items have a picture that shows 2 or 3 different items, each sold seperately but using the same picture. Currently I have "item suchandsuch sold seperately - see item xxx" can I link the xxx directly to the correct item and save the customer having to look for it?

I also haven't heard back from my post in the IH 2 support forum more than a day ago, is that not monitored anymore?

20 Sep 2007, 6:03 PM
#25
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Second step in setting up your cart - templates

Get the Column Layout Grid mod from Downloads.

You can add a link to the product description, but what you really want is something like the Better Together mod - see testuser's sig for a link to that.

There is nobody "assigned" to monitor any one thread - if someone who can answer questions wants to monitor one, they can. I believe the IH2 mod author is no longer active, but others sometimes answer.

10 Oct 2007, 4:24 AM
#26
sneader avatar

sneader

New Zenner

Join Date:
Mar 2007
Posts:
20
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

kdgjevre:

Your first link does not appear to work.

misty:

Tested all links.. working fine at time of test

The first link in your first post, which you recommend that everyone read, takes you to a page that says:

Invalid FAQ Item specified. If you followed a valid link, please notify the administrator

Hope this helps.

  • Scott
10 Oct 2007, 4:42 AM
#27
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Second step in setting up your cart - templates

The bad links have been updated.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Nov 2007, 4:05 AM
#28
topaward avatar

topaward

New Zenner

Join Date:
Nov 2007
Location:
New Jersey
Posts:
12
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

PLEASE PLUK OUT MY EYES! :blink:

I have been moderately successful at damaging my new installation and am ready to cry. I promise ALL of you that I have read post after post about changing the page title in meta_tags.php and STILL, IE does not change (I know, boo! ie...). I've used dev tools and searched "title" as suggested and, I SEE the original "zen..." commented <//> and mine accepted - BUT THE CONFUNDED THING...doesn't change. I see some changes were successful: copyright notice, more info (tho links dont work), i added header/footer links just to see if I could - not my index.php ovrd tho, that doesn't show.

I have really put off posting because it just is too easy to be missing it!
Along my journey i've come up with a few ???s:

  1. Where's MY title?? (oh, you know that one...)
  2. Can there be more that one /CUSTOM folder? and...
    2a) Does /CUSTOM >have to< appear everywhere that classic is?
    My understanding from reading the past 14 hours is "not if I have made no changes"

I hereby PROMISE to become a valuable member to the zen society in the future as I learn in exchange for a hamburger today...no, that's Wimpy's line, make that HELP today?

Thanks for your time!

Jo

Get YOUR logo...
everywhere by Awards Worth Winning
http://www.awardsworthwinning.com
Make their lives rewarding with Old Pine Shop
http://www.oldpineshoponline.com

20 Nov 2007, 10:51 AM
#29
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Second step in setting up your cart - templates

topaward:

  1. Where's MY title?? (oh, you know that one...)
    Do yopu mean the one in your includes/languages/english/CUSTOM/meta_tags.php file?

topaward:

  1. Can there be more that one /CUSTOM folder? and...Yes. It would be a very rare (or badly constructed) site where there wan't.
    topaward:

2a) Does /CUSTOM >have to< appear everywhere that classic is?
My understanding from reading the past 14 hours is "not if I have made no changes"Your understanding is correct.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Nov 2007, 3:50 PM
#30
topaward avatar

topaward

New Zenner

Join Date:
Nov 2007
Location:
New Jersey
Posts:
12
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

...er...yep. :yes:

Thank you! I knew it was gonna be something i just wasn't seeing!

Jo

Get YOUR logo...
everywhere by Awards Worth Winning
http://www.awardsworthwinning.com
Make their lives rewarding with Old Pine Shop
http://www.oldpineshoponline.com

23 Nov 2007, 5:57 PM
#31
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

I have a much more basic question than this.

How do I edit the main page that comes up for the Catalogue? Right now it shows a big advertisement for the ZEN manual and stuff like "Your sales comment goes here"

How do I edit this thing just to get started?

23 Nov 2007, 7:40 PM
#32
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

You do the actual editing using a plain text editor. As to what to edit - perhaps start by reading this thread and the FAQs on setting up your custom template.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

19 Feb 2008, 9:13 AM
#33
ttb avatar

ttb

New Zenner

Join Date:
Feb 2008
Posts:
11
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

What is the best way to copy the override files/create the override folders? Can I use cpanel to do that?

Is there a better way than downloading zencart, unzipping it, renaming everything called "classic" to "CUSTOM" then ftp'ing the CUSTOM directories with the files inside to the website?

6 Apr 2008, 1:17 AM
#34
krahall avatar

krahall

New Zenner

Join Date:
Dec 2007
Posts:
24
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

I have found the "step by step" instructions I think. I have found the folders template default etc, created my CUSTOM folder and copied the css files, but now it says to copy

Then you copy the file called includes/templates/template_default/template_info.php and put it inside includes/templates/CUSTOM/. Next, open includes/templates/CUSTOM/template_info.php in your

When I open includes/templates/template_default I see alot of choices which appear to open with Broderband. The only template_info I have says shopping cart. Also the "template_info.php" is in blue lettering. Is this to mean something?

I have been at this project for 4 months. I am bound and determined to figure it out. I understand the trees and ftp uploads etc but it always appears there is a missing step.

PLEASE HELP:frusty:

6 Apr 2008, 8:15 AM
#35
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Second step in setting up your cart - templates

ttb:

What is the best way to copy the override files/create the override folders? Can I use cpanel to do that?

Is there a better way than downloading zencart, unzipping it, renaming everything called "classic" to "CUSTOM" then ftp'ing the CUSTOM directories with the files inside to the website?
If you're using a good FTP tool then it will typically allow you to create new folders in your hosted space, drag and drop files for editing to a folder on your desktop/laptop and return the amended files to your hosted space as though this was all taking place locally.

You can use CPanel, but I wouldn't advise using it for editing and it's a much more clunky approach.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Apr 2008, 8:22 AM
#36
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Second step in setting up your cart - templates

KRahall:

When I open includes/templates/template_default I see alot of choices which appear to open with Broderband. The only template_info I have says shopping cart. Also the "template_info.php" is in blue lettering. Is this to mean something?This isn't very clear. template_info.php should be the only file in your template_default folder (everything else in there is a folder). What is Broderband? As far as I can see it's a package intended for either for CAD or calendar-making rather than web design. Could that be the problem?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Apr 2008, 1:12 PM
#37
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Second step in setting up your cart - templates

Windows picks a program if it's not sure what program to open a file with
if you try to open the file from the hard drive by clicking on it. There's also
a box that's checked by default that says "always open this type of file with
this program". Once you click OK, it'll associate all files with that extension
with that program. My computer also chose Broderbund's The Print Shop
to open *.php files. It's changeable though, to your preferred .php editor.

8 Apr 2008, 12:08 PM
#38
krahall avatar

krahall

New Zenner

Join Date:
Dec 2007
Posts:
24
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

So are you saying everything in the folder are the .php files? this is what is so unclear about all these "so called" steps and instructions, they are too vague.

Does the blue print mean everything in the folder?

What is the best text editor program to Use?

8 Apr 2008, 1:41 PM
#39
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Second step in setting up your cart - templates

KRahall:

What is the best text editor program to Use?

There are several great choices. One good free one for Windows is Notepad++ available via http://notepad-plus.sf.net

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Aug 2008, 6:59 AM
#40
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Second step in setting up your cart - templates

In an excellent article posted here:

https://www.zen-cart.com/tutorials/index.php?article=230

Sermonzone advises:

Extra Data Files

* Custom file names - /includes/filenames.php

    You've created a custom page (about_us) and need to reference the filename.
    Create a new file (about_us_filenames.php) which would include the following:
    <?php
    // About Us Filename Define
    define('FILENAME_ABOUT_US', 'about_us');
    ?>
    Save the file to /includes/extra_datafiles/about_us_filenames.php and upload it to your server.

My question is why? Why create a new file (about_us_filenames.php) instead of just editing the existing file (filenames.php)?

As a newb, this is where I get into trouble - I make mistakes because I follow what I think is obvious based on previous rules, only to find those rules don't always apply.

In this particular case, because all of my changes have involved editing existing files, had I not found this article, I would have just gone ahead and edited the existing file. :oops:

Can someone please help me understand what the advantage and disadvantage of both methods is, and why the general rule re: editing existing files wouldn't seem to apply here?

Thanks much :smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary