Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2013
    Location
    Sydney
    Posts
    25
    Plugin Contributions
    0

    Default Default product types - how do I add them back?

    Hi.

    When I first set up our store I somehow managed to delete most of the product types, I have no memory of how or why I did this. I now need to add a new product based on Document-General (which has been deleted). Can anyone suggest the easiest and safest way to recreate this?

    Thanks.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Default product types

    Quote Originally Posted by rayo View Post
    Hi.

    When I first set up our store I somehow managed to delete most of the product types, I have no memory of how or why I did this. I now need to add a new product based on Document-General (which has been deleted). Can anyone suggest the easiest and safest way to recreate this?

    Thanks.
    Obtain files from a fresh install... (Without having to actually install it, just need to unzip.) Any idea which document-general files were deleted? Admin side, catalog, both?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jun 2013
    Location
    Sydney
    Posts
    25
    Plugin Contributions
    0

    Default Re: Default product types

    No, I don't know which files were deleted I just know that when I try to create a new product and try to choose a product type I only have 'Product - General' in the drop down menu. Do you know which files I need and their location?

  4. #4
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Default product types

    What about when you go to catalog->product types? Are there five options to choose from or just four?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jun 2013
    Location
    Sydney
    Posts
    25
    Plugin Contributions
    0

    Default Re: Default product types

    Just the one - Product - General.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Default product types

    It would seem that actually the database has been modified to remove/hide the additional product types... I would have to search the install.sql file to identify the script that adds the product type information to the database.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Default product types

    For v1.3.9 there's this post: http://www.zen-cart.com/showthread.p...-Product-Types ... consult the similar code in the zc_install/sql folder for the version of Zen Cart you're using.
    But then for all the settings that belong to each product-type, there's all the data in the product_type_layout table for the corresponding product-type-id.
    .

    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.

  8. #8
    Join Date
    Jun 2013
    Location
    Sydney
    Posts
    25
    Plugin Contributions
    0

    Default Re: Default product types

    Thanks. I will give it a try and let you know how I go.

 

 

Similar Threads

  1. v151 how to reset all to default or get back my "add to cart" button
    By garry.inglesant in forum General Questions
    Replies: 2
    Last Post: 27 Sep 2012, 02:19 PM
  2. v139g Default Product Types
    By whitedragon551 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 29 Jul 2012, 02:59 PM
  3. Customer chooses wrong payment - how can I let them come back and pay again?
    By sadfurry in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 7 Nov 2009, 08:00 PM
  4. Replies: 1
    Last Post: 15 Nov 2006, 07:50 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR