Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fyfthelement

Pioneers
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Real Name
    HitMan Juice

fyfthelement's Achievements

  1. Here, Follow this link: http://www.oscommerce.com/forums/topic/162244-easy-populate-products-attributes/page__view__findpost__p__1510664 Hope this help. Yeah...a lot of this doesnt make any sense most of the times... Search is very helpful though
  2. After countless hrs of work done on this contribution... I've finally been able to modify most if not all of the RMA admin/catalog files to display attributes and final_prices with tax and/or discounts in the RMA system. I will post all the changes and modified files up as soon as I can. Hope it helps those in need... I haven't had sufficient time for bug checks but I'm sure someone will help revise my work. C U Soon... ~Hit ManJuice~ Rick Rossin' It!!! PHP Style!!
  3. Post your whole file up, i'll find it for you.. you're missing either a ">" "{ }" or "( )
  4. OK BACK.... JUST WILL POST HOW SECTIONS OF MY FILES LOOK.. CAN'T EXPLAIN WHY/OR WHAT OR WONT WORK. HAVE AT IT AND LET ME KNOW WASSUP OR WHATS WRONG 1)catalog\checkout_payment.php for me: line 390 <?php } $radio_buttons = 0; for ($i=0, $n=sizeof($selection); $i<$n; $i++) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } // } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td> <td class="main" align="right"> <?php if (sizeof($selection) > 1) { echo tep_draw_radio_field('payment', $selection[$i]['id']); } else { echo tep_draw_hidden_field('payment', $selection[$i]['id']); } ?> </td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($selection[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="4"><?php echo $selection[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } elseif (isset($selection[$i]['fields']) && is_array($selection[$i]['fields'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="4"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['title']; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['field']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } // #################### Begin Added CGV JONYO ###################### if (tep_session_is_registered('customer_id')) { if ($gv_result['amount']>0){ echo ' <tr><td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td><td colspan=2>' . "\n" . ' <table border="0" cellpadding="2" cellspacing="0" width="100%"><tr class="moduleRow" onmouseover="rowOverEffect(this)" onclick="clearRadeos()" onmouseout="rowOutEffect(this)" >' . "\n" . ' <td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td><td class="main">' . $gv_result['text']; echo $order_total_modules->sub_credit_selection(); } } // #################### End Added CGV JONYO ###################### ?> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php echo $order_total_modules->credit_selection();// CCGV ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td> </tr> </table></td> </tr> till about line 502 then etc... etc... etc... ---------------------------------------------------------------------------------------------------------------------------------- 2)inludes\modules\order total\ot_coupon.php I CANCELED OUT ALL THE CODE HERE ...DONT KNOW WHY BUT IT WORKS.... WITH IT ON: EITHER MY JSCRIPT ON PAYMENT SELECTION DOESN'T WORK/ SELECTS DEFAULT PAYMENT OR NO OTHER RADIO BUTTON WORKS OR CONTINUE BUTTON DOESN'T WORK function credit_selection() { ---->>/* global $customer_id, $currencies, $language; $selection_string = ''; $selection_string .= '<tr>' . "\n"; $selection_string .= ' <td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td>'; $selection_string .= ' <td class="main">' . "\n"; $image_submit = '<input type="image" name="submit_redeem" onClick="submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" border="0" alt="' . IMAGE_REDEEM_VOUCHER . '" title = "' . IMAGE_REDEEM_VOUCHER . '">'; $selection_string .= TEXT_ENTER_COUPON_CODE . tep_draw_input_field('gv_redeem_code') . '</td>'; $selection_string .= ' <td align="right">' . $image_submit . '</td>'; $selection_string .= ' <td align="right"> </td>'; $selection_string .= ' <td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') . '</td>'; $selection_string .= '</tr>' . "\n"; return $selection_string; ---->> */ // START Checkout Display Fix by BTBlomberg ---->>/* $selection_string = '<tr><td><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="1"></td><td class="main">'; $selection_string .= tep_draw_form('checkout_payment_gift', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post'); $selection_string .= '<div>'; $selection_string .= TEXT_ENTER_GV_CODE . tep_draw_input_field('gv_redeem_code', TEXT_ENTER_COUPON_FIELD) ; $selection_string .= ' '; $selection_string .= tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, 'ALIGN="middle" onclick="return submitFunction()"'); $selection_string .= '</div></form></td></tr>'; // END Checkout Display Fix by BTBlomberg return $selection_string; ---->>*/ } -------------------------------------------------------------------------------------------------------------------- AND .... 3)order_total\OT_GV.PHP function credit_selection() { global $customer_id, $currencies, $language; $selection_string = ''; $gv_query = tep_db_query("select coupon_id from " . TABLE_COUPONS . " where coupon_type = 'G' and coupon_active='Y'"); if (tep_db_num_rows($gv_query)) { $selection_string .= '<tr>' . "\n"; $selection_string .= '<td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td>'; $selection_string .= ' <td class="main">' . "\n"; $selection_string .= ' <td class="main">' . "\n"; // only show redeem button if not checking out with PWA // if ($customer_id>0){ $image_submit = '<input type="image" name="submit_redeem" onClick="submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" border="0" alt="' . IMAGE_REDEEM_VOUCHER . '" title = "' . IMAGE_REDEEM_VOUCHER . '">'; // } $selection_string .= TEXT_ENTER_GV_CODE . tep_draw_input_field('gv_redeem_code') . '</td>'; $selection_string .= ' <td align="right">' . $image_submit . '</td>'; $selection_string .= '<td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') . '</td>'; $selection_string .= '</tr>' . "\n"; } return $selection_string; } OH...P.S. COMPARE YOUR FILES WITH BOTH THIS CONTRIB v5.1x and CCGV(TRAD) I used the 5.19 from start w/ no reinstall Im G2G after 12 hrs of comparing and editing HOPE THIS HELPS.. HOLLA BACK ICHI
  5. Wassup everyone Took me days and a very upset girlfriend to get this right... Hope it works for everyone as I am working hard to debug this contrib. OK... OPEN CATALOG/CHECKOUT_CONFIRMATION FIND THIS....(AROUND 65 - 69) if (isset($_POST['gv_redeem_code']) && ($_POST['gv_redeem_code'] == null)) {tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); THEN ADD: // IN FRONT TO SILENT THAT CODE SHOULD WORK. HOLLA BACK... ALSO, FOUND A LIL TEMP FIX FOR THOSE WHO CONTINUE BUTTON DOESN'T WORK. BE BACK WITH FULL DETAIL. SORRY FOR THE TEASER
  6. Hey wassup everyone. Can anyone help me with the situation that I have: **ADMIN RETURN SECTION** I have RMA System installed. Admin/Return.php isnt showing that 'final_price' of product with attributes. Only shows original 'product_price' w/ tax. Can anyone help me please. Thanks. F Dot Element
  7. So I take it no one knows about my situtation i have. Thanks for the support.
  8. Hey wassup everyone. Can anyone help me with the situation that I have: I have RMA System installed. Admin/Return.php isnt showing that 'final_price' of product with attributes. Only shows original 'product_price' w/ tax. Can anyone help me please. Thanks. F Dot Element
  9. Need help plz. I have added the RMA onto my website and its working properly in the admin section but not at all in my catalog. Might have to do with the style im using on my site. WILL GET TO THAT PART LATER. But my main problem has to do with Returns.php is showing incorrect refund amount once i have scheduled a return. I have added attributes on all of the my products and I fixed the solution in the returned_products.php file and thats working properly now. I simply changed "products_price" with "final_price". But my "final price" on returns.php isnt showing that same price. Its showing original price of product w/o added attributes...NEED HELP PLZ!!! Thanks. F DOT ELEMEMT
×
×
  • Create New...