Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2008
    Posts
    14
    Plugin Contributions
    0

    Default Inserting a product directly in to the database

    Hi,
    I'm trying to insert a product using a direct query with a program that will connect remotely to my database, I know the table where I have to insert the row to add the product but how do I insert the description? How can I get the product id of the product I just inserted so that I can insert the description after? Thanks for your help.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,002
    Plugin Contributions
    6

    Default Re: Inserting a product directly in to the database

    Unless you are willing to figure out ALL the 10 - 14 table entries that are required with a new product, you are better off using the admin.

    Many before you have tried with little success.
    Did you read the posting tips?!?
    Things We've Done
    MOD: Scheduled Events

  3. #3
    Join Date
    Aug 2005
    Posts
    26,032
    Plugin Contributions
    9

    Default Re: Inserting a product directly in to the database

    Or get - learn and use easy populate module available in the downloads section
    Zen-Venom Get Bitten
    Get Your Business Found

  4. #4
    Join Date
    Apr 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Inserting a product directly in to the database

    I was able to make function correctly. The three tables you need to modify are products, products_description and products_to_categories, assuming that you already have the categories created.

  5. #5
    Join Date
    Aug 2005
    Posts
    26,032
    Plugin Contributions
    9

    Default Re: Inserting a product directly in to the database

    I was able to make function correctly. The three tables you need to modify are products, products_description and products_to_categories, assuming that you already have the categories created.
    There are additional tables and indexed relationships and especially if the product has attributes
    Zen-Venom Get Bitten
    Get Your Business Found

 

 

Similar Threads

  1. How to display multiple-product categories directly on first page
    By tapsilog in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 31 Mar 2008, 02:05 AM
  2. Replies: 2
    Last Post: 11 Feb 2008, 03:15 PM
  3. How do I add a free product into customer's shopping cart directly
    By spf in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Dec 2007, 05:31 AM
  4. Price directly under product name.
    By paperzombie in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Dec 2006, 10:28 PM
  5. Link directly to specific product or page
    By JDR in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 31 Oct 2006, 07:34 AM

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
  •