Thread: A few questions

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45
  1. #1
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default A few questions

    Ok I am far from new in web development, my experiences range around 4-7 years on multiple languages. Zencart is giving me a little trouble navigating around, I always build everything from scratch, I have even built a couple of larger shopping carts from scratch, with my own system. As for zencart, I am having a little trouble finding my way around, I am doing some stuff for a client(a programmer doing stuff for another client), and I have a few things I need to get done, and slight understanding about the zencart system. For one I am wondering, we created a page, that, is going to be like a color pallete for every item, so they can choose what color it's going to be laminated in or something. Now I built that page, it's fine, but I can figure out how to do the following.

    1. I need to get something worked out on the attributes page,
    http://www.furnishyourschool.com/ind...roducts_id=228
    it should let you through, the thing I am wondering is below the item with a list of attributes. 4-5 drop down boxes, and a text box. I need to be able to manually modify the code in that section, but I can't find it, I need that subpage I created (using get query), to come to this page and populate the text field, for one thing.

    2. I also need the products having a link going to the other page I created, not carrying over data but going there.

    3. If I figure out how to do this, and get it working, will it still carry over the colors for every item seperately into the shopping cart or do I need to do something extra.

    4. Another major question, I need to get all of those fields aligned, properly, they all look retarded, and I don't understand why there unaligned, I guess they just need a little manual supervision, after cutting through files for af ew hours, and staring through the admin, I located a few of the main template pages, but can't seem to track down the appropriate subpages, I don't knwo teh system well enough to say much more than that, the index.php seems to have something to do with the page, but most of it is in som includes common folder, I can find a css file that has anything to do with those attributes, and I can't find anyplace I can add in some links manually, and do some things, Advice.?? Please. anybody.

  2. #2
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: A few questions

    Actually unfortunately it's password protected, but atleast hopefully someone else, can help answer those questions or point me in the right direction

  3. #3
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: A few questions

    I figured out how to add one using the panel, and I saw some of the css files but I can't find the information that controls them, what do I do to get this organized, I am supposing the css labels aren't there yet, so I will try putting the tags, but I could use some help finding out where to add that link, I need to be able to find out where they save the attribute information.

  4. #4
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: A few questions

    I found some css files but there not affecting it, I found what the attribute id's where and I used those and I found one called productattributes, it's also on that page, but whatever I put in doesn't work. if I could get a stylesheet that did something it would help alot'

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: A few questions

    Answers to your questions are

    1. These attributes are generated by includes/templates/template_default/templates/tpl_modules_attributes.php. Hopefully you've taken care to read the section in the Wiki and FAQ about over-rides and so know what you need to do to create an over-ride before starting to edit the code.

    2. As your site is inaccessible, it is not possible to understand this question.

    3. As this question follows on from question 2, it cannot be answered.

    4. The alignment of the attributes can be adjusted via the stylesheet, sometimes with tweaks in the attributes file mentioned above. Form layout can be tricky, but as as an experienced web designer, shouldn't give you too many problems.
    Kuroi Web Design and Development | Twitter

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

  6. #6
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: A few questions

    That helps me with almost everything, that will allow me to add my links, and everything that I need in that section. Can you explain about this overwrite, I will look into that in the meantime, but I did not understand that, I have never encountered it before. That should also allow me to handle everything with styling. Except it won't read my css file for some reason, I will work with that though.

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: A few questions

    Go here to read about over-rides. I note that you referred to the ID productattributes. Are your referring to it as #productAttributes in your CSS?
    Kuroi Web Design and Development | Twitter

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

  8. #8
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: A few questions

    Ok, I have sorted some of this out, I am starting back on it today, I am just going to try and insert line breaks where the columns are, the attributes, I will try to put a space in between those and the names, since it might change alot me and the other guy decided this would be best all around, especially for the site.

    That should take care of that problem for me, The other thing is, I have never encountered this problem before, but I see the main page in index.php and after looking through some of the system, a grand majority of the page, follows through to that, so the system is quite deep, what I need to do now, is get a link to appear based on an attribute. Ok you already know what attributes are obviously, So what I have to say is I need a certain link to appear, when certain Attributes are present. For instance one item might have 3 attributes you can choose from below it, but there has to be 2 different links for 2 of those, like one attribute it to get the color, so they click the link there "supposedly" it goes to the page I created, they pick a color, and it comes back into the page, where I populate that text field via get with the value, so it updates. So I know how to do all of that with ease, the question I have to ask is, obviously I only need that link to appear below that attribute, but more imporantly, only for that attribute, if the attribute isn't present, the link doesn't need to be either. He also needs to know how to do this, because when he get's back to the rest of site himself, he has to do this with a lot of them.

    Now as for this thing about overrides, now I know what there for, and what they do, but I don't understand the positive/negative side to them. For instance, if someone did a lot of manual updating, on a lot of the pages, that COULD be manually overridden, and they didn't manually override, what kind of negative impacts would that have on the site, or the template. As for what I read, it said some could not be overridden, so I assume if you don't override some of the ones you can there would be no penalty?

  9. #9
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: A few questions

    I also had another concern. Even if I wanted to style the pages(I never had this problem), the css file isn't getting read. There are like 4-5 stylesheets, none of them actually had the tags for the attributes, I had to put those in there, but the attributes aren't responding, I tried in all stylesheets.
    In different locations I found
    print_stylesheet.css
    stylesheet.css
    stylesheet_css_buttons.css
    *all of those were under template default*
    Then I had
    print_stylesheet.css
    style_un_classic.css
    stylesheet_new.css
    stylesheet_original.css
    *these were under classic template*
    But none of those affected it, however underneath
    stylesheet.css in the template_default/css folder it did have one of the attributes I saw on there
    it was called
    #productAttributes {
    margin-left:2em;
    }

    I messed with this but it had no affect on the page, I have never had these kind of issues, and slmost all of these stylesheets where attached to that page, when I was looking at it.

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: A few questions

    The answer to your second paragraph is that you would need to write a bit of custom code to go into tpl_modules_attributes.php to add your custom links next to the attributes where they are relevant.

    The answer to your third paragraph is that the main place where over-rides don't work is the Admin area, but it's unlikely that you would want to be changing that anyway. Otherwise the negative of over-rides is that it is a little more complicated to create and edit additional files. The two huge positives are that when you upgrade Zen Cart you don't wipe out all your custom changes and if you want to uninstall a change, it is often simply a matter of removing the over-ride file.
    Kuroi Web Design and Development | Twitter

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

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. A few questions...
    By bendparker in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 21 Oct 2008, 06:17 PM
  2. A few questions
    By vito in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Aug 2008, 02:00 AM
  3. Few Questions on a few issues.
    By RSprinkel in forum General Questions
    Replies: 6
    Last Post: 10 Mar 2007, 12:02 PM
  4. Few Questions
    By maxpower1998 in forum General Questions
    Replies: 0
    Last Post: 13 Nov 2006, 10:35 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR