<h1>Table of Products</h1>
<ss:data:table datasource="\Components\Commerce\Products::getAllForCategoryAndBrand(2, null)" as="product" width="100%" classrow="myTrClass">
<ss:data:column heading="Product">
[? $product['product_title'] ?]
</ss:data:column>
<ss:data:column heading="Price">
[? formatCurrency($product['product_price']) ?]
</ss:data:column>
<ss:data:column heading="Included Qty">
[? $product['product_packaged_quantity'] ?]
</ss:data:column>
<ss:data:column heading="Included Qty">
<ss:forms:editbox id="'product_' + $product['product_id'] + '_quantity'" parsenow="id" />
</ss:data:column>
</ss:data:table>
<h1>Table of Products</h1>
<ss:data:table datasource="\Components\Commerce\Products::getAllForCategoryAndBrand(2, null)" as="product" width="100%" classrow="myTrClass">
<ss:data:column heading="Product">
[? $product['product_title'] ?]
</ss:data:column>
<ss:data:column heading="Price">
[? formatCurrency($product['product_price']) ?]
</ss:data:column>
<ss:data:column heading="Included Qty">
[? $product['product_packaged_quantity'] ?]
</ss:data:column>
<ss:data:column heading="Included Qty">
<ss:forms:editbox id="'product_' + $product['product_id'] + '_quantity'" parsenow="id" />
</ss:data:column>
</ss:data:table>