<?
$NumberofItems=23;
//Conversion Rate
//This will be the conversion rate applied to the us price if the canadian price is set to -1
$conversion_rate=1.00; //Canadian to us conversion rate
//General Shipping Charges
//Shipping charges will vary depending on where the order is placed
$shippingbook[0]=10; //Shipping Us Books
$shippingbook[1]=10; //Shipping Cad (Cad) Books
$shippingbook[2]=10; //Shipping Cad (Ontario) Books
$shippingbook[3]=25; //Shipping to Non US Books
$shippingorders[0]=30; //Shipping Us Order
$shippingorders[1]=25; //Shipping Cad (Cad) Order
$shippingorders[2]=25; //Shipping Cad (Ontario) Order
$shippingorders[3]=95; //Shipping to Non US Order
//All items on the page are listed below
$item_name[0]="Golden Light - Book";
$usamount[0]="49.95";
$caamount[0]="59.95"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[0]="-2"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[0]=2; //1=taxable 0=not taxable 2=Gst Only
$item_name[1]="Color Awakening the Child Within - Book";
$usamount[1]="17.95";
$caamount[1]="19.95"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[1]="-2"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[1]=2; //1=taxable 0=not taxable 2=Gst Only
$item_name[2]="Lumalight Classic Seven";
$usamount[2]="1195";
$caamount[2]="1195"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[2]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[2]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[3]="Lumalight Premium Plus";
$usamount[3]="1395";
$caamount[3]="1395"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[3]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[3]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[4]="Lumalight Color & Geometry Set";
$usamount[4]="2395";
$caamount[4]="2395"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[4]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[4]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[5]="Lumalight Deluxe Package";
$usamount[5]="1695";
$caamount[5]="1695"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[5]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[5]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[6]="Lumalight Universal Package";
$usamount[6]="2795";
$caamount[6]="2795"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[6]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[6]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[7]="Lumalight 2100 Illuminator";
$usamount[7]="2195";
$caamount[7]="-2195"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[7]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[7]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[8]="Spectrahue Spiritgate Cards";
$usamount[8]="495";
$caamount[8]="495"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[8]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[8]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[9]="Energetically Correct Training Series";
$usamount[9]="595";
$caamount[9]="595"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[9]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[9]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[10]="Geometric Amplifier Set";
$usamount[10]="795";
$caamount[10]="795"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[10]="-1"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[10]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[14]="Order Extra Charge - Shipment";
$usamount[14]="75";
$caamount[14]="75"; //if set to -1 the converted us price will be used with convert_rate
$shipping[14]="0";
$istaxable[14]=0; //1=taxable 0=not taxable 2=Gst Only
$item_name[15]="Spectrahue Color Energy Art - one image";
$usamount[15]="5";
$caamount[15]="5"; //if set to -1 the converted us price will be used with convert_rate
$shipping[15]="0";
$istaxable[15]=0; //1=taxable 0=not taxable 2=Gst Only
$item_name[16]="Spectrahue Color Energy Art - series of ten";
$usamount[16]="45";
$caamount[16]="45"; //if set to -1 the converted us price will be used with convert_rate
$shipping[16]="0";
$istaxable[16]=0; //1=taxable 0=not taxable 2=Gst Only
$item_name[19]="2 Day Course - Toronto, Ontario";
$usamount[19]="425";
$caamount[19]="425";
$shipping[19]="0";
$istaxable[19]=2; //1=taxable 0=not taxable 2=Gst Only
$item_name[20]="Toronto Course one month prior";
$usamount[20]="495";
$caamount[20]="495";
$shipping[20]="0";
$istaxable[20]=2; //1=taxable 0=not taxable 2=Gst Only
$item_name[21]="Spiritgate Cards";
$usamount[21]="495";
$caamount[21]="495";
$shipping[21]="-1";
$istaxable[21]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[22]="Energetically Correct Training Package";
$usamount[22]="595";
$caamount[22]="595";
$shipping[22]="-1";
$istaxable[22]=1; //1=taxable 0=not taxable 2=Gst Only
$item_name[12]="Canton, OH Course";
$usamount[12]="395";
$caamount[12]="395"; //if set to -1 the the price will converted from the usamount using conversion_rate
$shipping[12]="0"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[12]=2; //1=taxable 0=not taxable 2=Gst Only
$item_name[13]="Orange County, CA Course";
$usamount[13]="425";
$caamount[13]="425"; //if set to -1 the converted us price will be used with convert_rate
$shipping[13]="0"; //if -1 or -2 then set as standard rate by order region -1 for std orders,-2 for books
$istaxable[13]=2; //1=taxable 0=not taxable 2=Gst Only
//Get chargeid to determine what the charges will be
$chargeid=$_SESSION['ChargeId'];
if ($chargeid==0){
$orderscreen="WhereFrom.php?";
$target="_parent";
}else{
$orderscreen="https://www.paypal.com/cgi-bin/webscr";
$target="paypal";
}
$iacc=0;
while($iacc<=$NumberofItems){
//Shipping and special items
$send_item_name=$item_name[$iacc];
if ($chargeid==1 || $chargeid==4){
//US Charges
$price[$iacc]=$usamount[$iacc];
$currency_code="USD";
$item_number="US";
}else{
$item_number = "";
//Canadian Charges
$currency_code="CAD";
if ($caamount[$iacc]=="-1"){
$price[$iacc]=round($usamount[$iacc]*$conversion_rate,2);
}else{
$price[$iacc]=$caamount[$iacc];
}
if ($chargeid==2 || ($chargeid==3 && $istaxable[$iacc]==2)){
if ($istaxable[$iacc]>0){
$price[$iacc]=round($price[$iacc]+($price[$iacc]*.05),2);
$item_name[$iacc]=$item_name[$iacc]." (Including GST)";
}
$item_number="ON";
}
if ($chargeid==3 && !$istaxable[$iacc]==1){
if ($istaxable[$iacc]==1){
$price[$iacc]=round($price[$iacc]+($price[$iacc]*.13),1);
$item_name[$iacc]=$send_item_name." (Including PST & GST) ";
}
$item_number="CA";
}
}
//Shipping calculations
$send_shipping=$shipping[$iacc];
if ($send_shipping<0 && $chargeid>0){
if ($send_shipping=="-2"){
$shippingcost[$iacc]=$shippingbook[$chargeid-1];
}else{
$shippingcost[$iacc]=$shippingorders[$chargeid-1];
}
}else{
$shippingcost[$iacc]=$send_shipping;
}
$iacc++;
}
?>