Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

auto price updating?


mr_biggles

Recommended Posts

Posted

hello all

 

I have looked through the contribs for a hack display a price depending on the options selected so you can have a running total.

 

I have seen lots of sites with this and want it for mine - but - i can't seem to get the option price update contribution to work, it is dated as sometime in 2004 and any thread/questions in the contributions support forum relating to it seem to be un-answered.

 

Anyone got a working one with the newest version of osc ?

 

 

Please !? :thumbsup:

 

 

Thanks

Posted

How can i (if i can at all !) use this code?

 

<html>
<head>
<title>Options</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 

<script type="text/javascript">
// JavaScript Document

// browser detection to ensure compatiabilty 
dom = (document.getElementById)? true:false
ns4 = (document.layers)? true:false
ie4 = (document.all && !dom)? true:false

// function to work out the dynamic total on form selection

function total()
{

//reset ordertotal
var ordertotal = 0 
//start a loop (infinite - and test if there is a result)
for( var i = 1; i <= 10; i++ )
	{
	// get a positive (not null) result out of itemname+counter 

	var eselect = document.getElementById("select"+i);

	// if value in eselect is not null
	if( eselect != null )
		{
		// place the value of the select in to eselect2
		var eselect2 = eselect.value
		// parse the value of the item to remove brackets to leave a number
		var itemvalue = parseFloat( eselect2.replace(/^.*\{|\}/g,'') );
		// add the itemsvalue to ordertotal.
		}
//update the form name=myform and the textbox = quicktotal with the value in ordertotal
	ordertotal=ordertotal + itemvalue
  }
ordertotal=ordertotal.toFixed(2)
document.myform.quicktotal.value = "? "+(ordertotal)
}

// function to change picture and text of case selection
</SCRIPT>


</head>

<!-- //Tom Start Of Code Take this line below and replace for the body command -->

<body onLoad="total()">

<!-- Start Of Form : myform -->

	<form action="http://www.romancart.com/cart.asp" method="post" name="myform">
  <table width="100%"  border="0">
	<tr>
	  <td><p>


		</p>

					  <table width="100%"  border="0">
			<!-- 1st row of table (3 rows by 2 columns) -->
			<tr>
			  <td colspan="2"></td>
			  <td width="17%"> </td>
			</tr>
			<tr>
			  <!-- 2nd row of table (drop down list options) -->
			  <td colspan="2"><!-- Start of Drop Down Boxes -->
				  <div align="left">
					<select name="itemname" size="1" id="select1" onclick="total()">
					  <option value="AMD 64 2800 {466.73}"selected>2800 AMD 64 </option>
					  <option value="AMD 64 3000 Package{478.18}">3000 AMD 64</option>
					  <option value="AMD 64 3200 Package {502.20}">3200 AMD 64</option>
					  <option value="AMD 64 3400 Package {515.14}">3400 AMD 64</option>
					  <option value="AMD 64 3700 Package{617.14}">3700 AMD 64</option>
					</select>
	Processor Options <br>
	<!-- This is the selection box which changes the image with the javascript function changepicture-->

	<select name="itemname5" size="1" id="select5" onchange="total()" onclick="total()">
	  <option value="80GB Hard Drive {0.00}"selected>No Hard Drive Upgrade</option>
	  <option value="120 GB HD {15.00}">80TO 120 GB (+£ 15.00) </option>
	  <option value="160 GB HD {22.00}">80TO 160 GB (+£ 22.00) </option>
	  <option value="200 GB HD {36.00}">80TO 200 GB (+£ 36.00) </option>
	  <option value="250 GB HD {72.50}">80TO 250 GB (+£ 72.50) </option>
	  <option value="120 GD SATA {25.00}">80To 120 GB SATA (+£ 25.00) </option>
	  <option value="160 GD SATA {35.00}">80To 160 GB SATA (+£ 35.00) </option>
	  <option value="200 GD SATA {49.00}">80To 200 GB SATA (+£ 49.00) </option>
	  <option value="250 GD SATA {72.00}">80To 250 GB SATA (+£ 72.00) </option>
	  <option value="300 GD SATA {109.00}">80To 300 GB SATA (+£ 109.00)</option>
	</select>
	</div></td>
			  </tr>
			<!-- 3rd row 1st Column Post Data Button -->
			<tr>

			  <td width="100%"> Current Price :
				  <input id="quicktotal2" name="quicktotal" type=TEXT class="money" onFocus="this.form.elements[0].focus()" size=10>
			  </td>

			</tr>
		  </table>
				  </td>
	</tr>
  </table>
