how to add plus minus button in feature page in opencart
<p>I have make extension for plus &amp; minus quantity in product page, you can view <a href="http://www.opencart.com/index.php?route=extension/extension/info&amp;extension_id=25282&amp;filter_search=addplusminus&amp;filter_license=0" rel="nofollow">http://www.opencart.com/index.php?route=extension/extension/info&amp;extension_id=25282&amp;filter_search=addplusminus&amp;filter_license=0</a><br><br>Now what i need is that its work for Feature Product that appear on Opencart home page by default..<br><br>So far i have see that on feature.tpl and feature.php only Product Id is send in "<strong>cart.add()</strong>" function and only i need to figure out to send current quantity of product in "<strong>cart.add()</strong>" function but i'm not able to figure out after lot's of working..
<br><br>
Here is my code:<br></p>

<pre><code> &lt;div class="form-group"&gt;
   &lt;i class="fa fa-minus pull-left" id="minus-qty"&gt;&lt;/i&gt;
      &lt;label class="control-label" for="input-quantity"&gt;&lt;?php echo $entry_qty; ?&gt;&lt;/label&gt;
      &lt;input type="text" name="quantity" value="&lt;?php echo $minimum; ?&gt;" size="2" id="input-quantity" class="form-control" /&gt;
      &lt;input type="hidden" name="product_id" value="&lt;?php echo $product_id; ?&gt;" /&gt;
   &lt;i class="fa fa-plus" id="plus-qty"&gt;&lt;/i&gt;
&lt;/div&gt;

 //for add button
  &lt;button type="button" onclick="var cartqty = $('#input-quantity').val();alert(cartqty);cart.add('&lt;?php echo $product['product_id']; ?&gt;',cartqty);"&gt;
  &lt;i class="fa fa-shopping-cart"&gt;&lt;/i&gt;
  &lt;span class="hidden-xs hidden-sm hidden-md"&gt;&lt;?php echo $button_cart; ?&gt;&lt;/span&gt;
  &lt;/button&gt; 
</code></pre>

<p><br> Now Its Working Only For One Product Not For All, How i do this to work for all..
<br>
Thanks In Advance.</p>