Forums / Setting Up Categories, Products, Attributes / how can I insert extra product info into extra db table?

how can I insert extra product info into extra db table?

Views: 2,924

Results 1 to 2 of 2
1 Feb 2010, 3:11 PM
#1
lndlyb4 avatar

lndlyb4

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

how can I insert extra product info into extra db table?

Hello,

I have created a new database table to store additional information about each product. It is linked(primary key) to the zen_products table by the products_id. I want to make sure that, when I add a new product, a new row will be added to the new table and the new product_id will be added to the new table.

I am not sure where the "Insert Into" query is. If anyone could help me out, I would appreciate it.

1 Feb 2010, 6:18 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: how can I insert extra product info into extra db table?

Look at how the music files are used in the modules of the admin to see how each works with multiple tables and compare to the original files for regular products for the /product vs /product_music ...

Note: files not over ridden are in the default:
/modules

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!