- Bob Lorentz
Total Posts: 1
I’m new to Magento.
I’d like to make some PHP script that can add products to a magento cart, specifying qty and attributes. I have a site that collects user information and puts the right combination op products in a cart, working on OsCommerce right now.
I’ve looked about everywhere, and I find thousands of threads and code snippets, but not a tutorial with a general approach.
I guess the way to go is to make a script beginning with
1. require_once ‘app/Mage.php’;
4. $app = Mage::app(’default’);
At that point I’m stuck, because I don’t know what sessions to initiate, what functions to call etc.
Is there some sort of reference or even a hello world-level tutorial ?