Skip to content

Instantly share code, notes, and snippets.

@johnbhartley
Created December 26, 2014 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnbhartley/ef923091a7d989a9c846 to your computer and use it in GitHub Desktop.
Save johnbhartley/ef923091a7d989a9c846 to your computer and use it in GitHub Desktop.
WC Quick Checkout wc_checkout_params
<script type='text/javascript'>
/* <![CDATA[ */
var wc_checkout_params = {"ajax_url":"\/maxbuttons\/wp-admin\/admin-ajax.php","ajax_loader_url":"\/\/localhost:8888\/maxbuttons\/wp-content\/plugins\/woocommerce\/assets\/images\/ajax-loader@2x.gif","update_order_review_nonce":"769c6b66f9","apply_coupon_nonce":"13a129c0bc","option_guest_checkout":"yes","checkout_url":"\/maxbuttons\/wp-admin\/admin-ajax.php?action=woocommerce_checkout","is_checkout":"0","session_expired_message":"<div class=\"woocommerce-error\">Sorry, your session has expired. <a href=\"http:\/\/localhost:8888\/maxbuttons\" class=\"wc-backward\">Return to homepage<\/a><\/div>"};
var wc_checkout_params = {"ajax_url":"\/maxbuttons\/wp-admin\/admin-ajax.php","ajax_loader_url":"\/\/localhost:8888\/maxbuttons\/wp-content\/plugins\/woocommerce\/assets\/images\/ajax-loader@2x.gif","update_order_review_nonce":"769c6b66f9","apply_coupon_nonce":"13a129c0bc","option_guest_checkout":"yes","checkout_url":"\/maxbuttons\/wp-admin\/admin-ajax.php?action=woocommerce_checkout","is_checkout":"0","session_expired_message":"<div class=\"woocommerce-error\">Sorry, your session has expired. <a href=\"http:\/\/localhost:8888\/maxbuttons\" class=\"wc-backward\">Return to homepage<\/a><\/div>"};
/* ]]> */
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment