Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wheeloftime

Archived
  • Posts

    2,307
  • Joined

  • Last visited

Everything posted by wheeloftime

  1. The discount module only puts forward the total. If your payment module takes the individual products and forwards these then this sensitive discount module will not work. The only option would be to discount on individual products or have a discount coupon product.
  2. This one should work as propagated. As it is a total order module it will only display at the last page of your checkout and the final total there should be the one going to your payment processor/order.
  3. It looks like the problem is that you have not set the return URL correctly in your Paypal profile. I doubt that your domain is called www.paypal.com and as you see the checkout_process.php is appended to that domain. You shoud give the full path to your checkout_process.php like ie. https://www.yourdomain.com/checkout_process.php or, if you have installed into the default osC subdir, https://www.yourdomain.com/catalog/checkout_process.php (leave the s from https of if you do not have SSL on your checkout pages).
  4. There were many updates after the initial release. Better check for the latest one which applies for your shop first and see if that cures the problem.
  5. Which version of estimated shipping are you running and which php and mysql ? It does seem to happen on a few boxes but I can not replicate it on mine.
  6. search and thou shall find (when lucky) :rolleyes:
  7. Several... But I have no idea which one is good.
  8. Yes. You will have to go through the (catalog)/index.php and change the way the next code part is done: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <?php // optional Product List Filter if (PRODUCT_LIST_FILTER > 0) { if (isset($HTTP_GET_VARS['manufacturers_id'])) { $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name"; } else { $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name"; } $filterlist_query = tep_db_query($filterlist_sql); if (tep_db_num_rows($filterlist_query) > 1) { echo ' <td align="center" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . TEXT_SHOW . ' '; if (isset($HTTP_GET_VARS['manufacturers_id'])) { echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']); $options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)); } else { echo tep_draw_hidden_field('cPath', $cPath); $options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)); } echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']); while ($filterlist = tep_db_fetch_array($filterlist_query)) { $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']); } echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '</form></td>' . "\n"; } } // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
  9. That language define you will find inside (catalog)/includes/languages/english/index.php with the section
  10. It only shows a customers personal account. It is not that I could see yours after I signed up.
  11. Check your Paypal account if you haven't activated their shipping module by accident (Profile - Shipping Calculations).
  12. There are several Contact Us page enhancement contributions which you can have a look at if you haven't already. I believe however there is none amongst them which writes data to the database so that feature you would have to build extra yourself. Exporting in Excel format you can always do through your phpMyAdmin export for specific tables also.
  13. Take a look at this one or do a little more searching within the contributions section (don't know if there are more like this). Otherwise you are stuck to manually change things indeed. HTH
  14. Look for an image contribution which uses diffferent pictures for the thumb and enlarged picture. That way you can differentiate between the partly one and the full one.
  15. Hi Laura, Check here and do some reading on the forums of what might be most appropriate for you. I am not from the UK and can not say which one would be best. Most contributions have an installation instruction with them which you should follow. Not easy in the beginning but if you make sure you backup a file before going to change it you will always have an original to fall back on when it goes wrong. HTH
  16. Searching for the bugging tep_array_reverse() I found an entry telling: change tep_array_reverse into array_reverse Appearantly the contribution has been initially written for an osCommerce version from the time before times and later the tep variant of array_reverse has been dumped and replaced by the original PHP function. As nobody deleted FAQ very much the 'bug' survived :D I can't comment on the rest as I do not know the contribution. There are some serious updates to this contribution so maybe you should take a look at these to see if they resolve this kind of problems (but maybe you did that already a looong time ago....) HTH
  17. Take a look at your (catalog)/includes/header.php file and see how the default picture is implemented. From there it shouldn't be very difficult to achieve what you want assuming you have some understanding of HTML.
  18. In your (catalog)/product_info.php you could change: <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> to <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), '', '', 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], '', '', 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> With the default positioning it won't look to good I suppose but it will show the full picture.
  19. Check the files underneath your directory (catalog)/includes/languages/english/modules/ (I am assuming the english language here)
  20. Try the zones module but adjust it first for use with the amount of zones you will need. For more specifics read the header of this module ((catalog)/includes/modules/shipping/zones.php) which is also the place to adjust the amount of zones needed. Install the module through the admin AFTER you adjusted the zones amount or you will have to remove it first and install it right after again to have the changes displayed correctly.
  21. It looks like you have another shipping module installed which also uses a class called ups. Can you tell which ones you have installed and/or in your (catalog)/includes/modules/shipping/ directory ?
  22. It is not an error in the contrib but something you have to change in your files if you do not use the latest MS2 release from the download section. The update document within the latest download package tells to: ------------------------------------------------------------------------------ limit -20, 20 http://www.oscommerce.com/community/bugs,1605 ------------------------------------------------------------------------------ Problem: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1 Solution: Line 67 in catalog/includes/classes/split_page_results.php must be changed from: $this->sql_query .= " limit " . $offset . ", " . $this->number_of_rows_per_page; to: $this->sql_query .= " limit " . max($offset, 0) . ", " . $this->number_of_rows_per_page; Line 38 in catalog/admin/includes/classes/split_page_results.php must be changed from: $sql_query .= " limit " . $offset . ", " . $max_rows_per_page; to: $sql_query .= " limit " . max($offset, 0) . ", " . $max_rows_per_page;
×
×
  • Create New...