Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    help question Build/Customize Store Offline?

    Hi, I am a total newbie to Zen Cart (and to e-commerce in general). I am also quite experienced in programming and web-technology and given the excellent documentation provided by the Zen Cart community, I am confident that I can customize and use Zen Cart to meet my needs.

    However, I am unsure as to the best strategy when it comes to bringing into life my (planned) web store:

    On one hand, I would like to minimize the time it takes to switch from "passive web site" (aka "brochure web site") to Zen Cart based web site (with all the bells and whistles, ready for the first customer). So, it makes sense to prepare almost everything off line (i.e. on my PC) and then transfer it within minutes.

    On the other hand, despite reading lots of documentation, I haven't found (yet) any reference to such mode of work (or possibility).

    Is it possible to develop/customize the entire store off line, on my PC, test it, and only then transfer it to (the already hosted and present) web site?

    If so, how do I do that?

    Thanks,
    Daniel

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Build/Customize Store Offline?

    Yep, It's very possible. You'll need to set up a server, PHP, phpMyAdmin, and SQL. You can get everything you need, already packaged with programs like xamp or wamp (both free).
    Then, you'll need a good php editor. Some people just use notepad, but I prefer either DevPHP (free) or TopStyle Pro (79.95).
    Once your site is fully developed on your local server, then just FTP it to your Live server, change a couple of settings (you'll get to that) in a couple of file, and you are Live.
    In my opinion, a locally hosted test site is the ONLY way to go. And ALWAYS make backups before you add or change ANYTHING in ZC.

    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

  4. #4
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: Build/Customize Store Offline?

    Quote Originally Posted by Get Em Fast View Post
    Hope this helps.
    Thank you very much. Every answer helps and your detailed one definitely helps.

    Quote Originally Posted by Get Em Fast View Post
    Yep, It's very possible. You'll need to set up a server, PHP, phpMyAdmin, and SQL. You can get everything you need, already packaged with programs like xamp or wamp (both free).
    I have already done so a few weeks ago, using XAMPP for Windows. So it seems that I am on the right track.

    Quote Originally Posted by Get Em Fast View Post
    Then, you'll need a good php editor. Some people just use notepad, but I prefer either DevPHP (free) or TopStyle Pro (79.95).
    I have been a long time user of GNU Emacs, but I recently discovered Notepad++. Both provide excellent syntax highlighting and formatting for PHP. It is good to know that there are additional options.

    Quote Originally Posted by Get Em Fast View Post
    Once your site is fully developed on your local server, then just FTP it to your Live server, change a couple of settings (you'll get to that) in a couple of file, and you are Live.
    Aha! this is the tricky part that I was afraid to do without asking the Zen Cart gurus first.

    My web host supports automatic installation of Zen Cart 1.3.8a (i.e. it will install not only the 'store' subdirectory under 'htdocs', but will also take care of creating the MySQL database for it, etc.).

    However, since I wanted to avoid beginner's confusion, I installed on my PC (following the book's instructions verbatim) zen-cart-v1.3.7.1-full-patched-07052007.zip.

    Thus, I am afraid that simply FTP-ing my local files to the live server and changing two settings only will not suffice. Am I correct in my hesitation?

    Quote Originally Posted by Get Em Fast View Post
    In my opinion, a locally hosted test site is the ONLY way to go. And ALWAYS make backups before you add or change ANYTHING in ZC.
    I agree. I now have to find the best way to do it without compromising anything on the live target (especially security).

    Thank you again,
    Daniel

  5. #5
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: Build/Customize Store Offline?

    Quote Originally Posted by Steven300 View Post
    Thank you very much! This is exactly the type of tutorial/FAQ that I needed (embarrassing to realize that, despite my effort, I didn't search well enough before posting my question).

    My only remaining problem (see last question in my previous answer to 'Get Em Fast') is that what I currently installed in my PC is v1.3.7.1, while my web host has v1.3.8a...

    I think that, to best avoid version compatibility problems, I should uninstall v1.3.7.1 from my PC, then install v1.3.8a, hoping that it will work with XAMPP...

    Or will this get me into troubles?

    What do think?

    Thanks,
    Daniel

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Build/Customize Store Offline?

    Quote Originally Posted by zcnb View Post
    then install v1.3.8a, hoping that it will work with XAMPP...

    That's what I'd do. v1.3.8a should work fine with XAMPP.

    I'd recommend that you never have your host install Zencart or use Fantastico to do so. Once you've built your cart on your local machine, it's a simple matter to upload it and change the config files, as outlined in the tutorial. That way, you know what's been done and can troubleshoot (if necessary) more easily.

  7. #7
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: Build/Customize Store Offline?

    Quote Originally Posted by stevesh View Post
    That's what I'd do. v1.3.8a should work fine with XAMPP.
    Thank you, that's exactly what I did.

    Quote Originally Posted by stevesh View Post
    I'd recommend that you never have your host install Zencart or use Fantastico to do so. Once you've built your cart on your local machine, it's a simple matter to upload it and change the config files, as outlined in the tutorial. That way, you know what's been done and can troubleshoot (if necessary) more easily.
    I think this is great advice. I didn't initially pay attention to this point but now that you mention this, it seems logical that I would do it "the hard way" in order to gain more experience and knowledge about the system.

    My question now is: Since my web host's installation script for Zen Cart automatically creates a (MySQL) database, does this mean that I will have to take care of this step myself, just as I did with XAMPP?

    More importantly, there are certain things that I cannot really test on a local machine (example.com), such as:
    • PayPal IPN module
    • SSL based store access (for customers) and admin

    Does this mean that I don't really want to FTP my local files as are, and perhaps a better approach would be to just record what I did locally and simply repeat the process remotely?

    I mean, There are so many tiny details of which I have to keep track & modify anyway, if I want to just FTP my local test jig to the real host. Is it possible that it is simpler to just document the steps that I did locally, then repeat them remotely?

    Thanks,
    Daniel

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Build/Customize Store Offline?

    Quote Originally Posted by zcnb View Post


    Does this mean that I don't really want to FTP my local files as are, and perhaps a better approach would be to just record what I did locally and simply repeat the process remotely?
    That's what I'd do, if you haven't made a lot of changes yet.

    Fact is, I've never installed Zencart locally - I know that you can see changes faster that way (no FTP upload time), but with dual monitors, once you get into the rhythm of download - edit - upload - refresh browser it works well.

    On a manual install, I create the database first, using phpMyadmin - if your host offers a control panel like CPanel, that should be in there. One caveat - many hosts, including mine, prepend your CPanel user name to the database name, so when you tell Zencart the DB name, and it doesn't work, try username_databasename.

    One more hint - if you have a control panel with a file manager, upload the Zencart zip file and extract it on the server. Much faster, and no corrupted files.

 

 

Similar Threads

  1. Develop store offline?
    By LisaK in forum General Questions
    Replies: 20
    Last Post: 13 Jul 2010, 06:16 PM
  2. Can I move my store after I build it?
    By bparker in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Oct 2009, 12:59 AM
  3. Replies: 6
    Last Post: 28 Jan 2008, 02:02 PM
  4. Build To Order Store - Shipping and Charges Solutions needed
    By bvrettski in forum General Questions
    Replies: 0
    Last Post: 17 Jul 2007, 04:50 PM
  5. Still don't know how to build my website offline and then upload to live server?
    By lina0962 in forum Installing on a Windows Server
    Replies: 3
    Last Post: 21 Jun 2006, 12:03 AM

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