AllNamesAreTaken Posted May 20, 2015 Share Posted May 20, 2015 On the page: MyUrl/checkout_payment.php You can select a payment method. I have an addon that takes care of the options. There is an image there linking to an outside source. Yes bad coding because that URL does not exsists anymore. So i saved a logo locally and now i want to point at that. But in wich PHP file it is baffles me. When i inspect the element this is the page: <h1>Betalingsgegevens</h1><form name="checkout_payment" action="MyUrl/checkout_confirmation.php" method="post" onsubmit="return check_form();">ev<input type="hidden" name="formid" value="82ddacdc677051a8d6fc09806029948d"/><div class="contentContainer"><h2><div class="contentText"><div style="clear: both;"/><h2><div class="contentText"><div class="contentText"><table border="0" width="100%" cellspacing="0" cellpadding="2"><tbody><tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)">ev<tr><td colspan="2"><table border="0" cellspacing="0" cellpadding="2"><tbody><tr><td><img src="http://www.ideal.nl/img/iDEAL-klein.jpg"align="middle"/> Selecteer uw bank</td><td></tr></tbody></table></td></tr></tbody></table> Also checked out the PhP checkout_confirmation.php. Not there either..... Tried to do a windows seach on the string <img src="http://www.ideal.nl/img/iDEAL-klein.jpg" nope not found. I pretty much checked all payment related PHP files. Not there. Naturally i checked the /Dutch files as my site is Dutch Does anyone have a clue where to look? Link to comment Share on other sites More sharing options...
Hotclutch Posted May 20, 2015 Share Posted May 20, 2015 It won't be in a stock osCommerce file, therefore it must surely be in the files of the addon you mention. Link to comment Share on other sites More sharing options...
AllNamesAreTaken Posted May 21, 2015 Author Share Posted May 21, 2015 Yes but which one? How can i find out? I looked at all manually but i don't see it! Link to comment Share on other sites More sharing options...
Hotclutch Posted May 21, 2015 Share Posted May 21, 2015 Can't say, but don't search by the output <img src="http://www.ideal.nl/...DEAL-klein.jpg">, try something smaller like "ideal.nl" Link to comment Share on other sites More sharing options...
AllNamesAreTaken Posted May 21, 2015 Author Share Posted May 21, 2015 I think i found it. However i am not 100% if i can just remove the link safely Should i remove '<>' or '<>'. function selection() { global $order; //$this->update_status(); if ($this->enabled) { $select = '<select name="sisow_bank" ' . ($_SESSION['payment'] != 'sisowideal' ? 'enabled' : '') . '>\n'; if (MODULE_PAYMENT_SISOWIDEAL_TEST == 'True') { $select .= '<option value="">Kies uw bank...</option>\n'; $select .= '<option value="99">Sisow Bank (Test)</option>\n'; } else { $select .= "<script type=\"text/javascript\" src=\"https://www.sisow.nl/Sisow/iDeal/issuers.js\"></script>\n"; } $select .= "</select>"; return array('id' => $this->code, 'module' => 'iDEAL', 'fields' => array(array('title' => '<img src="http://www.ideal.nl/img/iDEAL-klein.jpg"ALIGN="middle" />' .MODULE_PAYMENT_SISOWIDEAL_SELECT_BANK_LABEL, 'field' => $select))); Link to comment Share on other sites More sharing options...
Hotclutch Posted May 21, 2015 Share Posted May 21, 2015 Instead of loading the image externally you can change the image link to your local server, then it will look something like: <img src="/images/***.jpg" align="middle" /> Remember to copy the image into your images folder. Link to comment Share on other sites More sharing options...
AllNamesAreTaken Posted May 21, 2015 Author Share Posted May 21, 2015 I thought about that but as non of the other payment methods have a picture i just want to remove the Ideal picture. So it lines up nicely Link to comment Share on other sites More sharing options...
Hotclutch Posted May 21, 2015 Share Posted May 21, 2015 Not sure how that image sits or what its purpose is on the page, but you could try commenting out this entire block: return array('id' => $this->code, 'module' => 'iDEAL', 'fields' => array(array('title' => '<img src="http://www.ideal.nl/...DEAL-klein.jpg"ALIGN="middle" />' .MODULE_PAYMENT_SISOWIDEAL_SELECT_BANK_LABEL, 'field' => $select))); so that you have //return array('id' => $this->code, //'module' => 'iDEAL', //'fields' => array(array('title' => '<img src="http://www.ideal.nl/...DEAL-klein.jpg"ALIGN="middle" />' .MODULE_PAYMENT_SISOWIDEAL_SELECT_BANK_LABEL, 'field' => $select))); May be best to experiment on a test store. Link to comment Share on other sites More sharing options...
AllNamesAreTaken Posted May 22, 2015 Author Share Posted May 22, 2015 Seriously? Install a complete teststore to remove 1 image of 5 my 10 pixels? That is the best advoce i am going to get at the main OsCommerce store? No wonder OsCommerce is long dead and will never be revived again... The support SUCK! I asked 3 simple questions and NON was awnsered! You know i just decided not to bother with this loss a cause anymore. I will spend the cash i got to keep OsCommerce alive a few months and spend it on getting OpenCart online quicker. 50 times better then OsCommerce and with SUPPORT! Link to comment Share on other sites More sharing options...
AllNamesAreTaken Posted May 22, 2015 Author Share Posted May 22, 2015 Changed it to height=1 width=1 Problem solved without any help at all from you Link to comment Share on other sites More sharing options...
♥14steve14 Posted May 22, 2015 Share Posted May 22, 2015 Wow. What an over reaction. Are you always that impatient. Any help or advice given on this site is done by people who freely give their time to try to help others. The support here is not done by the developers of oscommerce. With your attitude I think moving to opencart will be the best thing you have done as I expect many people would have blocked your posts and will not give you help now or in the future anyway. As the code is not from a standard install you were lucky to get the help that you did. You didnt give anyone a lot to go on apart from a small bit of source code. If oscomerce is long dead, why are you using it. I hope you have more success with the opencart forums as at times there is less help there than there is here. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
AllNamesAreTaken Posted May 22, 2015 Author Share Posted May 22, 2015 Actually i get a lot of help from OpenCart users so far! OsCommerce is dead face it. The code is horrible and outdated. OsCommere used to be big years ago but they missed the buss by beeing lazy. And when they finally did an update is was to little to late. Less me honestly how many NEW OsCommerce stores are started? All is legacy of people like me who have problems trying to export everything. You cannot survive with non-exsisting free support and delevopers who have the nerve to think 200 euro's an hour is an acceptable rate for a PHP deleveloper. It's PHP for gods sake! The languance created so mediocre developers who do not posses the skill to learn a true languange can do some simple scripting. The MC Donalds of fine dining you cannot charge 200 dollar for a hamburger. Link to comment Share on other sites More sharing options...
oscMarket Posted May 22, 2015 Share Posted May 22, 2015 lol... you should blame your incompetence. Gek wijf. (for the non dutch it say "crazy bitch"..... but in dutch it isn't that verbal as it is translated to English, nevertheless.........) Link to comment Share on other sites More sharing options...
burt Posted May 23, 2015 Share Posted May 23, 2015 Actually i get a lot of help from OpenCart users so far! OsCommerce is dead face it. The code is horrible and outdated. OsCommere used to be big years ago but they missed the buss by beeing lazy. And when they finally did an update is was to little to late. Less me honestly how many NEW OsCommerce stores are started? All is legacy of people like me who have problems trying to export everything. You cannot survive with non-exsisting free support and delevopers who have the nerve to think 200 euro's an hour is an acceptable rate for a PHP deleveloper. It's PHP for gods sake! The languance created so mediocre developers who do not posses the skill to learn a true languange can do some simple scripting. The MC Donalds of fine dining you cannot charge 200 dollar for a hamburger. So... osCommerce developers are lazy. PHP developers are mediocre. And yet, here you are...crying for help from these lazy and mediocre jerks. As for support, ALL watch this video and take in the words from 1:06 onwards... https://youtu.be/QgTIhT5aLCg?t=1m5s You are entitled to nothing. Let me be clear, you are entitled to nothing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.