</form>
</body>
</html>

 

or, can anyone show me how to use this contribution?

 

http://www.oscommerce.com/community/contri...ns,1385/page,30

 

I can't seem to get it to work!

Posted

i have it almost working! it shows $0.00 the price dosent update tho !!!

 

here is the code i have in my products_info.php

 

<!-- Page layout by Simple Template System (STS) v3.00 Beta 2 on osCommerce 2.2-MS2 - http://www.diamondsea.com/sts/ -->
<!-- Using Template File [includes/sts_templates/mysite/product_info.php.html) -->
<html>
<head>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"><META HTTP-EQUIV="Expires" CONTENT="-1"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Shop4beds.co.uk</title><base href="http://shop4beds.co.uk/catalog/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">

<!-- start get_javascript(applicationtop2header) //-->

<!-- end get_javascript(applicationtop2header) //-->

<script language="javascript"><!--
function popupWindow(url) {
 window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le
ft=150')
}
function FormatNumber(num)
  {
 if(isNaN(num)) { num = "0"; }
 sign = (num == (num = Math.abs(num)));
 num = Math.floor(num*100+0.50000000001);
 cents = num%100;
 num = Math.floor(num/100).toString();
 if(cents<10) { cents = "0" + cents; }
 for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
 {
   num = num.substring(0,num.length-(4*i+3))+','+ num.substring(num.length-(4*i+3));
 }
 return (((sign)?'':'-') + num + '.' + cents);
  }
 function showPrice(form)
 {  
var myTotalPrice = 0;
var showUP = 0;
var myMathProblem = "";
myItemPrice = parseFloat(form.nuPrice.value);
for (var i = 0; i < form.elements.length; i++)
{
  var e = form.elements[i];
  if ( e.type == 'select-one' )
  {
	showUP = 1;
	Item = e.selectedIndex;
	myPrice = e.options[Item].text;
	myDollarSign = myPrice.indexOf("$",0)
	if ( myDollarSign != "-1" )
	{
	  myParSign = myPrice.indexOf(")", myDollarSign);
	  myAttributeString = myPrice.substring(myDollarSign+1, myParSign);
	  myAttributeString = myAttributeString.replace(/,/,"");
	  myAttributePrice = parseFloat(myAttributeString);
	  myMathProblem = myPrice.charAt(myDollarSign - 1);
	} else { myAttributePrice = 0; }
	  if (myMathProblem == "+")
	  {
		myTotalPrice = myTotalPrice + myAttributePrice;
	  } else {
		myTotalPrice = myTotalPrice - myAttributePrice;
	  }
  }
}  
if ( showUP )
{
	myTotalPrice = FormatNumber(myTotalPrice + myItemPrice);
	document.getElementById("productNEWprice").innerHTML = "Total Price ? " + myTotalPrice;
}
 }  
//-->
</script>

</head>

<body onload="showPrice(cart_quantity)">


<center>
<div id="head">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
 <tr class="header"> 
