mcpisik:
Hi,
So I started as a total beginner and am now trying to fix my wrongs.
Can someone tell me these easy things below? (I think I stripped out all the good html stuff in the beginning)
-
Should each product page begin with <!DOCTYPE html> ? (Mine don't)
-
I type the name of my product at the start of my descriptions. Should this be in an <h1> </h1> ? (I have no h1's in my pages at the moment)
-
I have one line in each product description that I change the colour of, by doing this on each page: <span style="color: #bd192e;">Size: Extra Large</span>
Should I and can I use CSS to do this instead?
Thanks for your input and any other comments/ideas welcome.
So, off the top of my head, I don't know the answer to the first question, though it wouldn't be terribly difficult to identify which leads me to the following before answering the other questions.
Welcome to Zen Cart first of all, glad to have you aboard.
So as a beginner there are a few things to which you will want to get accustomed. One is having a "working" copy of your store on which you can try things before applying them against your production store. Two is not modifying the default template, but instead having aa second template (can be a copy of the default) and in paralel minimizing the changes made to what is called core files. (core files could be considered any file that comes with a clean installation of ZC that also do not have the ability to be be overriden by a file associated/having a template directory.y
So the second question if it hasn't been answered now that I haven't sent this yet, why is the name of the product in the description and not in the field for the product name? What is in the product's field name that isn't being shown to possibly have that tag? Also assuming that you've had the pages reviewed for proper formatting which is the origin of this question.
Third, yes, by all means do what you can to simplify modification of your site. Which is easier, making a one line code change in css, or changing every such product description? And if the change already made is in the code and not the description, good luck finding it again, especially that ZC is going the way of more css related display.
Hope that helps, even if it has been a while since you originally posted this and that there are probably already other answers to help you.