tr.part:hover {background-color:gainsboro;}
.title {font-family:serif; font-size:36px; line-height:26px; text-shadow:2px 2px 0 silver }
HEAD;
require_once( 'header.php' );
?>
All prices on this page are listed in Australian dollars. Transactions are charged in Australian dollars.
For Australian orders 10% GST will be added when you checkout.
| | | | | |
$PartName";
else
//no, so just use the name
$PartLink = $PartName;
if( $AusOnly ) $country = 'Aus sales only ';
else if( $USOnly ) $country = 'US sales only ';
else $country = '';
//get the pricebreaks
$pricebreaks = GetPriceBreaks( $prodSKU );
//make the americart item field
$cart = MakeAmericartString( $prodSKU, $PartName, $ShipWeight, $pricebreaks );
$pAUD = array( '', '', '' );
$anzprice = $SKU - 0; //set a zero price for any non-existant ANZ ph order pricebreak
$ANZ = array( $anzprice, $anzprice, $anzprice, $anzprice, $anzprice, $anzprice );
$min = 0;
foreach( $pricebreaks AS $pricebreak )
{
extract( $pricebreak );
//is this the first pricebreak?
if( !$min )
//yes, so remember the min qty
$min = $MinQty;
$anzprice = $SKU - $AUD;
//fixed pricebreaks, for page table & ANZ order form
switch( $MinQty )
{
case 1:
$pAUD[0] = 'AUD' . $AUD;
$ANZ[0] = $anzprice;
case 5:
$pAUD[1] = 'AUD' . $AUD;
$ANZ[1] = $anzprice;
case 10:
$pAUD[2] = 'AUD' . $AUD;
$ANZ[2] = $anzprice;
case 25:
$ANZ[3] = $anzprice;
case 50:
$ANZ[4] = $anzprice;
case 100:
$ANZ[5] = $anzprice;
break;
}
}
//not a special order?
if( !$SpecialOrder )
{
//no, so we can display
//new category?
if( $lastcategory != $CategoryID )
{
//remember this one
$lastcategory = $CategoryID;
//NULL?
if( $Category == NULL )
$Category = 'Assorted stuff';
//output the heading
echo <<| $Category |
| Name | Description | Qty 1-4 | Qty 5-9 | Qty 10-24 |
|
ECHO;
}
echo <<$PartLink | $country$Description | $pAUD[0] | $pAUD[1] | $pAUD[2] |
ECHO;
if( $min )
{
echo << $cart
ECHO;
}
echo <<
ECHO;
}
if( $min )
{
$PartName = htmlspecialchars_decode( $PartName, ENT_QUOTES );
$Description = htmlspecialchars_decode( $Description, ENT_QUOTES );
echo <<
ECHO;
}
}
}
?>
|