Checkout with getProduct()

Modified on Sun, 06 Nov 2016 at 11:58 AM

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

	//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

With help of the jQuery.ajax method, you can easily send the result to a php script that will store the result in a database for example.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article