I am in the process of upgrading our ShopSite to v10 from v9 AND upgrading the look using custom templates.
On my dev server in v10, all the buttons (continue shopping, checkout, recalculate) in the new cart template are throwing an error:
Error in Form!
We're sorry, but there was an error in your form data!
Please specify a valid value for the the paytype .
Please press the Back button on your browser to correct the error.
I am testing in FireFox 3.6
The [-- SC_Tax_Shipping --] tag is in my code, but ultimately, I don't want it, as my store product line is all downloads, and there is no tax or shipping.
Any help appreciated.
- Code: Select all
[-- DEFINE ShoppingCart --]
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>[-- STORE.SC_YourShoppingCart --]</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="media/Site_Graphics/favicon.ico">
<link rel="apple-touch-icon" href="media/Site_Graphics/apple-touch-icon.png">
<script type="text/javascript" language="JavaScript">
<!--
[-- SC_JAVASCRIPT extras --]
// -->
</script>
<!-- CSS : implied media="all" -->
<link rel="stylesheet" href="includes/sc_style.css">
</head>
<body>
<div id="container">
<!-- Header -->
[-- INCLUDE masthead Process --]
<!-- /Header -->
<!-- Main content alpha -->
<div class="main png_bg">
<div class="inner_main"> <!-- True containers -->
<!-- breadcrumbs -->
<div class="container_gamma breadcrumbs">
<p><span>»</span><a href="index.php">Home</a><span>»</span><a href="#">Cart</a></p>
</div>
<!-- END breadcrumbs -->
<div class="container_omega"> <!-- main 3 col section -->
[-- ShopSiteMessages --]
<div class="gs_9">
<h2>Shopping Cart</h2>
<p>
[-- SC_Form --]
<table border='1' width='100%'>
<tr>
<td colspan='2'>
[-- SC_Cart delete image name quantity price total --]<p />
</td>
</tr>
<tr>
<td colspan='2' align='right'>
[-- SC_Tax_Shipping --]<p />
</td>
</tr>
<tr>
<td colspan='2'>
[-- SC_Totals --]<p />
</td>
</tr>
<tr>
<td colspan='2' align='right'>
Any changes above should be verified by pressing 'Recalculate' before checkout.
[-- BUTTON Recalculate --]<p />
</td>
</tr>
<tr>
<td align='left'>
Related Items<p />
</td>
<td align='right'>
[-- IF SC_Coupon --]
Coupon Code: [-- SC_Coupon --] [-- BUTTON ApplyCoupon --]<p />
[-- END_IF --]
</td>
</tr>
<tr>
<td colspan='2' align='right'>
[-- BUTTON ContinueShopping --]</p>
</td>
</tr>
</table>
</div>
<div class="gs_3 omega">
<p><img src="http://bestcountryreports.com/media/Site_Graphics/secure.png"></p>
<p><img src="http://bestcountryreports.com/media/Site_Graphics/credit-cards.png"></p>
[-- IF SC_Registration --]
[-- SC_Registration --]
[-- END_IF --]<p />
<p class="spaceclear-checkout">[-- BUTTON Checkout --]</p>
</div>
</form>
<!-- Fix for guillotine IE6 bug -->
<div class="clearfix"></div>
</div> <!-- END main section -->
</div> <!-- END True containers -->
</div>
<div class="endmain png_bg"></div>
<!-- /Main content alpha -->
<!-- Footer styling transition (the stripe). You can remove it if you don't like it
<div class="stripe png_bg"></div>
/Footer styling transition -->
<!-- Footer -->
[-- INCLUDE footer Process --]
<!-- /footer -->
</div> <!--! end of #container -->
<!-- Javascript at the bottom for fast page loading -->
<!-- scripts concatenated and minified via ant build script-->
<script src="includes/plugins.js"></script>
<script src="includes/script.js"></script>
<!-- end concatenated and minified scripts-->
<!--[if lt IE 7 ]>
<script src="includes/dd_belatedpng.js"></script>
<script> DD_belatedPNG.fix('img, .png_bg, .sidebar, .sidebar ul, .sidebar ul li, .sidebar ul li a'); //fix any <img> or .png_bg background-images </script>
<![endif]-->
</body>
</html>
[-- END_DEFINE ShoppingCart --]