Jump to content
Latest News: (loading..)

Dennisra

Members
  • Content count

    521
  • Joined

  • Last visited

  • Days Won

    1

Dennisra last won the day on October 11 2009

Dennisra had the most liked content!

4 Followers

About Dennisra

  • Birthday 02/09/1944

Profile Information

  • Real Name
    Dennis Abel
  • Gender
    Male
  1. Ebay manager

    I get it now. Thank you! Thanks also for your patience.
  2. Ebay manager

    Okay, thank you very much. I believe I am beginning to understand. I do not see an option to add a second image however. How is adding a second image done? I have this on the listing page: Products Image: Main Image (200 x 160px) 1900/1908-13-5.jpg | There is not link or text space to add another image. So I do not know how to do it. I am using Chrome.
  3. Ebay manager

    I tried a huge image 1100x1150 pixels. Same error. What to do?
  4. Ebay manager

    But I only use small photos. Not much bigger than a postage stamp because that is what the photos are a picture of, a stamp. Can I change the requirement in some way?
  5. Add Specials to main page (index.php)

    I just installed this (update) and it works great!! I had to put the css code at the top of the file user.css to get it to work in Chrome but other than that no problem. Looks good in Firefox, IE and Chrome. Nice addition. Thank you very much!! Dennis
  6. Ebay manager

    There is one photo listed but this error shows up. What am I doing wrong? Oops Ebay returned the following errors: 21919136 : Add at least 1 photo. More photos are better! Show off your item from every angle and zoom in on details. Add at least 1 photo. More photos are better! Show off your item from every angle and zoom in on details.
  7. Add Specials to main page (index.php)

    This is really a good add-on. If you have specials a must have: https://apps.oscommerce.com/JNkw9
  8. Add Specials to main page (index.php)

    YOmar: Yes, it was still there. I removed it and all is well. Thank you very much. I appreciate your help! Dennis
  9. Add Specials to main page (index.php)

    Excellent Omar_one. It works like a charm!! One question: Should there be a file "specials.php in //includes/modules as I get this error on each category display page: Warning: include(includes/modules/specials.php): failed to open stream: No such file or directory in /usr/local/www/index.php on line 214Warning: include(): Failed opening 'includes/modules/specials.php' for inclusion (include_path='.:/usr/local/share/pear') in /usr/local/www/index.php on line 214 Thank you again!
  10. Add Specials to main page (index.php)

    No error. Just no content on index page. New about July 2016.
  11. Add Specials to main page (index.php)

    I found this. Tried for a couple hours but it does not work for me. Any tips that might help. Posted September 2, 2014 by GLWalker Here's a super easy special module that follows the same layout as the new products module. Im going to post the code here and let you put it together! It is so similar to the new products module, some may swear I just copied it and just changes 3 things! Maybe I did, maybe I didn't, maybe I used copy and paste, maybe I typed it all out. You will NEVER know. Step 1) Navigate to your catalog/includes/modules/ directory. Create a new .php file and name it specials.php Step 2) Open the new file and paste this inside: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $special_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, products_price, if(s.status, s.specials_new_products_price, p.products_price) as products_special_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } else { $special_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, products_price, if(s.status, s.specials_new_products_price, p.products_price) as products_special_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } $num_special_products = tep_db_num_rows($special_products_query); if ($num_special_products > 0) { $special_prods_content = NULL; while ($special_products = tep_db_fetch_array($special_products_query)) { $special_prods_content .= '<div class="col-sm-6 col-md-4">'; $special_prods_content .= ' <div class="thumbnail">'; $special_prods_content .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $special_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $special_products['products_image'], $special_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; $special_prods_content .= ' <div class="caption">'; $special_prods_content .= ' <p class="text-center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $special_products['products_id']) . '">' . $special_products['products_name'] . '</a></p>'; $special_prods_content .= ' <hr>'; $special_prods_content .= ' <p class="text-center text-danger"><del class="text-muted">' . $currencies->display_price($special_products['products_price'], tep_get_tax_rate($special_products['products_tax_class_id'])) . '</del><br>' . $currencies->display_price($special_products['products_special_price'], tep_get_tax_rate($special_products['products_tax_class_id'])) . '</p>'; $special_prods_content .= ' <div class="text-center">'; $special_prods_content .= ' <div class="btn-group">'; $special_prods_content .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'products_id=' . $special_products['products_id']) . '" class="btn btn-default" role="button">' . SMALL_IMAGE_BUTTON_VIEW . '</a>'; $special_prods_content .= ' <a href="' . tep_href_link($PHP_SELF, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $special_products['products_id']) . '" class="btn btn-success" role="button">' . SMALL_IMAGE_BUTTON_BUY . '</a>'; $special_prods_content .= ' </div>'; $special_prods_content .= ' </div>'; $special_prods_content .= ' </div>'; $special_prods_content .= ' </div>'; $special_prods_content .= '</div>'; } ?> <h3><?php echo sprintf(TABLE_HEADING_SPECIAL_PRODUCTS, strftime('%B')); ?></h3> <div class="row"> <?php echo $special_prods_content; ?> </div> <?php } ?> Step 3) Open catalog/index.php Find in 2 areas: <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> Depending what order you want to show the specials paste this in before or after the above: <?php include(DIR_WS_MODULES . 'specials.php'); ?> Step 4) Open catalog/includes/languages/* / index.php Add this line where ever you feel like: define('TABLE_HEADING_SPECIAL_PRODUCTS', '%s Specials!'); Done! Usage: If you want to limit the products that show, inside includes/modules/specials.php change MAX_DISPLAY_NEW_PRODUCTS to any number desired.
  12. I would like to display the store specials on the center column of the main page much like the new products are. Can anyone suggest a simply or the best add-on to accomplish this. I have looked but none of the add-ons seem to fit the bill. I may be missing something however. Thank you for your help. osCommerce Online Merchant v2.3.4 Responsive PHP version: 5.6.31 (Zend: 2.6.0) MySQL 5.6.37-log
  13. Search redirect to home page

    I reset settings in Chrome per wHiTeHaT and it works correctly now. Many thanks!
  14. Search redirect to home page

    Private message sent to: wHiTeHaT
  15. Search redirect to home page

    Apparently the answer given is not the correct solution to this problem. So what is correct? I have the same problem.
×