Hi, I am basically setting up a custom store for my site. The store works by data being store inside a settings file something like this.
$products[1] = array('TITLEOFPRODUCT','0.99','/LOCATIONOFPRODUCT.MP3');
$products[2] = array('TITLEOFPRODUCT','0.99','/LOCATIONOFPRODUCT.MP3');
$products[3] = array('TITLEOFPRODUCT','0.99','/LOCATIONOFPRODUCT.MP3');
I want to be able to write to this file directly from wp-admin when ever I post something. I am using blog posts and product pages because it is so simple to do. I'd like to add another box or form on the wp-admin/post.php page that allows me to specify these options. Any help?
I am doing this on http://www.l1theproducer.info