Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Exactly what file do I edit for the Sales Message?

    Quote Originally Posted by MichelleVan View Post
    MaryEllen,
    Thanks for the clarification.
    I copied the template_info.php that was in
    includes/template/classic
    and put that file into my custom directory. As far as I could tell there wasn't any special information in the template_info.php. I changed the name of my template inside the file and saved to my custom directory.
    .. is that it? or is there other info that should be in there?

    Thanks
    No, that should be it.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  2. #12
    Join Date
    Sep 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Exactly what file do I edit for the Sales Message?

    Ok I edited my header.php file and put it in here:
    /purposeshop/includes/languages/english/dpu/header.php

    now I lost the default , classic template with the colors, and and my logo etc, its showing a totally new template.

    How do I get back the classic template, and just make changes that will reflect on that one?

    This is so confusing! I do have the book, but it doesn't seem to give a step by step for just uploading the logo, it seems I have to make a whole new template?

    Aurgh! Help?

  3. #13
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Exactly what file do I edit for the Sales Message?

    Do you have includes/templates/dpu/template_info.php?

    To get back the classic template, select it under admin>tools>template selection.

    This list is a bit outdated, but it'll give you an idea where to start to create a very basic custom template (you can build from there):
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.php
    • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/images/logo.gif (or .jpg or .png)
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #14
    Join Date
    Sep 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Exactly what file do I edit for the Sales Message?

    MaryEllen

    I appreciate your help.
    I don't want to create a custom template! AURGH. All I want to do is to use the classic template and upload my logo, change the tagline and go!

    Why isn't this easy. I am so frustrated I've spent $30.00 and 12 hours just trying to get my logo and the tagline changed.

    I'm being told to upload such and such a file to here and there and use admin/includes and then just /includes and create directories and I'm just ready to sell something.

    I'm ready to dump zencart.

    Can anyone just get my logo and tagline up for me on the classic template?

    I can trade or pay.

  5. #15
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Exactly what file do I edit for the Sales Message?

    Hang in there, MichelleVan.

    Copy the css folder and the images folder from Classic to your new custom template in includes/templates, if that is where
    you have been editing files. It would be a good idea to restore
    the original files in Classic, as Classic is sometimes used to troubleshoot a template issue.

    Do follow the overrides system to prevent overwriting your
    custom files when you upgrade. It's always a good idea to
    keep your shop current as Zen Cart releases come out.

    And there will be other files in the languages folder you'll want to
    customize..index.php, english.php, your terms and conditions, etc.

    There's a chart in the FAQS/Tutorials showing the override structure. Search Overrides Simplified. Or there's a downloadable
    chart in Free AddOns, Other Modules, Override Chart.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  6. #16
    Join Date
    Sep 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Exactly what file do I edit for the Sales Message?

    Quote Originally Posted by TShooters View Post
    Hang in there, MichelleVan.

    .
    I appreciate the support. I think I need to hire someone to help me. I know a little css and php, but this is over my head. As soon as I did what you described above, I lost the pretty template, even though I choose the new one.

    Ack.. blah. frustrated.

    Now I'm trying to get my downloadable products working. Why don't programmers use ENGLISH when writing help files?



    I do appreciate the help though. Really really.

  7. #17
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Exactly what file do I edit for the Sales Message?

    Hope you're making progress, MichelleVan.

    Did you read any of the articles on the overrides system in
    the FAQS/Tutorials?

    Here's three that may help you understand it. I think the override
    system is one of the hardest things for newbies to wrap their head around. I know it was for me.

    https://www.zen-cart.com/tutorials/i...hp?article=142

    https://www.zen-cart.com/tutorials/i...hp?article=230

    https://www.zen-cart.com/tutorials/i...hp?article=143

    Keep hangin' in there. The lightbulb will go off soon!
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  8. #18
    Join Date
    Sep 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Exactly what file do I edit for the Sales Message?

    Quote Originally Posted by TShooters View Post
    Hope you're making progress, MichelleVan.

    Did you read any of the articles on the overrides system in
    the FAQS/Tutorials?

    Here's three that may help you understand it. I think the override
    system is one of the hardest things for newbies to wrap their head around. I know it was for me.
    ...........................!
    Augh!
    Yes I read the tutorials over and over again. and bought the book. It just isn't English, or intuitive. My main complaint is it should be intuitive, Saying

    "CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. Change these if needed. "

    makes no sense to me. What does this mean? It isn't explained anywhere. Change WHAT? How do I know if it is needed?

    And if this is part every newbie has trouble with, then obviously it doesn't make sense to lots of people.

    And then when I DID change them, and choose my template, I lost all my settings. so even following the directions didn't work as expected.

    Now I can't get my 'add to shopping cart' on an individual webpage, .. There is probably a way but I can't find it.
    I want to be able to have my user click on the add button, have it take them directly to the shopping cart with the item added.

    I'm putting in another day on this, and then I'll have to abandon it if I can't figure this out and try something else.


    I'm ready to hire someone to help me!

  9. #19
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Exactly what file do I edit for the Sales Message?

    If you are trying to put an "add to cart" button on a page outside of Zen Cart and have it add an item to the Zen Cart shopping cart, stop. Zen Cart doesn't work that way.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  10. #20
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Exactly what file do I edit for the Sales Message?

    "CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. Change these if needed. "
    This is just a notation for the tutorial..meaning CUSTOM is capitalized so you can see better the file structure of where
    your custom template would go. You can name your custom
    template anything you like as long as you use an underscore
    instead of a space when you name it more than one word. Ex: my_custom_template. Except! in your template's template_info.php file, where the template name would say:
    Code:
    $template_name = 'my custom template';
    And everywhere you add a my_custom_template, it should be
    named exactly the same. If you choose my_custom_template as your template, Zen Cart won't recognize a folder named MY_CUSTOM_TEMPLATE as part of your template.

    ENGLISH refers to the default language of Zen Cart. Other languages can be added for a multi-language cart, or a different language cart.

    Hope that helps!
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 2
    Last Post: 20 Feb 2013, 11:59 PM
  2. v150 What exactly is the attribute ID?
    By midi73 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Aug 2012, 11:50 AM
  3. how do i edit or remove the Sales Message Goes Here
    By semaxd in forum Basic Configuration
    Replies: 11
    Last Post: 10 Jun 2008, 06:38 PM
  4. What file must i edit and what must i do in the admin
    By Gunga in forum Basic Configuration
    Replies: 12
    Last Post: 27 Feb 2008, 04:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg