Try the Demo

Magento Forum

   
Adding product via mySQL Query
 
itzik
Member
 
Total Posts:  35
Joined:  2008-07-21
 

I have added using a combination of the Mage:getModel(’catalog/product’) and mySQL queries (to update other parts, such as quantity and category id).  But for some reason my product is still not showing up in the storefront....is there something I need to do (i.e reindex the inventory) ?  If so, how can I do it direct from PHP code?

Thank you for your help

 
Magento Community Magento Community
Magento Community
Magento Community
 
brendanb
Mentor
 
Total Posts:  1072
Joined:  2008-07-16
London, United Kingdom
 

hey,

why are you trying to use direct sql and not the import functions in magento?. I think you could be making things alot harder than they should be..
are you trying to add new products or update?. Your question isnt very clear on this

cheers

 Signature 

Magento Enterprise & Community Developer

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top