Results 1 to 8 of 8
  1. #1
    Join Date
    May 2013
    Location
    California
    Posts
    52
    Plugin Contributions
    0

    Default Sample Products for Testing?

    Is there a way to get sample products/prices, etc., for testing a site? Thanks for any help..
    Pamela

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,939
    Plugin Contributions
    96

    Default Re: Sample Products for Testing?

    When you installed, there was a checkbox that asked if you wanted to install the demo products. You can install those products after-the-fact by using your admin's Tools->Install SQL Patches and choosing the file from the Zen Cart distribution: /zc_install/demo/mysql_demo.sql

    Be sure to backup your database first!

  3. #3
    Join Date
    May 2013
    Location
    California
    Posts
    52
    Plugin Contributions
    0

    Default Re: Sample Products for Testing?

    Wonderful.. Thanks so much!

  4. #4
    Join Date
    May 2013
    Location
    California
    Posts
    52
    Plugin Contributions
    0

    Default Re: Sample Products for Testing?

    I just thought of something.. if I installed the mysql_demo.sql and then am ready to get rid of those sample products.. how do I uninstall them?

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,939
    Plugin Contributions
    96

    Default Re: Sample Products for Testing?

    Great question! Better to thought of that now rather than later.

    I'm sure that there's a magic SQL incantation out there somewhere. Just so that I understand totally before I go do some concocting ... you'll want to remove all the demo products and their reviews, any customers and orders, all featured and special products. Essentially, you want to keep the configuration, shipping, payment, template-related settings only?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Sample Products for Testing?

    Quote Originally Posted by pamela631 View Post
    I just thought of something.. if I installed the mysql_demo.sql and then am ready to get rid of those sample products.. how do I uninstall them?
    1. If you've already added products or customers to your current store, you will get errors if you try to load the demo SQL file.
    2. There is no magical "remove just the demo products and related stuff". There are numerous dependencies created when those items are installed, making it very difficult to differentiate between demo-only content vs content you've added for yourself.

    What's really most efficient is to set up a second ZC store in another folder (and another database) on your server, with the sole purpose of being a demo with which you can see how certain kinds of products are set up in the demo data as well as see how the various screens work on both the storefront and the admin, without touching your live store.
    You can then later either delete the entire temporary demo site, or repurpose it for use only for testing new changes you're considering making to your site, kind of a "staging area" of sorts, where you can test things without hurting your live site.


    Or ... if your only goal with regard to "sample products" was to have a product or two so you can test checkout on your new store, then just create a couple products yourself, and delete them when you're done.
    It really depends on what your goals are with regard to "sample products for testing". What were you wanting to test specifically?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    May 2013
    Location
    California
    Posts
    52
    Plugin Contributions
    0

    Default Re: Sample Products for Testing?

    Hi DrByte,

    Ok, that makes sense.. and that's what I'll do, I'll create another demo site for testing how categories/subcategories will look.. I'm doing a test for a new design and learning about Zen Cart as I go along to decide if I want to include Zen Cart as a eCommerce option. Also, I really wanted to test out the Categories Dressing Mod, so this will work good for that as well.. the instructions seem a bit complicated so maybe doing it on a fresh demo would be best..

    Thanks for your help! Pamela

  8. #8
    Join Date
    May 2013
    Location
    California
    Posts
    52
    Plugin Contributions
    0

    Default Re: Sample Products for Testing?

    Thanks for your reply Lat9, but I think what I'll do is create another demo site as DrByte suggested just for the purpose of the demo products..

    Pamela

 

 

Similar Threads

  1. Replies: 15
    Last Post: 26 Sep 2010, 01:19 PM
  2. categories/products list for testing but not built-in version, more simple
    By dara108 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Dec 2008, 05:46 AM
  3. Question on selling sample Products
    By rlantigua in forum General Questions
    Replies: 7
    Last Post: 22 Aug 2006, 04:51 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