RC Heli Pilot Posted March 22, 2008 Posted March 22, 2008 Hi, My name is John and i'm really hoping someone here can help me with at least one of my questions please. I'm very new to oscommerce and to this website so i'm sorry if this these may seem like easy questions but please help. I installed OSC using Fantastico thru my server host so it was pretty much automatically installed for me but i cannot figure out how to change or solve the questions that i have. #1. Up top left corner in the menu area where says "Top" and "Catalog" under the osCommerce logo, When i click on "Top" it takes me to http://DOMAIN NAME.com and not http://www.DOMAIN NAME.com and by doing so it shows all of the files that are in that directory instead of taking it to the index.php file. What file do i edit or where do i go and change this so that when i click on "Top" it goes to http://www.DOMAIN NAME.com and Not http://DOMAIN NAME.com ? #2. I want to setup shipping for Only USPS and i want to have a Fixed Shipping Costs for Each Item i'm selling but i want to be able to have One Fixed Cost for Shipping Inside the U.S. and One Fixed Cost for Shipping Outside the U.S. for each of the items i want to sell. I see where you can add Countries to "Zone 1" but how do you add more Zones to have Fixed Shipping costs for those Countries? Am i not reading something correctly and reading into it to much? How do you set it up to have each item have it's own fixed cost for shipping inside the U.S. and then have a fixed shipping cost for shipping outside the U.S.? Thanks in advanced. This is driving me Nuts and searching this website hasnt been successful. RCHP
RC Heli Pilot Posted March 23, 2008 Author Posted March 23, 2008 Well,... I figured out how to add more zones for shipping. I download the file "zones.php" from /includes/modules/shipping/zones.php Then i edited the section in it that says: // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED $this->num_zones = 5; It's now a 5 but after a fresh install it's defaulted to 1 so just change the 1 to how ever many zones you want. Inside the file it suggests a lot about setting up zones so it's well worth reading anyway. So now i just need to figure out how to change the address for the "Top" link right below the osCommerce logo to make it go to the correct address so if anyone can help me with this i would very much appreciate it. RCHP
germ Posted March 23, 2008 Posted March 23, 2008 Have you tried including the www. in the definition of HTTP_SERVER in your configure.php file? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
RC Heli Pilot Posted March 23, 2008 Author Posted March 23, 2008 Have you tried including the www. in the definition of HTTP_SERVER in your configure.php file? :unsure: YOU ARE DA MAN JIM! :thumbsup: That did it. I knew it was just a matter of editing a file but i just didnt know which file it was but thanks to you, You've given me the answer i so much needed to solve this issue. Thanks a Bunch and Happy Easter if you believe in the Holiday. RCHP
germ Posted March 23, 2008 Posted March 23, 2008 He is risen! He is risen, indeed! Hallelujah! If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
rbrown2 Posted April 6, 2008 Posted April 6, 2008 Have you tried including the www. in the definition of HTTP_SERVER in your configure.php file?:unsure: :thumbsup: What up germ? Do you know how I can just change the "Top" url to point to another page located in a sub folder on mydomain hosted server? Thanks....RPB
germ Posted April 6, 2008 Posted April 6, 2008 What up germ? "Up" is a conjuctive preparatory adverb. ;) :lol: But serioiusly... In /catalog/includes/application_top.php, find this line: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); The part to change to make "Top" link somewhere else is HTTP_SERVER You could try something like this: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER . '/somepage.php'); You'd need to be more explicit about your requirements for me to help any further. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
RC Heli Pilot Posted April 6, 2008 Author Posted April 6, 2008 Man Germ,... I best you have a Kickass Store or Site!
RC Heli Pilot Posted April 6, 2008 Author Posted April 6, 2008 Ahh,.. I just checked out your website. I'm a collector of Coins and Bills myself. :thumbsup:
germ Posted April 6, 2008 Posted April 6, 2008 Actually, I don't even have any web site "of my own" any more. The store in my profile is one I set up/administrate for a co-worker who doesn't know much about web sites or programming. :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
RC Heli Pilot Posted April 6, 2008 Author Posted April 6, 2008 Actually, I don't even have any web site "of my own" any more. The store in my profile is one I set up/administrate for a co-worker who doesn't know much about web sites or programming. :blush: Doh,... :blush: It looks nice tho,... I wish i could do my nav like that with Buttons and Stuff. RCHP
miller-lite Posted April 10, 2008 Posted April 10, 2008 "Up" is a conjuctive preparatory adverb. ;) :lol: But serioiusly... In /catalog/includes/application_top.php, find this line: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); The part to change to make "Top" link somewhere else is HTTP_SERVER You could try something like this: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER . '/somepage.php'); You'd need to be more explicit about your requirements for me to help any further. Germ, my breadcrumb top pointed to my http server, jvgallery.com, which is a splash page. When some one is at the point of looking at my catalog and they want to go back to my home page, I don't think it is cool for them to have to go back through the splash page, but rather should be able to go directly to the home page, which is jvgallery.com/home.htm In my /catalog/includes/application_top_php I did find the line you mentioned above: $breadcrumb->add (HEADER_TITLE_TOP, HTTP_SERVER); After reading what you posted and thinking about some of the things I have learned here in the last couple of weeks I asked myself "Does it really have to be a .php file there?" So I thought let's just try the home.htm in place of the somepage.php and see what happens so I change the code to: $breadcrumb->add 9HEADER_TITLE_TOP, HTTP_SERVER . '/home.htm'); Guess what, it went to my home page instead of the splash page. Again, "YOU THE MAN Thanks a million Verne
Recommended Posts
Archived
This topic is now archived and is closed to further replies.