Results 1 to 9 of 9
  1. #1

    Default Product x of x question

    Hello! First, this is such an awesome cart system, I just can't believe. I love the admin end of things. Very nice and suites my needs well.

    Okay, after fiddling with the cart for the past three days, I finally have everything how I want it (at least on the main page) and have one thing I would like to make go away and for the life of me, cannot figure out how.

    What I want to go away is the text that shows the Category at the top of the products display and the Displaying x to x(of x products), as shown here:

    http://www.tagsnthings.com/generalst...=index&cPath=8

    The main link to my store is as follows:
    http://www.tagsnthings.com/generalstore/zencart/

    Any help would be appreciated!
    Thanks in advance
    Kristal

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product x of x question

    You really should create your own template and this can be a clone of the classic template to preserve your custom edits when upgrading.....buit for now find and edit this file includes/templates/classic/css/stylesheet.css and look for the tag #productsListingBottomNumber and if it does not exist add it buty make it look like this:
    Code:
    #productsListingBottomNumber {
    display: none;
    }
    Zen-Venom Get Bitten

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

    Default Re: Product x of x question

    I can't emphasize strongly enough what Kobra said about creating your own template. It will save you no end of headaches/heartaches later.

    To create a very basic custom template (you can build from there), you need:
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.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
    • includes/templates/YOUR_TEMPLATE/images/logo.gif
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Any where 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 or the /template_default/ folder.

    Please take the time to create directories and copy the files you've modified into them. It will make your life easier in the long run.
    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. #4

    Default Re: Product x of x question

    Thank You for the help. I think I did the template thing right. At least it appears that I have done so. Again, thank you.
    Kristal

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product x of x question

    think I did the template thing right. At least it appears that I have done so.
    Your site is reporting that it is using the style sheet and template located at includes/templates/classic/css/stylesheet.css and this is what we are referring to as the classic template will be overritten in an upgrade wiping out your custom edits.

    So I would say that you have not created your own template at this time or at least not correctly.
    Zen-Venom Get Bitten

  6. #6

    Default Re: Product x of x question

    Okay. So right about now I am feeling pretty stupid. First, I don't quite understand the file structure, so I am not real sure where to find everything. Second, I love the power of this cart, but find that documentation that is spelled out is a little rare. In that, told to change this, told to change that, but no one says where to look for it. After days of poking around the file structure and just testing things out, I finally figured out that everything was going to the "classic". Good, on a roll, that is why the template thing didn't get done in the first place (couldn't figure out where everything was). So then I read the tutorial after I create the file structure as instructed above and see that there is the template selector in the Admin area. GREAT!! Excited, go add my template and select it, do the reset thing as tutorials stated, only to be told that I don't have it set up right. Well duh,,,, I remembered that I had changed include files somewhere, only now I can't remember where, at least I think I did! lol Pardon the dust in my brain, but four chitlins and tax time here (do books) I am a bit overwhelmed and 2 AM mornings trying to code and add products, isn't real easy when I get up at 5 with a baby! lol So, now that I have gotten all that out, could someone please be so kind as to spell it out in black and white for me? I am having issues with trying to change text colors (like on shipping estimate popup) and just stuff like that. If I could understand the file structure, I think I could figure out what needs to be changed where.
    Thanks so much
    Kristal

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product x of x question

    The long and short of this is that "classic" exists as a guide for you (and me) to know what and where files that I edit can be stored so that whatever template I want to use this file it will be found and used.

    In /includes/templates - you will find and can have several templates all with different files that are used to create the template look and feel: i.e.

    templates/

    classic/
    custom/
    green/
    lavender/
    purple/
    template_default

    Now in every other directory(folder) that a classic folder exists - the files(not folders) that are at this location can be copied and placed into a folder that you create with your intended template name i.e.

    /includes/languages/english

    classic/
    custom/

    So that a file that is at /includes/languages/english like meta_tags.php or header.php can be copied and edited and placed into the "custom" folder or another template name folder that you are using(active through the admin template selection process) and want these edits to apply to.

    This same convention applies to all other folders where a "classic" folder is present.

    Hope that this assists - I know that this is a point that requires digestion but once you grasp it it then becomes simple and not before.

    And we all have been through this learning curve so do not chastise yourself on this
    Zen-Venom Get Bitten

  8. #8

    Default Re: Product x of x question

    thank you for that explination. I took the files I had edited and created a fule structure, so that where there was a classic, there was my template folder. I then went and copied all of the original files back into the classic directories. Then I went into the admin area and changed the template selector back to classic and I got everything right where it was supposed to be, except for the Tagnthings.com at the bottom (which tells me I changed something somewhere and didnt restore) and then the logo was still mine, not the ZenCart (which also tells me I changed something somewhere). When I tried to change to my custom template, I got this error:
    Fatal error: Cannot redeclare class base in /home/chksdtr/public_html/generalstore/zencart/includes/classes/class.base.php on line 17

    uhmmmm, I dont remember seeing that file, or playing with that file, so am kinda at a loss there.
    any ideas?
    thanks again in advance and thank you for the help above
    Kristal

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product x of x question

    I see what you have attempted to do and this is on the right track but as you noted there are some exceptions and the error is one of these???

    Would need to know more about your install to determine what this might be.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Product question
    By dinix in forum Basic Configuration
    Replies: 5
    Last Post: 9 Feb 2012, 04:01 PM
  2. Product Question
    By sfroggie in forum General Questions
    Replies: 3
    Last Post: 9 Apr 2009, 12:05 PM
  3. Product ID question
    By GrandmaJ in forum General Questions
    Replies: 1
    Last Post: 13 Nov 2007, 03:32 PM
  4. Please help! Question about product pricing of multiple attributes within a product
    By martharb in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 12 Oct 2007, 04:30 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