<td width="35%">
<img src="http://www.shop4beds.co.uk/images/shop4beds.jpg" width="302" height="75" border="0">
</td>
<td width="60%" valign="top">
	<div align="right">
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="190" valign="absmiddle">
<font size="1" face="Arial, Helvetica, sans-serif">
Quick links > 
<!-- Start Category Menu -->
<form name="goto" action="index.php" method="get"><select name="cPath" onChange="this.form.submit();"><option value="0">Catalog</option><option value="21">Beds Frames</option><option value="24">   Leather</option><option value="22">   Metal</option><option value="26">   Traditional</option><option value="23">   Upholstered</option><option value="25">   Wood / Pine</option><option value="27">Divan Beds</option><option value="32">   Latex</option><option value="31">   Memory Foam</option><option value="29" SELECTED>   Open Coil</option><option value="30">   Pocket Sprung</option><option value="28">Mattresses</option><option value="36">   Latex</option><option value="35">   Memory Foam</option><option value="33">   Open Coil</option><option value="34">   Pocket Sprung</option></select></form>
<!-- End Category Menu -->

</font>
</td>
<td width="*" valign="absmiddle">
<font size="1" face="Arial, Helvetica, sans-serif">
<!-- start searchbox //-->
<!-- search //-->

<form name="quick_find" method="get" action="http://shop4beds.co.uk/catalog/advanced_search_result.php"><font size="1" face="Arial, Helvetica, sans-serif">Product Search > <input type="text" name="keywords" size="10" maxlength="30" value=""> <input type="image" src="includes/languages/english/images/buttons/searchbutton.gif" border="0" alt="Quick Find" title=" Quick Find "></td><td valign="absmiddle">  <font size="1" face="Arial, Helvetica, sans-serif"> or try the <a href="http://shop4beds.co.uk/catalog/advanced_search.php"><b>Advanced Search</b></font></a></td></tr></table></form>
<!-- search_eof //-->

<!-- end searchbox //-->
</font><br>
<img src="http://www.shop4beds.co.uk/images/deliverybanner-sml.jpg" border="0" align="left">
<table border="0" width="250">
<tr><td>
<font size="1" face="Arial, Helvetica, sans-serif">
<!-- start cartbox //-->

<!-- end cartbox //-->
</font>
</td></tr>
</table>


</div>
</td></tr></table>

</td>
 </tr>
</table>

<table width="100%" border="0" cellpadding="3" cellspacing="0">
 <tr class="headerNavigation"> 
<td>
<font size="1" color="#ffffff" face="verdana, Arial, Helvetica, sans-serif"><b>  <a href="http://shop4beds.co.uk" class="headerNavigation">Home</a> » <a href="http://shop4beds.co.uk/catalog/index.php" class="headerNavigation">Catalog</a> » <a href="http://shop4beds.co.uk/catalog/index.php?cPath=27" class="headerNavigation">Divan Beds</a> » <a href="http://shop4beds.co.uk/catalog/index.php?cPath=27_29" class="headerNavigation">Open Coil</a> » <a href="http://shop4beds.co.uk/catalog/product_info.php?cPath=27_29&products_id=29" class="headerNavigation"></a></b></font>
</td>
<td align="right" class="headerNavigation">
<a href="http://shop4beds.co.uk/catalog/login.php" " class="headerNavigation">Log In</a>  |  <a href="http://shop4beds.co.uk/catalog/account.php" class="headerNavigation">My Account</a>   

</td>
 </tr>
</table>
</div>
<div id="spacer"> </div>
<div id="main">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
 <tr> 
<td width="130" valign="top"> 

  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start categorybox //-->
<table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
  <tr>
	<td>		  <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
		<tr> 
		  <td colspan=3 width="100%"> <img src="images/boxes/table_categories.jpg"></td>
		</tr>
		<tr> 
		  <td width="100%"> 
<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td class="boxText"><a href="http://shop4beds.co.uk/catalog/index.php?cPath=21"><img src="images/pointer_blue.gif" border="0" alt="" width="8" height="7">Beds Frames</a> (1)<br><a href="http://shop4beds.co.uk/catalog/index.php?cPath=27"><img src="images/pointer_blue.gif" border="0" alt="" width="8" height="7"><b>Divan Beds</b></a> (2)<br>  <a href="http://shop4beds.co.uk/catalog/index.php?cPath=27_32">Latex</a><br>  <a href="http://shop4beds.co.uk/catalog/index.php?cPath=27_31">Memory Foam</a> (1)<br>  <a href="http://shop4beds.co.uk/catalog/index.php?cPath=27_29"><b><span class="errorText">Open Coil</span></b></a> (1)<br>  <a href="http://shop4beds.co.uk/catalog/index.php?cPath=27_30">Pocket Sprung</a><br><a href="http://shop4beds.co.uk/catalog/index.php?cPath=28"><img src="images/pointer_blue.gif" border="0" alt="" width="8" height="7">Mattresses</a> (1)<br></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
		</td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<!-- end categorybox //-->
