Jump to content

Proetorian

Members
  • Content count

    14
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Proetorian
  • Location
    Ohio
  • Website
  1. Proetorian

    Intellipay Payment Module

    Has anyone been able to successfully integrate Intellipay with osC? In other words, is anyone with an osC store using Intellipay to process online payments? I searched the osC forum, as well the Zen Cart forum, and found all previous inquiries regarding Intellipay have gone unanswered! Please advise.
  2. Proetorian

    Automatically send data feed to Froogle

    Thanks mrguytx. I suspected that my problem had something to do with your previous post and the froogle server not processing the files. I went ahead and sent them an email myself to put more emphasis on this issue. Power in numbers! ;)
  3. Proetorian

    Automatically send data feed to Froogle

    I have been unable to upload my text file for 2 days. Is anyone else having this problem? Could it be that the froogle server is down? Here's the error message I have been getting:
  4. How would one setup two separate popup windows at the same time where one popup does not override the other popup in the same new popup window? In other words, how do I get two separate popup windows to appear at the same time? Your help is appreciated.
  5. Proetorian

    MerchantAnywhere

    Is anyone using merchantanywhere.com for processing cc and check payment? If so, have you had any problems with the contribution? I would also like to get some feedback on these guys if you are using them. Thanks.
  6. Proetorian

    Automatically send data feed to Froogle

    The cron job is setup as follows: Minute Hour Day Month Weekday Command e.g. 0 4 * * 3 /usr/bin/php -q /home/<unix route to your file>/admin/froogle.php where, The cron command is: /usr/bin/php -q /home/<unix route to your file>/admin/froogle.php and the cron is scheduled to run at 04:00 (4:00 am) every third weekday (weekly).
  7. I also found an error in /catalog/includes/classes/order_total.php : Find the following code: function credit_selection() { Look for this code below it: $output_string = ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" >' . "\n" . and change it to: $output_string .= ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" >' . "\n" .
  8. In /catalog/includes/classes/order_total.php Find the following: function collect_posts() { and look for the following line: $post_var = 'c_' . $GLOBALS[$class]->code; and change it to: $post_var = 'c' . $GLOBALS[$class]->code; This will take care of showing the redeemed Gift Voucher amount. However, it is still not deducting the redeemed amount from the GV total. I'm still working on that. Any help is appreciated. I went back and tested the change I posted above and it actually took care of all my issues. It is showing the deduction amount on the order page when redeeming a gift voucher and also deducting the amount redeemed upon confirmation of the order. I hope this helps someone.
  9. In /catalog/includes/classes/order_total.php Find the following: function collect_posts() { and look for the following line: $post_var = 'c_' . $GLOBALS[$class]->code; and change it to: $post_var = 'c' . $GLOBALS[$class]->code; This will take care of showing the redeemed Gift Voucher amount. However, it is still not deducting the redeemed amount from the GV total. I'm still working on that. Any help is appreciated.
  10. Yes. You may add it to the doc. Please note that the code above has a specific header layout but can be easily modified to accommodate any store layout as necessary.
  11. I've tried to make it work, but no luck. I modified the header code below to eliminate the shopping cart box and show the shopping cart info and GV info in the header at the top of the screen. In the /catalog/includes/header.php file find the following code: // check session.auto_start is disabled ?if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { ? ?if (ini_get('session.auto_start') == '1') { ? ? ?$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); ? ?} ?} ?if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { ? ?if (!is_dir(DIR_FS_DOWNLOAD)) { ? ? ?$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); ? ?} ?} ?if ($messageStack->size('header') > 0) { ? ?echo $messageStack->output('header'); ?} ?> Add this code after it and modify its format to suit your needs and store layout: <!-- Start Header Mod Here --> <!-- Delete existing code section and post to the Design Notes. ?Replace with code section below --> <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top: 10"> ?<tr class="header"> ? ?<td valign="middle" width="265"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'your_logo.gif', 'Your logo image') . '</a>'; ?></td> ? ?<td width="350" align="center" valign="center" class="header"> ? <table width="295" border="0" align="center" cellpadding="0" cellspacing="5"> ? ? <tr class="header"> ? ?<td width="199" align="right" class="header"> ? ? ?<?php ? ?echo '<a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL') . '">' . HEADER_TITLE_CART_ITEM_COUNT . '</a> ' . $cart->count_contents() . '<br>'; ? ?echo HEADER_TITLE_CURRENT_TOTAL . ' ' . $currencies->format($cart->show_total()); ? ?> ? ?</td> ? ?<td width="96" align="left" valign="center"><?php echo ' <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>'; ?></td> ?</tr> <!-- ICW ADDED FOR CREDIT CLASS GV --> <tr class="header"> <td colspan="2" align="center" class="header"> <?php // ICW ADDED FOR CREDIT CLASS GV ?if (tep_session_is_registered('customer_id')) { ? ?$gv_query = tep_db_query("select amount from " . TABLE_COUPON_GV_CUSTOMER . " where customer_id = '" . $customer_id . "'"); ? ?$gv_result = tep_db_fetch_array($gv_query); ? ?if ($gv_result['amount'] > 0 ) { ?echo tep_draw_separator(); ?echo VOUCHER_BALANCE . ' ' . $currencies->format($gv_result['amount']); ?echo ' | <a href="' . tep_href_link(FILENAME_GV_SEND, '', 'SSL') . '">' . BOX_SEND_TO_FRIEND . '</a>'; ? ?} ?} ?if (tep_session_is_registered('gv_id')) { ? ?$gv_query = tep_db_query("select coupon_amount from " . TABLE_COUPONS . " where coupon_id = '" . $gv_id . "'"); ? ?$coupon = tep_db_fetch_array($gv_query); echo tep_draw_separator() . ' ' . VOUCHER_REDEEMED . ' ' . $currencies->format($coupon['coupon_amount']); ?} ?if (tep_session_is_registered('cc_id') && $cc_id) { ? ?echo tep_draw_separator() . ' ' . CART_COUPON . ' ' . '<a href="javascript:couponpopupWindow(\'' . tep_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $cc_id) . '\')">' . CART_COUPON_INFO . '</a>'; ?} // ADDED FOR CREDIT CLASS GV END ADDITTION ? ? ?> </td> </tr> <!-- EOM Credit Class GV Module --> ? </table> </td> ? ?<td align="right" valign="bottom" class="header"> </td> ?</tr> </table> I hope this helps.
  12. Proetorian

    [Contribution] Cost Module v1.00

    To fix the NaN problem in the Gross Price box, replace: ? ? ? ? ?<tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_COST; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price', $pInfo->products_cost, ''); ?></td> ? ? ? ? ?</tr> with: ? ? ? ? ?<tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_COST; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_cost', $pInfo->products_cost, ''); ?></td> ? ? ? ? ?</tr> All you are changing is the products_price input field to products_cost
×