About webshop network commissions

Can someone explain how the commissions work from webshops in network. Do i need to make a webshop first with templates with all kinds of products in and if a user activates his webshop i will get paid a commission on every sale he made with the products from withen the template. Is that correct are can you tell me exactly how it works?