Jump to content
Latest News: (loading..)

thadson

Members
  • Content count

    42
  • Joined

  • Last visited

Profile Information

  • Real Name
    Attila Toth
  1. Which file controls showing products

    Thank you, I will check for "split", however, I'm really just a beginner when it comes to PHP, so could you list some more old stuff I should look for, and what to change them to? (if you have time of course :-) ) Searching for "migration to PHP 7" on oscommerce forum brings up only the Bootstrap 3 in 2.3.4 - Responsive from the Get Go page, and at first glance, that is not the thread i would look for. Maybe this "listing obsolete calls and what to change them to for migrating to PHP 7" for old add-ons would deserve it's own topic? People could add their own stuff to it when things come up... I would appreciate any more suggestions. Thank you again.
  2. Which file controls showing products

    Thank you. This worked. I have found another one in advanced_search_result.php fixed that too. Now page shows the items properly.
  3. Which file controls showing products

    this is the error in the log: [18-Apr-2018 12:12:31 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function ereg() in /home/erikoart/public_html/collectingbay.com/index.php:95 Stack trace: #0 {main} thrown in /home/.../collectingbay.com/index.php on line 95 here are the lines around 95 in index: // find out if sorting by price has been requested if ( (isset($_GET['sort'])) && (ereg('[1-8][ad]', $_GET['sort'])) && (substr($_GET['sort'], 0, 1) <= sizeof($column_list)) && $customer_group_id != '0' ){ $_sort_col = substr($_GET['sort'], 0 , 1); if ($column_list[$_sort_col-1] == 'PRODUCT_LIST_PRICE') { $status_need_to_get_prices = true; } } where the line starting with if is line 95
  4. Which file controls showing products

    How do I do that? Configuration -> My Store -> Use Search-Engine Safe URLs has no effect.
  5. Which file controls showing products

    Thank you for all pitching in, I appreciate it. This s definitely an edge, not gold. I paid a developer to add SPPC (https://apps.oscommerce.com/fgHfe&separate-pricing-per-customer) add-on, since it is not PHP 7 compatible, as is. I verified that the error does not exist on the site before the changes, only after SPPC was installed. The problem is, there are a lot of files in that add-on, and this is why I asked which file could control that part of the website, so I could narrow down where to look for the problem.
  6. Which file controls showing products

    Please see http://www.collectingbay.com/index.php/cPath/21_31/sort/1a/page/2
  7. Which file controls showing products

    2.3.4 bootstrap edge
  8. Hi all, Can anyone let me know which file controls showing the 2nd page of the products in any category? My issue is that if I have more than 20 items in any category (ie: at /index.php/cPath/21_23), when I click on the 2nd page button at the bottom (image 1 attached), the 2nd page comes up empty (at index.php/cPath/21_23/sort/1a/page/2) (image 2 attached). Please see attached images. When I look at page source, the second page stops at lines <div class="body-sans-header clearfix"> <div id="bodyContent" class="col-md-8 col-md-push-2"> about line 85-88 everything above this is identical on both pages, but the 2nd page is missing everything underneath it.
  9. Nivo Slider Content Module (Bootstrap)

    Hi Ce7, I'm not an expert by any means. so please take my advice with a grain of salt. I believe (and in my experience), after you have installed the slider module, you next have to set up your banners in the Tools -> Banner Manager section. I have included an image with a short explanation. After you have set up your banners, you go back to the slider manager in either Tools or Catalog and set up the slider for the footer or header (or any other part of your site) using the appropriately named directory as the source of the slider banner images, ie: footerslider Please anyone, jump in and correct me, if I'm wrong. Thanks.
  10. Separate Pricing Per Customer for Edge

    thank you I appriciate your help
  11. SPPC - for 2.3.4

    Hello, I have been using the original SPPC add on for a long time in my shopping cart, However, now that I'm trying to move to Bootstrap Edge, It seems really difficult to implement it, since I don't want to lose my original shopping cart data. The latest version I could find is the BOOTSTRAP - SPPC 2.3.4 BS GOLD - v1.1b (not for edge) and I have run into some problems with the implementation. I can see how reset($this->contents); while (list($products_id, ) = each($this->contents)) { become foreach(array_keys($this->contents) as $products_id) { So I left those alone. However how to implement this (I assume) older code reset($this->contents[$products_id]['attributes']); $where = " AND (("; while (list($option, $value) = each($this->contents[$products_id]['attributes'])) { $where .= "options_id = '" . (int)$option . "' AND options_values_id = '" . (int)$value . "') OR ("; } $where=substr($where, 0, -5) . ')'; $attribute_price_query = tep_db_query("SELECT products_attributes_id, options_values_price, price_prefix FROM " . TABLE_PRODUCTS_ATTRIBUTES . " WHERE products_id = '" . (int)$products_id . "'" . $where .""); into this: foreach($this->contents[$products_id]['attributes'] as $option => $value) { $attribute_price_query = tep_db_query("select options_values_price, price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$prid . "' and options_id = '" . (int)$option . "' and options_values_id = '" . (int)$value . "'"); with those extra $where = statements baffle me. Can someone help please. Thank you, Thadson
  12. Separate Pricing Per Customer for Edge

    I guess, I have over explained myself. I'm sorry. Above quote was the main question. sorry again. Also thank you for pointing out the link for the other addon.
  13. Separate Pricing Per Customer for Edge

    Hello Raiwa, I have been using the original SPPC add on for a long time in my shopping cart, However, now that I'm trying to move to Bootstrap Edge, It seems really difficult to implement it, since I don't want to lose my original shopping cart data. Unfortunately the only version I can find is the BOOTSTRAP - SPPC 2.3.4 BS GOLD - v1.1b and I have run into some problems with the implementation. Would I be able to have my original (non bootstrap) data functioning with Wholesale (SPPC lite)? I can see how reset($this->contents); while (list($products_id, ) = each($this->contents)) { become foreach(array_keys($this->contents) as $products_id) { So I left those alone. However how to implement this older code reset($this->contents[$products_id]['attributes']); $where = " AND (("; while (list($option, $value) = each($this->contents[$products_id]['attributes'])) { $where .= "options_id = '" . (int)$option . "' AND options_values_id = '" . (int)$value . "') OR ("; } $where=substr($where, 0, -5) . ')'; $attribute_price_query = tep_db_query("SELECT products_attributes_id, options_values_price, price_prefix FROM " . TABLE_PRODUCTS_ATTRIBUTES . " WHERE products_id = '" . (int)$products_id . "'" . $where .""); into this: foreach($this->contents[$products_id]['attributes'] as $option => $value) { $attribute_price_query = tep_db_query("select options_values_price, price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$prid . "' and options_id = '" . (int)$option . "' and options_values_id = '" . (int)$value . "'"); with those extra $where = statements baffle me. Can you help please. Thank you, Thadson
×