Latest News: (loading..)

sunshynecraftsbeads

Members
  • Content count

    207
  • Joined

  • Last visited

3 Followers

About sunshynecraftsbeads

Profile Information

Recent Profile Visitors

9,786 profile views
  1. Omar_one Hi Omar, Thanks for the information. Sad to say that I am unable to add this to my website. I made the changes you requested and I went to review my product list to see how it looked with the out of stock products feature but all I got was a error page and none of my products were available anymore. The one thing I noticed when making the changes was the first one I changed. It was a different coding from the others. I would never assume that I know coding at all. I just noticed it was different than the others. FIND: $prod_list_contents .= ' <div class="col-xs-6 text-right">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'fa fa-shopping-cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), NULL, NULL, 'btn-success btn-sm') . '</div>'; REPLACE: if ( tep_get_products_stock($listing['products_id']) > 0 ) { $prod_list_contents .= ' <div class="col-xs-6 text-right">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), NULL, NULL, 'btn-success btn-sm') . '</div>'; } else { $prod_list_contents .= ' <div class="ribbon red"><span> '. TABLE_HEADING_OUT_OF_STOCK . '</span></div>'; } Maybe there is something wrong with my .php. I don't know. I will have to try to find it or figure it out. But I will say this will make a huge difference to a lot of us so thank you for making this a option for us. Your Awesome !
  2. @Omar_one Hi Omar, I have coped & pasted the .php as per your request. Thank you kindly for taking the time to look. <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ $listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id'); ?> <?php if ($messageStack->size('product_action') > 0) { echo $messageStack->output('product_action'); } ?> <div class="contentText"> <?php if ( ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <div class="row"> <div class="col-sm-6 pagenumber hidden-xs"> <?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?> </div> <div class="col-sm-6"> <div class="pull-right pagenav"><ul class="pagination"><?php echo $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></ul></div> <span class="pull-right"><?php echo TEXT_RESULT_PAGE; ?></span> </div> </div> <?php } if ($listing_split->number_of_rows > 0) { ?> <div class="well well-sm"> <div class="btn-group btn-group-sm pull-right"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <?php echo TEXT_SORT_BY; ?><span class="caret"></span> </button> <ul class="dropdown-menu text-left"> <?php $lc_show_model = false; $lc_show_manu = false; $lc_show_qty = false; $lc_show_lbs = false; for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { switch ($column_list[$col]) { case 'PRODUCT_LIST_MODEL': $lc_text = TABLE_HEADING_MODEL; $lc_show_model = true; break; case 'PRODUCT_LIST_NAME': $lc_text = TABLE_HEADING_PRODUCTS; break; case 'PRODUCT_LIST_MANUFACTURER': $lc_text = TABLE_HEADING_MANUFACTURER; $lc_show_manu = true; break; case 'PRODUCT_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; break; case 'PRODUCT_LIST_QUANTITY': $lc_text = TABLE_HEADING_QUANTITY; $lc_show_qty = true; break; case 'PRODUCT_LIST_WEIGHT': $lc_text = TABLE_HEADING_WEIGHT; $lc_show_lbs = true; break; case 'PRODUCT_LIST_IMAGE': $lc_text = TABLE_HEADING_IMAGE; break; case 'PRODUCT_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; break; case 'PRODUCT_LIST_ID': $lc_text = TABLE_HEADING_LATEST_ADDED; break; } if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) { $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text); echo ' <li>' . $lc_text . '</li>'; } } ?> </ul> </div> <?php if ( (defined('MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS') && MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS == 'True') && (strpos(MODULE_HEADER_TAGS_GRID_LIST_VIEW_PAGES, basename($PHP_SELF)) !== false) ) { ?> <strong><?php echo TEXT_VIEW; ?></strong> <div class="btn-group"> <a href="#" id="list" class="btn btn-default btn-sm"><span class="fa fa-th-list"></span><?php echo TEXT_VIEW_LIST; ?></a> <a href="#" id="grid" class="btn btn-default btn-sm"><span class="fa fa-th"></span><?php echo TEXT_VIEW_GRID; ?></a> </div> <?php } ?> <div class="clearfix"></div> </div> <?php $listing_query = tep_db_query($listing_split->sql_query); $prod_list_contents = NULL; while ($listing = tep_db_fetch_array($listing_query)) { $prod_list_contents .= '<div class="item list-group-item col-sm-4">'; $prod_list_contents .= ' <div class="productHolder equal-height">'; if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) { $prod_list_contents .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, NULL, NULL, 'img-responsive thumbnail group list-group-image') . '</a>'; } else { $prod_list_contents .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, (isset($sort) ? 'sort=' . $sort . '&' : '') . ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, NULL, NULL, 'img-responsive thumbnail group list-group-image') . '</a>'; } $prod_list_contents .= ' <div class="caption">'; $prod_list_contents .= ' <h2 class="group inner list-group-item-heading">'; if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) { $prod_list_contents .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>'; } else { $prod_list_contents .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>'; } $prod_list_contents .= ' </h2>'; $prod_list_contents .= ' <p class="group inner list-group-item-text">' . strip_tags($listing['products_description'], '<br>') . '&hellip;</p><div class="clearfix"></div>'; // here it goes the extras, yuck $extra_list_contents = NULL; // manufacturer if (($lc_show_manu == true) && ($listing['manufacturers_id'] != 0)) $extra_list_contents .= '<dt>' . TABLE_HEADING_MANUFACTURER . '</dt><dd><a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing['manufacturers_id']) . '">' . $listing['manufacturers_name'] . '</a></dd>'; // model if ( ($lc_show_model == true) && tep_not_null($listing['products_model'])) $extra_list_contents .= '<dt>' . TABLE_HEADING_MODEL . '</dt><dd>' . $listing['products_model'] . '</dd>'; // stock if (($lc_show_qty == true) && (tep_get_products_stock($listing['products_id'])!= 0) ) $extra_list_contents .= '<dt>' . TABLE_HEADING_QUANTITY . '</dt><dd>' . tep_get_products_stock($listing['products_id']) . '</dd>'; // weight if (($lc_show_lbs == true) && ($listing['products_weight'] != 0)) $extra_list_contents .= '<dt>' . TABLE_HEADING_WEIGHT . '</dt><dd>' . $listing['products_weight'] . '</dd>'; if (tep_not_null($extra_list_contents)) { $prod_list_contents .= ' <dl class="dl-horizontal list-group-item-text">'; $prod_list_contents .= $extra_list_contents; $prod_list_contents .= ' </dl>'; } $prod_list_contents .= ' <div class="row">'; if (tep_not_null($listing['specials_new_products_price'])) { $prod_list_contents .= ' <div class="col-xs-6"><div class="btn-group" role="group"><button type="button" class="btn btn-default"><del>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</del></span>&nbsp;&nbsp;<span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</button></div></div>'; } else { $prod_list_contents .= ' <div class="col-xs-6"><div class="btn-group" role="group"><button type="button" class="btn btn-default">' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</button></div></div>'; } $prod_list_contents .= ' <div class="col-xs-6 text-right">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'fa fa-shopping-cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), NULL, NULL, 'btn-success btn-sm') . '</div>'; $prod_list_contents .= ' </div>'; $prod_list_contents .= ' </div>'; $prod_list_contents .= ' </div>'; $prod_list_contents .= '</div>'; } echo '<div id="products" class="row list-group">' . $prod_list_contents . '</div>'; } else { ?> <div class="alert alert-info"><?php echo TEXT_NO_PRODUCTS; ?></div> <?php } if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) { ?> <div class="row"> <div class="col-sm-6 pagenumber hidden-xs"> <?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?> </div> <div class="col-sm-6"> <div class="pull-right pagenav"><ul class="pagination"><?php echo $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></ul></div> <span class="pull-right"><?php echo TEXT_RESULT_PAGE; ?></span> </div> </div> <?php } ?> </div>
  3. Out of stock Ribbon For OsCommerce 2.3.4/BS Hi Omar_one, First let me say thank you for the great addon. Been looking for something like this forever lol. I downloaded it this morning but found that it only has the picture and I can open or get the instructions on what files I need to change. I also downloadedd the origianl Special Ribbon overay but when I opened "Catalog/includes/modules/product_listing.php" to change the code I did not have the section that I am suppose to change. Did I miss something ? Thanks again for this add on. Tracie
  4. Thanks @@frankl for the feedback. New day. New Beginnings. And Fresh Eyes Re Installed and works perfectly. :thumbsup: My next task, changing the box color from orange to match my site. I'll figure it out soon enough. :D Again thank you Frank for taking the time to help me. Have a great day !
  5. Hello, Thank you Rene & Sam for providing me with information on what the problems may be. I spent a few hours on researching the standard Paypal module as well as make sure everything was set up properly with PayPal but I could not find the issue. I then uninstalled the PayPal Standard module and set up the PayPal Express Checkout module and it works like a charm. Again thank you again for taking the time to help me. It is greatly appreciated. Have a great day !
  6. Hi John, Thank you very much for this rewrite. I look forward to adding it to my store. I have come across a few error messages in my admin and I was wondering if you could help me correct the errors. I have using the 2.3.4 BS version. When I try to install the header tags I am unable to install it and the following warning messages is on the header tag page of my admin area. Warning: includes/languages/english/modules/header_tags/store_times.php): failed to open stream: No such file or directory in public_html/admin/modules.php on line 141 Warning: include(): Failed opening 'public_html/includes/languages/english/modules/header_tags/store_times.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in public_html/admin/modules.php on line 141 Fatal error: require(): Cannot redeclare class logger in public_html/admin/includes/application_top.php on line 78 Any help or input would be greatly appreciated. Thank you in advance. Cheers.
  7. Hello Everyone, I was having problems with the customers being able to make purchases from my site so I re-installed the Paypal Payments Standard 3.1 from my admin area. All information was entered correctly and I did the API Test Server Connection test and was successful. Using my test account I made a purchase. Overall everything went smoothly including making the Paypal payment however I was then returned back to the cart with the item still in the cart and there was now a error message in a big red box saying the following; Could not verify the PayPal transaction. Please try again. So from the customers point of view the purchase was never made and payment was never received. On the other hand I did receive the payment, the purchase appears in my admin area as a order received & I received notification from Paypal that I had new funds. Neither the customer nor myself received emails regarding the purchase itself. Could someone please advise what I could have done wrong or would a more current Paypal add on correct this problem ? Thank you in advance. I am currently working with 2.3.4 BS Responsive
  8. Hi Phil, Thank you for taking the time to help me. I tried making the change exactly how you told me but I ended up getting a blank page. I will need to look into this more because I can't figure it out. It worked on a previous version but since I have updated to the 2.3.4 bs much has changed. Thanks again for helping me.
  9. Hi Phil, Thanks for getting back to me. I put a space but that didn't make a difference. I have no problem making it larger but unfortunately I do not see what you are seeing (scroll bars). You asked "What is that '); in your code?" I am not sure but when I remove it I get a error message so I have left it in. The following error message; Parse error: syntax error, unexpected ''<BR><BR><P ALIGN=CENTER STYLE' (T_ENCAPSED_AND_WHITESPACE) in /home/scb2016/public_html/includes/languages/english/carousel.php on line 16 This is how I have the .php page set up. Can you tell me what I have done wrong. <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Color Carousel'); define('HEADING_TITLE', 'New color carousel Coming Soon !!'); define('TEXT_INFORMATION', '<BR><BR><P ALIGN=CENTER STYLE="margin-bottom: 0in"> <iframe title="Swarovski Create Your Style - Color Carousel" frameborder="0" src="http://www.create-your-style.com/Content.Node/Color-Carousel-External.en.php?utm_source=SNA_CA_55194&utm_medium=Widget&utm_campaign=Color-Carousel"width="642" height="1027"></iframe> '); ?> Thanks Phil. Tracie
  10. Hi world, I am trying to add a external link to my website but I am running into problems. My version 2.3.4 BS. I have created the page for this so customers can benefit from using this tool but I am obviously doing something wrong when I enter it.The instructions they provided me do not work. I have tried several ways with no luck. Here is the code they provided me that I need to enter to the page I made. <iframe title="Swarovski Create Your Style - Color Carousel" frameborder="0" src="http://www.create-your-style.com/Content.Node/Color-Carousel-External.en.php?utm_source=SNA&utm_medium=Widget&utm_campaign=Color-Carousel"width="642" height="1027"></iframe> '); When everything is said and done it should look like this link ; http://www.create-your-style.com/Content.Node/Color-Carousel-External.en.php If someone could help me that would be awesome and greatly appreciated. Thank you in advance. Tracie
  11. Thanks Steve. Your the Best !
  12. Hi Rainer, I am sorry. You are absolutely right. I had no problems installing this add on. Thank you for sharing it with us. Have a great day !
  13. Hello Rainer, Thank you so much for this add on. Just what I was looking for and needed. I was wondering if you could direct me on how I change the background color from yellow to another color? I tried changing the code (below) in the user.css but it did not change the color so I know I am doing something wrong. Suggestions would be appreciated. <div class="panel panel-info"> <div class="panel-heading"> <h3 class="panel-title">Valentine's is just around the Corner !</h3> </div> I have version 2.3.4 bs responsive. Thank you in advance. Tracie