</font></p>
  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start manufacturerbox //-->
<table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
  <tr>
	<td>		  <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
		<tr> 
		  <td colspan=3 width="100%"> <img src="images/boxes/table_manufacturers.jpg"></td>
		</tr>
		<tr> 
		  <td> 
			<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td class="boxText"><form name="manufacturers" action="http://shop4beds.co.uk/catalog/index.php" method="get"><select name="manufacturers_id" onChange="this.form.submit();" size="1" style="width: 100%"><option value="" SELECTED>Please Select</option><option value="10">Dunlopillo</option><option value="16">Highgate</option><option value="14">Jay-be</option><option value="15">Limelight</option><option value="13">Myers</option><option value="17">Rest Assured</option><option value="11">Slumberland</option><option value="12">Sprung Slumber</option></select></form></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
		  </td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<!-- end manufacturerbox //-->
</font></p>
  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start whatsnewbox //-->
<table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
  <tr>
	<td>		  <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
		<tr> 
		  <td colspan=3 width="100%"><a href="products_new.php"><img src="images/boxes/table_whatsnew.jpg" border="0"></a></td>
		</tr>
		<tr> 
		  <td> 
		   <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td align="center" class="boxText"><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=29"><img src="images/sculpture.jpg" border="0" alt="Sculpture" title=" Sculpture " width="110" height="79.546539379475"></a><br><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=29">Sculpture</a><br><s>?289.00</s><br><span class="productSpecialPrice">?269.00</span></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
		  </td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<!-- end whatsnewbox //-->
</font></p>
  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start informationbox //-->
<table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
  <tr>
	<td>		  <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
		<tr> 
		  <td colspan=3 width="100%"> <img src="images/boxes/table_information.jpg"></td>
		</tr>
		<tr> 
		  <td> 
			<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td class="boxText"><a href="http://shop4beds.co.uk/catalog/shipping.php">Delivery & Returns</a><br><a href="http://shop4beds.co.uk/catalog/privacy.php">Privacy Policy</a><br><a href="http://shop4beds.co.uk/catalog/conditions.php">Terms & Conditions</a><br><a href="http://shop4beds.co.uk/catalog/contact_us.php">Contact Us</a></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
		  </td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<!-- end informationbox //-->
</font></p>
  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start questionsbox //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="1"></td>
<td width="100%" height="14" class="infoBoxHeading">Product Question</td>
<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td align="center" class="boxText"><table border="0" cellspacing="0" cellpadding="2">
				<tr>
				<td class="infoBoxContents">
				<a href="http://shop4beds.co.uk/catalog/ask_a_question.php?products_id=29">
				<img src="images/box_ask_question.gif" border="0" alt="Send us a question about this Product" title=" Send us a question about this Product " width="55" height="55">
				</a>
				</td>
				<td class="infoBoxContents">
				<a href="http://shop4beds.co.uk/catalog/ask_a_question.php?products_id=29"></a>
				</td></tr></table></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
<!-- end questionsbox //-->
</font></p>

  </td>
<td valign="top">
<!-- main content section -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
   <td background="http://www.shop4beds.co.uk/catalog/images/tlc.gif" width="11" height="15"></td>
   <td background="http://www.shop4beds.co.uk/catalog/images/tm.gif" width="*"></td>
   <td background="http://www.shop4beds.co.uk/catalog/images/trc.gif" width="11"></td>
</tr>
<tr>
   <td background="http://www.shop4beds.co.uk/catalog/images/lm.gif"></td>
   <td bgcolor="#FFF5E2">

   <table width="100%" border="0" cellpadding="0" cellspacing="0">
   <tr><td>
   <font face="arial" size="1">

	<p>
<!-- start content //-->
<form name="cart_quantity" action="http://shop4beds.co.uk/catalog/product_info.php?products_id=29&action=add_product" method="post"><table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading" valign="top">Sculpture</td>
		<td class="pageHeading" align="right" valign="top"><s>?289.00</s> <span class="productSpecialPrice">?269.00</span></td>
		<input type="hidden" name="nuPrice" value="?269.00">
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
  </tr>
  <tr>
	<td class="main">
	  <table border="0" cellspacing="0" cellpadding="2" align="right">
		<tr>
		  <td align="center" class="smallText">
<script language="javascript"><!--
document.write('<a href="javascript:popupWindow(\'http://shop4beds.co.uk/catalog/popup_image.php?pID=29\')"><img src="images/sculpture.jpg" border="0" alt="Sculpture" title=" Sculpture " width="110" height="79.546539379475" hspace="5" vspace="5"><br>Click to enlarge</a>');
//--></script>
<noscript>
<a href="http://shop4beds.co.uk/catalog/images/sculpture.jpg" target="_blank"><img src="images/sculpture.jpg" border="0" alt="Sculpture" title=" Sculpture " width="110" height="79.546539379475" hspace="5" vspace="5"><br>Click to enlarge</a></noscript>
		  </td>
		</tr>
	  </table>
	  <p>Product Features:
<ul>
<li>Visco-elastic Memory Foam</li>
<li>Total Body Support System</li>
<li>Moulds to your shape</li>
<li>Hypo Allergenic</li>
<li>Non-turn mattress</li>
<li>Platform top base</li>
<li>Storage drawer options</li>
</ul>
The Myers Sculpture mattress contains a full size spring unit under a
Visco-Elastic foam layer. This combination gives the benefit of body moulding foam with a traditional sprung support system.
<P>
When you lie on this "elastic" material you can actually feel it working. 
What you can feel are the tiny cells shifting and re-organising their position to conform around your individual body contours. 
This shifting happens over a 2 minute period, using the heat from your body. 
When your body weight has been totally supported any "hollow" areas such as under the lower back cleverly "fill in" with the Visco-Elastic foam, supporting every inch of your body.
<p>
This is very different to ordinary polyurethane foam mattresses which simply compact under your weight causing a lumpy, squashed mass that feels warm with no air circulation. 
Visco-Elastic foam retains proper air circulation throughout the foam and around your body for a more comfortable night's sleep.
<P>
<center>
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="black"><embed src="http://www.shop4beds.co.uk/myers/bodyheat.swf" width="432" height="144"></td>
</tr>
</table>
</center>
<P>
The animation (above) demonstrates how this special "memory" foam reacts to your body's heat then returns to normal after 2 minutes.
<P></p>
	  <table border="0" cellspacing="0" cellpadding="2">
		<tr>
		  <td class="main" colspan="2">Available Options:</td>
		</tr>
		<tr>
		  <td class="main">Drawers:</td>
		  <td class="main"><select name="id[3]" onChange='showPrice(this.form);'><option value="23">4 Drawer Continental (+?49.00)</option><option value="22">4 Drawers (+?49.00)</option><option value="21">2 Drawers (+?49.00)</option><option value="20">Non-Storage</option></select></td>

		</tr>
		<tr>
		  <td class="main">Size:</td>
		  <td class="main"><select name="id[2]" onChange='showPrice(this.form);'><option value="19">180cm (6'0) (+?49.00)</option><option value="18">150cm (5'0) (+?49.00)</option><option value="17">135cm (4'6) (+?49.00)</option><option value="16">120cm (4'0) (+?49.00)</option><option value="15">90cm (3'0) (+?49.00)</option><option value="14">75cm (2'6) (+?199.00)</option></select></td>

		</tr>
	  </table>
	</td>
  </tr>
  <tr>
	<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
  </tr>
 <tr><td><div id="productNEWprice"></div></td></tr>
  <tr>
	<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
			<td class="main"><a href="http://shop4beds.co.uk/catalog/product_reviews.php?products_id=29"><img src="includes/languages/english/images/buttons/button_reviews.gif" border="0" alt="Reviews" title=" Reviews " width="100" height="22"></a></td>
			<td class="main" align="right"><input type="hidden" name="products_id" value="29"><input type="image" src="includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt="Add to Basket" title=" Add to Basket "></td>
			<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
  </tr>
  <tr>
	<td>
<!-- xsell_products //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td height="14" class="infoBoxHeading"><img src="images/infobox/blue_corner_left.gif" border="0" alt="" width="11" height="14"></td>
<td height="14" class="infoBoxHeading" width="100%">We Also Recommend :</td>
<td height="14" class="infoBoxHeading"><img src="images/infobox/blue_corner_right.gif" border="0" alt="" width="11" height="14"></td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents">
 <tr>
<td align="center" class="smallText" width="33%" valign="top"><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=28"><img src="images/RococoBedRoomset-med.jpg" border="0" alt="Rococo" title=" Rococo " width="110" height="72.966666666667"></a><br><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=28">Rococo</a><br>?999.00<br><a href="http://shop4beds.co.uk/catalog/product_info.php?action=buy_now&products_id=28"><img src="includes/languages/english/images/buttons/button_buy_now.gif" border="0" alt="Buy 1 'Rococo' now" title=" Buy 1 'Rococo' now " width="60" height="14"></a></td>
 </tr>
</table>
</td>
 </tr>
</table>
<!-- xsell_products_eof //-->




	</td>
  </tr>
</table></form>
<!-- end content //-->
</p>

   </font>
   </td></tr>
   </table>

   </td>
   <td background="http://www.shop4beds.co.uk/catalog/images/rm.gif"></td>
</tr>
<tr>
   <td background="http://www.shop4beds.co.uk/catalog/images/blc.gif" height="11"></td>
   <td background="http://www.shop4beds.co.uk/catalog/images/bm.gif"></td>
   <td background="http://www.shop4beds.co.uk/catalog/images/brc.gif"></td>
</tr>
</table>
<!-- end -->
</td>
<td width="125" valign="top"> 

  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start maninfobox //-->
<table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
  <tr>
	<td>		  <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
		<tr> 
		  <td colspan=3 width="140"><img src="images/boxes/table_manufacturer_info.jpg"></td>
		</tr>
		<tr> 
		  <td> 
			<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td align="center" class="infoBoxContents" colspan="2"><img src="images/myers-sml.jpg" border="0" alt="Myers" title=" Myers " width="70" height="25"></td></tr><tr><td valign="top" class="infoBoxContents">- </td><td valign="top" class="infoBoxContents"><a href="http://shop4beds.co.uk/catalog/redirect.php?action=manufacturer&manufacturers_id=13" target="_blank">Myers Homepage</a></td></tr><tr><td valign="top" class="infoBoxContents">- </td><td valign="top" class="infoBoxContents"><a href="http://shop4beds.co.uk/catalog/index.php?manufacturers_id=13">Other products</a></td></tr></table></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
		  </td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<!-- end maninfobox //-->
</font></p>

  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start bestsellersbox //-->

<!-- end bestsellersbox //-->
</font></p>
  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start specialfriendbox //-->
<table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
  <tr>
	<td>		  <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
		<tr> 
		  <td colspan=3 width="100%"> <img src="images/boxes/table_specials.jpg"></td>
		</tr>
		<tr> 
		  <td> 
			<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td align="center" class="boxText"><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=29"><img src="images/sculpture.jpg" border="0" alt="Sculpture" title=" Sculpture " width="110" height="79.546539379475"></a><br><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=29">Sculpture</a><br><s>?289.00</s><br><span class="productSpecialPrice">?269.00</span></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
		  </td><tr>
		  <td align="center" class="infoboxcontent"><b><a href="specials.php">view 
			all specials</a></b></td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<!-- end specialfriendbox //-->
