Jump to content

dan_y

Members
  • Content count

    11
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Daniel
  • Gender
    Male
  1. dan_y

    [Contribution] STS v4

    Hi, Did some more reading and now I have a good feeling of PHP and HTML. Thanks again for the links, George. While now I can read the scripts and tell what they should do, I am still very confused as to how exactly osCommerse works. There are lots of variables all over the place shared by several PHP files and I am getting lost in all this. The PHP files don't have sufficient comments to understand what's going on. Is there some place that lists all the variables and structure of osCommerce? For instance, there is a line at the top of the home page: "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" Which I have no idea where does it come from??? Thanks, Dan
  2. dan_y

    [Contribution] STS v4

    Thanks Rob. What I didn't know (and just understood) is that there were 2 of each php file in osCommerce - one in the main catalogue directory and one for each language. I was looking at the index.php in the English folder and was not understanding where all the variables were coming from and where they were being used... Dan
  3. dan_y

    [Contribution] STS v4

    Hi Bill, No offence. I am aware of my own limitations. I will look further into PHP and HTML and see what's a CSS. I am a fast learner and it's really not a problem acquiring the required knowledge. Question is if it's worth the time for me... and how much involved is it to add things or modify the appearance at later stages. If it's messing several hours with the scripts to do a little tweaking, then I am afraid it's not for me... Regards, Dan
  4. dan_y

    [Contribution] STS v4

    OK, did a bit reading through the links you gave, George. HTML and PHP don't look as bad, but trying to understand what's going on with the contents files of osCommerce really blows my head. The index.php file merely has several define() functions, but where are they actually being called and by whom? Where were the variables in the if() statement defined? Where was the $s variable defined? Also, as Rob has just asked, I have no idea as to where does the "What's New Here?" title, that is displayed on my shop home, come from? Thanks, Dan
  5. dan_y

    [Contribution] STS v4

    Thanks for the links, George. Will see how can I get along with these, though it looks to me a full time job trying to setup a webstore using osCommerce - so this is probably why the few osCommerce powered stores I've been buying from, never update their appearance. Hmm... now that I think about it, if I saw some note on the osCommerce site the first time I went there, saying that PHP programming was required for creating even the simplest store, I wouldn't choose it. Funny thing is that STS makes it so simple to customize the look of the pages that I am still here, trying to figure PHP... Thanks, Dan
  6. dan_y

    [Contribution] STS v4

    Hi George, Thanks for the reply. Not really with my programming skills :( Don't even know what is a .css file... I think this is too complicated. More complicated than a single template for all the pages I think. Can't see how that makes life easy for me... Checked the link Bill posted, but didn't see how it addressed my questions. I read some about osCommerce and went through its documents as well as STS manual and it did look simple till I just understood I had to manually edit PHP code to have my own content on the pages. This is what I was afraid of :( I really don't like the idea of messing with PHP or HTML to define objects' positions and sizes, fonts and colours, etc. But tell me this please, can I somehow utilize the Xara Web Designer software I mentioned earlier, to make my entire page with all the content I like, position the images where I like and compose the text and then use its HTML code it produces to put into the index.php file? Thanks, Dan
  7. dan_y

    [Contribution] STS v4

    Hi, Thanks for the responses. Putting the $content$ tag on the template seems to fix that. Now I can see the default content of osCommerce on the Homepage, and navigating to the "shopping cart" page or "checkout" page or "create an account" page etc. brings up the relevant default content :) However, editing the content seems to be a pain. I have no clue in PHP or HTML. Can put there my own text in the define('TEXT_MAIN', '');, but certainly not make it look like I want and add the images I want. Is there a simple way for doing this for people like me - without PHP coding? Thanks, Dan
  8. dan_y

    [Contribution] STS v4

    Hi, I am just starting with osCommerce and STS. This STS thing looks to be VERY promising as the only thing that was holding me from creating a webstore using osCommerce (or any other eCommerce solution - like ZenCart or others) was the inability (or at least that was what I was understanding) to make the website look the way I like. Anyway, started playing with STS. Made up a simple template using Xara Web Designer software (http://www.xara.com/us/products/webdesigner/) and added to it the essential code from the blank STS template. Put a $cartbox$ tag and now going to the URL shows me the template I created with the shopping cart at the corner. Very nice :) Now question is, clicking on the shopping cart does change the URL to /shopping_cart.php but the displayed page remains exactly the same. Where is shopping_cart.php located as well as any other pages like the checkout and such?? How do I make them load? Can't see these pages coming with the sample STS templates, like blue_hash, while they do show them....? What am I missing? Thanks, Dan
  9. Hi Bill, Any thoughts? Dan
  10. Hi Bill, Thanks for the reply. May I continue this thread since it's already been started and if I reply you with further questions on the STS forum it would be confusing to some. I downloaded and installed STSv4.6. Now I have created the bellow template using a web design software and I would like my website to look like this. I would like to put may be one featured product or two on the home page (only a picture with a small description), a small box on the top showing the shopping cart and the full list of products and detailed description would be under the Products link. Now when someone clicks the products link or any other in the navigation bar I want the resultant page to maintain the same template - only contents changes. So what do I start with? The STS blank template? It doesn't really contain anything - so just put its source in my HTML? Also, I understand that with STS you control the template layout using 'tags', but where exactly do you put them? In the HTML code. Sorry if the questions sound silly, I am not a coding person. Going through the threads on the forum I am getting a feeling that everybody has some preliminary knowledge. Please bear with me. Thanks, Dan
  11. Hello, I am new to OSC. Just installed it on my server. I would like to have a simple store - only several products - may be 10 or 20. So far I've been using PayPal shopping cart - just HTML code that PayPal produces and you put it on your website. It was OK but didn't allow me to calculate shipping the way I wanted and send automated emails to customers. Anyway the website was produced using SiteSpinner ( http://www.virtualmechanics.com/products/index.html ). Now what I want is that my website will pertain the same graphics (template/theme) and add the OSC shopping cart to it. I understand that I can do it using STS, but not quite sure as how to do this. I can create the HTML code for the template I want and add images with SiteSpinner, but question is how do I add this to be a recognized template by STS? Could anyone help me out please? I also have Xara Web Designer ( http://www.xara.com/us/products/webdesigner ) which I like very much for its simplicity and versatility and if possible would rather use it to design the look of my website they way I want it. Thanks, Dan
×