> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://staging.chrisp.chat/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Checkout with getProduct()

Would you like to use the plugin with a shopping-system, then you have to use the `getProduct()` method.

```
$('#checkout-button').click(function(){
	//store the views of a product with all elements of a single view
	var productViews = thsirtDesigner.getProduct();
	//loop through all views
	for(var i=0; i < productViews.length; ++i) {
		//output all single view objects
		console.log(productViews[i]);
	}
});
```

With help of the [jQuery.ajax](http://api.jquery.com/jQuery.ajax/) method, you can easily send the result to a php script that will store the result in a database for example.