</font></p>
  <p><font size="1" face="Arial, Helvetica, sans-serif">
<!-- start reviewsbox //-->
<table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
  <tr>
	<td>		  <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
		<tr> 
		  <td colspan=3 width="100%"> <img src="images/boxes/table_reviews.jpg"></td>
		</tr>
		<tr> 
		  <td> 
			<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
<td class="boxText"><table border="0" cellspacing="0" cellpadding="2"><tr><td class="infoBoxContents"><a href="http://shop4beds.co.uk/catalog/product_reviews_write.php?products_id=29"><img src="images/box_write_review.gif" border="0" alt="Write Review" title=" Write Review " width="50" height="52"></a></td><td class="infoBoxContents"><a href="http://shop4beds.co.uk/catalog/product_reviews_write.php?products_id=29">Write a review on this product!</a></td></tr></table></td>
 </tr>
 <tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
		  </td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<!-- end reviewsbox //-->
</font></p>

</td>
 </tr>
</table>
</div>
<div id="spacer"> </div>
<div id="foot">
<table width="100%" align="center" cellpadding="4">
	<tr>
	<td>
	<table align="center" border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	<tr class="infoBoxContents">
	<td>
	<table border="0" width="100%" cellspacing="0" cellpadding="1">
	<tr>
	<td>
	<table border="0" width="100%" cellpadding="0" cellspacing="0" ><tr>
	  <td nowrap class="pageHeading">Your Recent History<font size="1"> (last 1 items)</font></td>
<!-- start user switch // -->
	  <td colspan="100" class="boxtext" align="right"><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=29&action=viewed_switch"><img src="images/icon_delete_red.gif" border="0" alt="Do not display again" title="Do not display again"></a>  </td> 
<!-- end user switch // -->
	  </tr><tr>
	  <td height="10"></td>
	  </tr><tr>
	  <td class="boxtext" nowrap valign="top" align="left"><img src="images/indicator.gif" border="0" alt="" width="16" height="9">   <a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=29"><font color="purple">Sculpture</font></a><br><td width="50%" align="left" valign="top">
	  <table width="60%" align="center" border="0">
	  <tr>
	  <td valign="top"><img src="images/info_blue_small.jpg"></td> 
	  <td class="boxtext" align="left"> Your Recent History records the last 9 products you have viewed. This is to enable you to go back and re-visit those products at your convenience.</td>
	  </tr>
	  </table>
	  </td></tr>
	<tr>
	<td colspan="100" class="boxtext" align="right"><a href="http://shop4beds.co.uk/catalog/product_info.php?products_id=29&action=viewed_remove"><img src="images/icon_delete.gif" border="0" alt="Erase Your Recent History" title="Erase Your Recent History"></a>  </td> 
	</tr>
	</table>
	</td>
	</tr>
	</table>
	</td>
	</tr>
	</table>
	</td>
	</tr>
	</table></div><div id="spacer"> </div><div id="foot">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
 <tr> 
<td><font size="1" face="Arial, Helvetica, sans-serif">Wednesday 28 September, 2005</font></td>
<td> <div align="right"><font size="1" face="Arial, Helvetica, sans-serif">Copyright © 2005 www.<font color="blue">shop<font color="red">4</font>beds</font>.co.uk</font></div></td>
 </tr>
</table>
<center>
<font size="1" face="Arial, Helvetica, sans-serif" color="navy">
V.A.T. Reg. No. 737 3998 78
            
Philip house, Honiton Road, Exeter, EX1 3RU
</font> 
</center>

</div>
</center>
</body>
</html>

 

 

take a look here: http://www.shop4beds.co.uk

 

 

please help me!!

Posted

thats not source code. Its the output html. If you actually have this in products_info.php then better restore it from the osc default core code.

Posted

Oh BUGG?R !!

 

 

Sorry, i sent the guy an email about the contrib and he said it was only set up for US $ ! why can't it work with ? ??

 

Any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...