danno91 Posted April 29, 2006 Share Posted April 29, 2006 This is a great contrib. Is there anyway, perhaps in the javascript file, to make the "Total" box read-only. Because right now you can delete that number, write whatever number you want in there, etc. Quote Link to comment Share on other sites More sharing options...
danno91 Posted April 29, 2006 Share Posted April 29, 2006 Also, are you able to, now that some time has passed, update the contrib to support negative (-) values? That would be fantastic... Quote Link to comment Share on other sites More sharing options...
lalelunet Posted April 30, 2006 Author Share Posted April 30, 2006 This is a great contrib. Is there anyway, perhaps in the javascript file, to make the "Total" box read-only. Because right now you can delete that number, write whatever number you want in there, etc. You can do this by set the textbox to readonly. At the end of the hilfe.php you find the output from the text-field (see below) echo '<p align=center>TOTAL: '.$currencies->currencies[$currency]['symbol_left'].'<input class=Feld type="text" name="OrderTotal" size="10">'.$currencies->currencies[$currency]['symbol_right'].'</p><br>'; Just add the readonly attribute (readonly="readonly") and the box is "protected"... echo '<p align=center>TOTAL: '.$currencies->currencies[$currency]['symbol_left'].'<input class=Feld type="text" name="OrderTotal" size="10" readonly="readonly">'.$currencies->currencies[$currency]['symbol_right'].'</p><br>'; I will include this in the next version. Quote Greetings Thomas Link to comment Share on other sites More sharing options...
danno91 Posted April 30, 2006 Share Posted April 30, 2006 Thanks Thomas! I had also sent you a PM about a different issue, did you receive it? Thanks Quote Link to comment Share on other sites More sharing options...
darrenatkinson Posted June 8, 2006 Share Posted June 8, 2006 Hi This contribution is exactly what we were looking for thank you. I have the problem though that if a product is valued at over ?1000 then the total box displays 'NaN.Na' I have used version 1.5 and have checked that my code does include the line: $products_price = preg_replace("/,/","",$products_price); // for prices greater than 999.999 Any help would be greatly appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
gotham Posted July 17, 2006 Share Posted July 17, 2006 Can anyone tell me if this script still only works with positive option values only? Thanks! Quote Kendall Brooklyn, New York USA Link to comment Share on other sites More sharing options...
lalelunet Posted July 23, 2006 Author Share Posted July 23, 2006 Can anyone tell me if this script still only works with positive option values only?Thanks! Still only positive values. There is currently no free time available to developing at this script. Sorry. :( Greetings Thomas Quote Greetings Thomas Link to comment Share on other sites More sharing options...
bored Posted July 26, 2006 Share Posted July 26, 2006 Still only positive values. There is currently no free time available to developing at this script. Sorry. :( Greetings Thomas So if you choose a value lets say adds 3 bucks to the price, if you switch back to the original option set, it wont take the 3 bucks back off? Quote Link to comment Share on other sites More sharing options...
teknoid Posted July 31, 2006 Share Posted July 31, 2006 Hello Splendid contibution. I have problem unfortunately. When Product has not attribute, and in BODY is onload ="Total();" Object was waited Poem 30 Sign 1 http://www.meblenet.pl/product_info.php/cP...products_id/808 Pleas Help My Quote Link to comment Share on other sites More sharing options...
teknoid Posted July 31, 2006 Share Posted July 31, 2006 it in poem 30 is hilfe.php eval(\"q = document.cart_quantity.Item\" + i + \"Quantity.value;\"); Quote Link to comment Share on other sites More sharing options...
teknoid Posted July 31, 2006 Share Posted July 31, 2006 and in line 30 in product_info.php is <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onload="Total();"> Quote Link to comment Share on other sites More sharing options...
CaptureL Posted September 25, 2006 Share Posted September 25, 2006 Hi there I just installed the latest version of this contribution and i get the following JS errors.... Line: 318 Char: 9 Error: Sytax error Code: 0 URL: http://mystore.com/product_info.php?cPath=2_18&products_id=27 any ideas wot i am doing wrong? :thumbsup: ta Lin Quote Link to comment Share on other sites More sharing options...
CaptureL Posted September 25, 2006 Share Posted September 25, 2006 Ok...excuse my stupidity...have solved that problem...(managed to miss an entire block of code :rolleyes: ) but i now have the NaN.Na error and the product is only ?75. i have checked the code as above and it seems to be ok. any ideas? Quote Link to comment Share on other sites More sharing options...
CaptureL Posted October 2, 2006 Share Posted October 2, 2006 Anyone got a solution to the above problem? I really need to fix this and move on now. :thumbsup: Quote Link to comment Share on other sites More sharing options...
der.brain Posted October 13, 2006 Share Posted October 13, 2006 Hi, the contrib works fine but it changes the order in some (not all) the option pulldown. We have option yes and no. - "No" is 0 Eur - " yes" is xx.xx Eur In some cases now the yes option is default. Do someone know why this happens ? Bet Regards from Germany Michael Quote Link to comment Share on other sites More sharing options...
der.brain Posted October 13, 2006 Share Posted October 13, 2006 In one offer it is in an other it is not Quote Link to comment Share on other sites More sharing options...
paulchen2005 Posted December 31, 2006 Share Posted December 31, 2006 Hi, works this contrib together with QTpro ? Quote Link to comment Share on other sites More sharing options...
der.brain Posted May 22, 2007 Share Posted May 22, 2007 Hi, I guess it do not. Quote Link to comment Share on other sites More sharing options...
chris2403 Posted April 13, 2009 Share Posted April 13, 2009 ive installed this and everything works ok except for the fact that i cannot add anything to my cart, it just takes me there but doesnt add the product, any ideas or alternatives to this contrib, ive seen another one but it only works with euro or usd not gbp. cheers chris Quote Link to comment Share on other sites More sharing options...
rotulistaz Posted May 8, 2009 Share Posted May 8, 2009 ive installed this and everything works ok except for the fact that i cannot add anything to my cart, it just takes me there but doesnt add the product, any ideas or alternatives to this contrib, ive seen another one but it only works with euro or usd not gbp. cheers chris I have same problem. somebody know solution thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.