I am new to PHP. I have been a .net programmer for 20 years but php is new. I would like to create a totally isolated page and access the WooCommerce data to perform some specific needs but I don’t know where to start other than creating a "mypage.php".
I don’t now what I need to do to connect to the DB and/or what to use to begin communicating with WooCommerce. I have seen many examples of interacting with WooCommerce and, in fact, I have been quite successful changing things within established pages but this is for a brand new page that is not generated by WooCommerce itself.
If someone could point me to an example on how to get started I can take it from there.
2
Answers
Yes @mohammad, I had to start from a wordpress template. You pointed me to the right thing. Thanks!
If you need create new page, so you can try
If you need connect to DB, so you need use
for query.