User Tools

Site Tools


ce3cart_write-in_buttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ce3cart_write-in_buttons [2013/09/25 07:04]
admin created
ce3cart_write-in_buttons [2013/09/27 04:24] (current)
admin
Line 60: Line 60:
 **data-thumbnail** \\ **data-thumbnail** \\
 //optional// \\ //optional// \\
-A representative thumbnail image for the item which will appear in the cart listing. Should be a full URL to the image, beginning with %%http://%%.+A representative thumbnail image for the item which will appear in the cart listing. Should be a relative URL from the page's own location.
  
 Putting it all together, a complete purchase button might look like this: Putting it all together, a complete purchase button might look like this:
  
 <code> <code>
-<button class="add-to-cart" data-item="ebook-0001-litportraiture" data-name="Better Portraits with Portable Strobes" data-price="ebook" data-thumbnail="http://yourdomain.com/phplugins/images/litportraiture-cover.jpg">Buy My New eBook</button>+<button class="add-to-cart" data-item="ebook-0001-litportraiture" data-name="Better Portraits with Portable Strobes" data-price="ebook" data-thumbnail="litportraiture-cover.jpg">Buy My New eBook</button>
 </code> </code>
ce3cart_write-in_buttons.txt ยท Last modified: 2013/09/27 04:24 by admin