New Shopify Certification now available: Liquid Storefronts for Theme Developers

How do you call app functions

SidCQ
Visitor
2 0 0

For example, this is the basic shopify app supplied as an example:

https://github.com/uniacid/PHP-Shopify-Plugin/blob/master/Shopify.php

 

Say I have a function: public function get_products() in my app.

How do I call this from a shopify page when it loads?
For example, when you open an order from your account page, I want to call a php function in my app but I can find no documentation on how to do this. Any help would be appreciated.

Replies 0 (0)