Articles on: HTML5 App (Developer Version)

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]);
}
});


JavaScript


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.

Updated on: 06/08/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!