Price does not work
![]() ![]() |
Always come back with a $NaN |
![]() ![]() |
The fix is to change the priceString lines to: var priceString = $('div.productDescription:first > h3:first span.amount').html();
|
![]() ![]() |
Or open and edit and use this version of the lines
// Show Total Price
var priceString = $('div.productDescription:first > h3:first > .money > .amount').html();
var price = Number( priceString.substring( 0, priceString.length ) );
priceString = "$" + ( price + 5 ).toFixed(2);
$('div.productDescription:first > h3:first').html( priceString );
$('ul#shippingOptions > li:first').html( '$' + ( price * 2 + 5 ).toFixed(2) + " for 2 | $" + ( price * 3 + 5 ).toFixed(2) + " for 3" );
// Check for WootOff
|
![]() ![]() |
Thanks Shaun. I tried orangechicken's suggestion and it hadn't worked. With yours it's working again. |
![]() ![]() |
Heheh no problem. I had to come back here to remember what code i changed so that I could update my work computer :0 |



