QUOTE (sosADAMsos @ Aug 13 2008, 03:44 PM)

I have personalizations on my products that add additional charges.
The problem I'm having is that when they select a personalization, the price is not being changed to reflect the additional charge.
The price is correct when it gets added into the cart, but not on the product page.
Is there a way to get that price to change correctly?
This will display the correct price including personalization charges...
CODE
<script type="text/javascript">
<!--
var decimal = '';
var value = Math.round(<%Product.CustomerPrice+Product.PersonalizationSurcharge%>*100);
if (value/100 == Math.round(value/100)) {
decimal = '.00';
}
else if (value/10 == Math.round(value/10)) {
decimal = '0';
}
else {
decimal = '';
}
document.write('$' + value/100 + decimal);
-->
</script>
<noscript><%Product.CustomerPriceText%></noscript>
Just insert that into your product layout where it used to say
CODE
<%Product.CustomerPrice%>
It is kind of a lot of code for a little thing but it works and it makes for a better customer experience. (IMG:
http://forums.networksolutions.com/style_emoticons/default/smile.gif)
P.S. Don't forget to replace the MsrpPrice and SalePrice as well if you need to.