Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rmowles

Archived
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Real Name
    Robert Mowles

rmowles's Achievements

  1. You just made me a very happy man. I had the exact same problem today with PHPSUEXEC breaking my store... your patch fixed it for me to. Thank you very much!!
  2. I noticed there was a new version uploaded to fix the duplicate tax field problem (which I was having too...). But when I installed it and went to edit an order, I received an error on line 89 stating that the tep function wasn't recognized. I don't have the specific error to post but it was tep_get_tax_rates_description from what I remember. It looks like this new upload is different in more than just the one line being changed? I didn't see a spot in it to choose which mode to use to calculate tax on shipping. Thanks in advance for your help and work on this great contribution! Robert
  3. I couldn't see this covered but may have missed it... my store operates in Ontario. I'm using SPPC to set up dealer pricing, but for taxes in Canada, everyone has to pay 7% GST. So I'd like to have the tax exempt flag leave the 7% GST alone, but remove the 8% Ontario PST. Thanks in advance for any help you can provide! Regards, Robert
  4. Hello there. I just installed this contribution which is a fabulous idea by the way! But my countries seem to be reporting wrong... I visited myself from Toronto and I showed up as finland.. and Inktomi was by and reported as Japan.. when I clicked on the link that goes to showmyip.com, it showed that inktomi was from the USA... I think I installed correctly, and downloaded the binary from maxmind... any ideas? Thank you! Robert
  5. I just added this contrib to my site but it appears to not be working. I have the same error that a previous poster noted -- in the admin panel when I look at the order, all the max fields are blank except the one marked "error:" and it says "COUNTRY_REQUIRED". Is anyone around to help out? Thanks in advance! Robert Aartech Canada
  6. Hi JanZ, thanks for the reply. But it didn't seem to make a difference. Let me make sure I understood you. In the file /includes/modules/default_specials.php I took out the original line $new=... and replaced it with the code you suggested. Did I do it correctly? Because it didn't make any difference... the dealer special still showed up on the main page when I wasn't logged in as a dealer. Just to be clear, this isn't the usual /includes/boxes/specials.php file, but another contribution called "default_specials" that appears on my main page and shows 9 of the last added specials... Any other thoughts? What else can I give you to help you figure out out? Thanks Robert Aartech Canada
  7. I managed to install this contribution with no errors using Winmerge.. what a lifesaver that was as I had done some fairly heavy modifications to some of the code already. Where it gets tricky is that I've installed the "default specials" contribution so that I have some specials displayed on the main index page. Big problem -- if I add a special under "dealer" pricing, it's coming up on my main page under the default specials for retail customers that aren't logged in even. I tried looking at the code but it's beyond the simple fixing I'm capable of doing. Can anyone help adapt the code to work with SPPC ? The "default specials" code is in /includes/modules/default_specials.php and it's short so I've posted the whole file that's called from within index.php. Thanks in advance for any help! <?php /* $Id: default_specials.php,v 2.0 2003/06/13 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ ?> <!-- default_specials //--> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => TABLE_HEADING_DEFAULT_SPECIALS); /* new infoBoxHeading($info_box_contents, false, false); */ ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td> <?php echo TABLE_HEADING_DEFAULT_SPECIALS . ' ' . '<a href="specials.php"> <b>[view all specials]</b></a>'; ?> </td> </tr> <tr> <td height="1" bgcolor="#000000"></td> </tr> </table> <?php $new = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price, p.products_model from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and s.status = '1' order by s.specials_date_added DESC limit " . MAX_DISPLAY_SPECIAL_PRODUCTS); $info_box_contents = array(); $row = 0; $col = 0; while ($default_specials = tep_db_fetch_array($new)) { $default_specials['products_name'] = tep_get_products_name($default_specials['products_id']); $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . 'small/' . $default_specials['products_image'], $default_specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials['products_id']) . '">' . $default_specials['products_name'] . '</a><br><s>' . 'Reg ' . $currencies->display_price($default_specials['products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . 'Sale ' . $currency . $currencies->display_price($default_specials['specials_new_products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</span>'); $col ++; if ($col > 2) { $col = 0; $row ++; } } new contentBox($info_box_contents); ?> <!-- default_specials_eof //-->
  8. On a similar note, is there some way to have the Canada Post contribution display the number of days to ship rather than an arrive date? Thanks gang!
  9. Hi all, I'm installing easypopulate 2.61 on MS2 latest CVS. I've come across two problems: 1) I can generate the .txt file in the temp directory just fine. But when I try to stream it to save it on my machine instead, I get an error: Internet Explorer cannot download p?download=stream&dltype=full from ... (secure site name replaced with ...) I noticed that I get this error when I'm logged into admin using https but not when I log in using http. I'm wondering if it has to do with the fact that my secure site is located at secure. instead of www. 2) I noticed that easypopulate seems to ignore any catalog items in the top level in the catalog (those that aren't in categories or subcategories). I normally would have all my items in categories but I was just testing things so I had only created one item and it wasn't in a category. If anyone has any thoughts on these issues I'd love to hear them! Cheers Robert
×
×
  • Create New...