Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


ArtcoInc last won the day on June 3

ArtcoInc had the most liked content!

Profile Information

  • Real Name

Recent Profile Visitors

19,873 profile views
  1. Dashboard Order Total Graph

    @Gadget Be aware that to change this, you're going to have to use CSS. These are defined in /admin/includes/stylesheet.css. You can add your definitions at the end of this file, but run the risk of this file being overwritten if you ever upgrade your version of osC. The other option is to create your own user.css file, and call it in /admin/includes/template_top.php, AFTER you call stylesheet.css, but template_top.php could also be overwritten if you upgrade your version of osC. Just make sure you keep good notes of what you change, and why. M
  2. Dashboard Order Total Graph

    @Gadget A quick Google search came up with a number of links explaining how to set a tooltip location. The four choices are top, left, bottom, and right. For example: https://www.w3schools.com/css/css_tooltip.asp https://docs.microsoft.com/en-us/dotnet/framework/wpf/controls/how-to-position-a-tooltip And, even though the Admin area is not currently Bootstraped, there's this too: https://www.w3schools.com/bootstrap/bootstrap_tooltip.asp Now, I am trying to understand your question. Is the cursor covering your tooltip, or is the tooltip covering something on your graph that you want to see? M
  3. @puggybelle One more consideration ... since this is a 'stock' module that comes with osC that you can install or un-unstall, it would be a good idea to copy the stock code, rename it, and edit the renamed copy. Uninstall the stock module, and install the renamed module. This way, if you ever update osC, the update may overwrite the stock code, but leave your modified code alone. M
  4. Note: I put the IF statement in the actual box code instead of the template file because ... I *ASSUMED* that you did not want the left column to show an empty column if there was stock on hand. If I put it in the template file, it would prevent the body of the message box from displaying, but it would still display the header of the box, with nothing in it. M
  5. @puggybelle (well, I did say it was untested, didn't I ) I'm sure some of the better developers will have a better idea , but let's try this ... 1) Revert the template file back to its original state (you did back it up, didn't you?) 2) In /includes/modules/boxes/bm_product_notifications.php, find: ob_start(); include('includes/modules/boxes/templates/product_notifications.php'); $data = ob_get_clean(); $oscTemplate->addBlock($data, $this->group); 3) Replace with this: if(tep_get_products_stock((int)$_GET['products_id']) <= 0) { ob_start(); include('includes/modules/boxes/templates/product_notifications.php'); $data = ob_get_clean(); $oscTemplate->addBlock($data, $this->group); } Basically, you are wrapping the entire code that displays the 'box' in the conditional IF statement, checking to see if there is any stock on hand for the product. Like I said, I'm sure that there is a better way to do this, and I can not say what problems may arise from this ... M (ducking and running)
  6. Change of background color

    @raiwa @valquiria23 Rainer, you are correct. While she could add her CSS definition at the end of this file, my concern would be that that file could be overwritten with some future update. She could add her own user.css file, and also edited /admin/includes/template_top.php to call her user.css file, but she would also have to be aware of that if files were overwritten with some future update. Six one way, half a dozen the other. M
  7. @puggybelle <sigh> Try this (untested) ... In /catalog/includes/modules/boxes/templates/product_notifications.php ... find <div class="panel panel-default"> <div class="panel-heading"> <a href="<?php echo tep_href_link('account_notifications.php', '', 'SSL'); ?>"> <?php echo MODULE_BOXES_PRODUCT_NOTIFICATIONS_BOX_TITLE; ?> </a> </div> <div class="panel-body"> <?php echo $notif_contents; ?> </div> </div> (reformatted for clarity) and replace with this; <?php if($product_info['products_quantity'] <= 0) { ?> <div class="panel panel-default"> <div class="panel-heading"> <a href="<?php echo tep_href_link('account_notifications.php', '', 'SSL'); ?>"> <?php echo MODULE_BOXES_PRODUCT_NOTIFICATIONS_BOX_TITLE; ?> </a> </div> <div class="panel-body"> <?php echo $notif_contents; ?> </div> </div> <?php } ?> All I did was wrap the entire thing in an IF statement ... HTH M
  8. Change of background color

    @valquiria23 I just looked. The /admin/includes/template_top.php file does NOT call user.css. I suppose you could create a user.css file in your Admin directory, and add a call to it in /admin/includes/template_top.php. Then again, why the concern over the appearance in the Admin side? M
  9. Change of background color

    @valquiria23 It's defined in CSS. I don't know if the admin side of the store has it's own CSS file. Anyway, the CSS definition currently is: .dataTableRowSelected { background-color: #DEE4E8; } HTH M
  10. @puggybelle Remember when we changed the 'Buy it Now' when there was no inventory? Let's see if you can do the same thing with the Product Notification box. Here's a hint: /catalog/includes/modules/boxes/templates/product_notifications.php Give it a go ... and let me/us know if you get stuck ... M
  11. Installing Mistake

    @newoldbie When you first install osC, it asks what directory you want to install the Admin files. To change the name of the directory after-the-fact will result in problems, as you have found out. Your installation now expects the Admin directory to be named 'Admin'. You're going to have to edit the file /catalog/<Your Admin Directory>/includes/configure.php and change all of the references from Admin to your renamed directory. M
  12. Free shipping with other options

    @sinopia A stock 2.3.4 shop will have issues with PHP 7. To try and make your old store work under PHP 7 will take a lot of work, and will result in a FrankenShop fork that no-one else will be able to support. Your choices are: 1) Spend a lot of time and effort to make your shop run under PHP 7 (not recommended), or ... 2) Ask your host to roll PHP back to 5.x (a temporary fix, while you ...) 3) Upgrade your shop to the latest Community build of osC (link in my signature below). M
  13. @puggybelle This the Product Notification BOX that displays in either the Left or Right column in your shop, right? M
  14. Installing Mistake

    @newoldbie If I may ask, what files did you rename? M
  15. @puggybelle Is this the out-of-the-box Products Notifications? Or, is this an add-on you installed (and, if so, which one?)? M