Include external PHP script into Shopify store via webhook -
i working on shopify store. have php script hosted on server need display on shopify store.
the script using has included page via php.
this has go in header:
<?php require 'doo_inc/class/doomcform.php';?> and goes within body wish display button:
<?php echo $dooform->doo_load_form(true, true, true,'bluebtn', click here subscribe); ?> i understand should use webhooks display php on website struggling this...
i need have modal box loading onload rather button aswell...
you can't include php script within shopify template. shopify templates allow html, css, javascript , liquid. html gives few possibilities include external resources, example iframe or external script (javascript). using javascript load external resource , replace of html dynamically.
webhooks can't used accomplish task. webhooks used in back-end back-end communication. you're developing used in front-end.
Comments
Post a Comment