Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <div class="container">
- <div class="card" style="width: 18rem;">
- <div class="card-body">
- <a href="https://mystore.foxycart.com/cart?
- name=Digital Product&
- price=15&
- code=digital_product">
- Add Digital Product</a>
- </div>
- </div>
- </div>
- <script>
- var FC = FC || {};
- FC.onLoad = function () {
- FC.client.on('checkout-submit', function () {
- // Your custom code goes here.
- console.log('checkout-submit ! ')
- });
- FC.client.on('customer-login', function () {
- // Your custom code goes here.
- console.log('customer-login ! ')
- });
- };
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement