[Solved] Problems iterating over collection in Blaze

Many greetings,
Working on a webapp and for some reason, the documents in my collection aren’t loading unto the webapp on the browser

this is my HTML code

	<div class="container">
			<h1 class="js-test">THE FARMERS' MARKET.ng</h1>		

		<form class="js-add-product">
			<input type="" name="product_image" placeholder="Insert product image"><br>
			<input type="" name="product_name" placeholder="Insert product name"><br>
			<input type="" name="product_price" placeholder="Insert price for product"><br>
			<input type="" name="product_description" placeholder="Insert detailed description of product"><br>
			<button class="btn btn-success">Save</button>

	<div class="container">
		{{> product}}

<template name="product">
	<div class="row">
		{{#each product}}
		<div class="col-xs-6 col-md-3">
			<div class="thumbnail">
				<img src="{{product_image}}" alt="{{product_name}}" class="css-image">

				<div class="caption">
					<button class="btn btn-default">Add to Cart</button>

and the JS code:

import { Template } from 'meteor/templating';

import { Store } from '../api/store.js';

import './body.html';

	'click .js-test':function (events) {
		console.log("Hello there...");

	'submit .js-add-product':function(event){
		var image, name, price, description;

		image = event.target.product_image.value;
		name = event.target.product_name.value;
		price = event.target.product_price.value;
		description = event.target.product_description.value;

		//console.log("Image: "+image+" Product: "+name+" Price: "+price+" Details: "+description);

		Store.insert ({
			product_image: image,
			product_name: name,
			product_price: price,
			product_description: description,
			createdOn: new Date(),
			//createdBy: Meteor.user()._id

		return false;


    store() {
        return Store.find({});

I have failed to see why the objects in the collection will not display, can anyone help me point out where I am wrong…?

PS, I’m fairly new to coding

In your template product you iterate each product but your helper is called store. Also, it is not obvious in the code you posted if you subscribed to the collection Store

Tank you so much, problem fix

I’m relatively new to coding, I don’t think for the life of me I’d have figured that problem