File: examples/cart/app/templates/product/listing.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/cart/app/templates/product/listing.php  >  Download  
File: examples/cart/app/templates/product/listing.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 728 bytes


Class file image Download
<form action="index.php/cart/" method="get">
<h2>Product Listing</h2>
<h3>Category <?php echo $category; ?></h3>
<table cellpadding="5">
= new A_Cart_Url();

$rows = $product->findProductsInCategory($category);
foreach (
$rows as $row)
. number_format($row['price'], 2) . "</td>
. $carturl->pageAddItemFormText($row['sku'], 0) . "</td>
<input type="submit" name="buy" value="buy"/>
<p><a href="index.php/product_category/"/>Return to Product Categories</a> | <a href="index.php/cart/"/>View Shopping Cart</a></p>

For more information send a message to info at phpclasses dot org.