Skip to content

Instantly share code, notes, and snippets.


Bruce Clark BruceClark

View GitHub Profile
BruceClark / js_api_example.html
Last active Aug 27, 2015
Printfection Collection Campaign Order button
View js_api_example.html
<script type="text/javascript" src=""></script>
<script type="text/javascript">
// Specify your API Token below this is private!
Printfection.configure({ api_token: "API-TOKEN-HERE" });
<!-- Use element data attributes to pre-fill your order data (only data-campaign-id is required). -->
<a class="pf-order-button" href="#" data-campaign-id="######">Order Swag</a>
<!-- Here are some additional data-attribute examples. -->
You can’t perform that action at this time.