Skip to content

Instantly share code, notes, and snippets.

@itthinx
Last active August 29, 2015 14:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save itthinx/fd36ab89359332d4a142 to your computer and use it in GitHub Desktop.
Affiliate coupons rendered as text
<style type="text/css">
div.field.affiliate-attribute.coupons {
display:inline;
}
div.field.affiliate-attribute.coupons label {
display:none;
}
div.field.affiliate-attribute.coupons input {
width:60%;
border:none;
outline:none;
background:inherit;
box-shadow:none;
color: inherit;
font-size: inherit;
line-height: inherit;
margin: 0;
padding: 0;
}
div.affiliate-profile,
div.affiliate-profile form {
display:inline;
}
</style>
<div class="affiliate-coupons">
Coupons : [affiliates_affiliate_profile show_name="" show_email="" show_attributes="coupons"]
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment