Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mattjt83

♥Ambassador
  • Posts

    557
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by mattjt83

  1. I had a quick look at that addon and there isn't anything in it that allows you to customize the image shown. You may be able to grab some custom code from the addthis website but I'm not sure since I don't use it.
  2. If you can post the code for the addon and also which addon you are referring to someone can probably give you a little better guidance as to what needs to be changed.
  3. Typo in includes/modules/header_tags/customer_service/modules/bstour/dashboard.js { element: ".tour-step.dashboard-outro", orphan: true, backdrop: true, title: "Dashboard Complete!", content: "Congratulations! You finished the dashboard tour. Perform any action to take another tour and learn about it. When you complete all the tours, ask an adminstrtor to switch it off for your account." } Should be { element: ".tour-step.dashboard-outro", orphan: true, backdrop: true, title: "Dashboard Complete!", content: "Congratulations! You finished the dashboard tour. Perform any action to take another tour and learn about it. When you complete all the tours, ask an administrator to switch it off for your account." }
  4. Found a typo in includes/modules/header_tags/customer_service/template_top.php <div class="alert-message alert-message-succss"> Assuming it should be <div class="alert-message alert-message-success">
  5. Just noting a couple of errors... in #scModal <input type="email" name="user_email" required aria-required="true" placeholder="Search..." class="form-control" class="form-control"/> In #osModal <input type="text" name="oID" required aria-required="true" placeholder="Search..." class="form-control" class="form-control"/> in #csModal <input type="text" name="search" required aria-required="true" placeholder="Search..." class="form-control" class="form-control"/> All pages are missing (includes/modules/header_tags/customer_service/template_top.php) <!DOCTYPE html>
  6. @GLWalker Is there a way to edit existing orders? I'm giving this a spin but I didn't see that option.
  7. Can't load the two new topics Harald posted. Are they not publicly available?

  8. @burt I thought you had also partially merged into the Matrix? :)
  9. I've been working on this for a while now but real life has been getting in the way. The difference with mine is just that you don't have to create an account first. Yes, eventually the person will have to enter the data regardless but it's how they perceive the task that matters. I think it's very important to understand your customers and design your site/checkout experience around that. If most of your customers are one-off sort of things than a guest checkout can make a lot of sense.
  10. Here's a good article: https://www.smashingmagazine.com/2017/05/better-form-design-one-thing-per-page/ I might actually rework my checkout with this in mind.
  11. I had a one page checkout on my site and it led to all sorts of issues. It was inherently glitchy and confused customers. After that I decided to code and sell Better Checkout. I still use it on my site but I do not sell it anymore because I don't like all the changes required to make payment modules work properly. Basically, your customers can checkout with or without an account and it's seamless. It splits the checkout up into manageable chunks for customers and is easier to maintain code-wise. You are welcome to check it out on my site and see what you think maybe just to get some ideas. Mine is highly customized. The more that I read on the topic it seems that people in general do better with small simple checkout pages and don't mind having to complete 3 or 4 SIMPLE steps (pages).
  12. I believe if you are using the PayPal App and are up to date with it you should be fine.
  13. @@Dan Cole I kind of felt like this was a separate module than the standard dashboard modules which is why I separated it out from them in the hook. I think I'll add it to my live site and see how I like it :)
  14. @@Dan Cole On a standard setup you can't get the icon modules to be in a nice little row like in the screenshots. I decided to code up a hook and display the iBar modules on their own at the top of the page instead of altering my index page to accommodate them. on admin/index.php under this: $adm_array = explode(';', MODULE_ADMIN_DASHBOARD_INSTALLED); I added this: //BOF iBar echo $OSCOM_Hooks->call('index', 'indexiBarOutput'); //EOF iBar Then I created a hook file catalog/includes/hooks/admin/index/iBar.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2017 osCommerce Released under the GNU General Public License */ class hook_admin_index_iBar { function listen_indexiBarOutput() { global $adm_array, $language; if ( is_array( $adm_array ) && sizeof( $adm_array ) > 0 ){ $iBar_array = array(); $new_adm_array = array(); foreach ( $adm_array as $key => $value ){ if ( strpos( $value, 'iBar' ) !== false ) { $iBar_array[] = $value; }else{ $new_adm_array[] = $value; } }//eof foreach //set new $adm_array without iBar modules included if ( sizeof( $new_adm_array ) > 0 ){ $adm_array = $new_adm_array; } //build iBar modules output here if ( sizeof( $iBar_array ) > 0 ){ $iBar_output = '<!-- BOF iBar additions --> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> <link rel="stylesheet" type="text/css" href="includes/iBar.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- EOF iBar additions -->'; $iBar_output .= '<tr><td colspan="2"><div class="row">'; for ( $i=0, $n=sizeof($iBar_array); $i<$n; $i++ ) { $adm = $iBar_array[$i]; $class = substr($adm, 0, strrpos($adm, '.')); if ( !class_exists($class) ) { include(DIR_WS_LANGUAGES . $language . '/modules/dashboard/' . $adm); include(DIR_WS_MODULES . 'dashboard/' . $class . '.php'); } $ad = new $class(); if ( $ad->isEnabled() ) { $iBar_output .= $ad->getOutput(); } } $iBar_output .= '</td></tr></div>'; } return $iBar_output; } } } ?> Also don't forget to call the index page hooks with this before the output of the hook: $OSCOM_Hooks->register('index');
  15. In general I like the look and idea of this addon. I'm not sure how I feel about how it looks on my setup since I did not alter my admin/index.php page besides to add the css/js code required. Also, I wondered if you meant for us to install all of the modules or were some of them optional? The reason being is that some of the modules have links in them which point to nothing if you don't install some of the table modules.
  16. @@Dan Cole The problem was that the constant was not defined. You might have MODULE_ADMIN_DASHBOARD_IBAR_ORDER_STATUS_TABLE_MAXIMUM defined somewhere else in your code and/or database though so it wasn't failing for you. Maybe it's used by one of the other modules in the iBar set? When you install this module from scratch though you add MODULE_ADMIN_DASHBOARD_IBAR_CUSTOMER_TABLE_MAXIMUM for that particular module and that's what the sql query needs to function properly.
  17. @@Dan Cole Hi Dan, Gave this a shot today to check it out. I found an error in d_iBar_customer_table.php that causes a mySQL error. This: $customers_query = tep_db_query("select c.customers_id, c.customers_lastname, c.customers_firstname, ci.customers_info_date_account_created from " . TABLE_CUSTOMERS . " c, " . TABLE_CUSTOMERS_INFO . " ci where c.customers_id = ci.customers_info_id order by ci.customers_info_date_account_created desc limit " . MODULE_ADMIN_DASHBOARD_IBAR_ORDER_STATUS_TABLE_MAXIMUM . ""); Needs to be: $customers_query = tep_db_query("select c.customers_id, c.customers_lastname, c.customers_firstname, ci.customers_info_date_account_created from " . TABLE_CUSTOMERS . " c, " . TABLE_CUSTOMERS_INFO . " ci where c.customers_id = ci.customers_info_id order by ci.customers_info_date_account_created desc limit " . MODULE_ADMIN_DASHBOARD_IBAR_CUSTOMER_TABLE_MAXIMUM);
  18. Nice site for UX ideas. Also add something to your bag and then click the bag icon (top right) to see an interesting way of starting a checkout. https://ayr.com/shop/new-arrivals

  19. @@burt I can confirm @@greasemonkey last post. I had the same issue as he did with the defines but thought I missed something somewhere and simply fixed it myself.
  20. That is just the default behavior for PP standard. As soon as you go from checkout_payment to checkout_confirmation the order is entered into the database. Just make sure you don't process it until you are sure they have completed their order. Usually it will be updated to a completed status when they return to your site or via the standard_ipn file.
  21. Excited to see Gary's 365 days of code site, this time with two new modules every day!

    1. Show previous comments  1 more
    2. bruyndoncx

      bruyndoncx

      yes, we just got the opportunity to put together the shortlist by friday :D

    3. mattjt83

      mattjt83

      lol we love you Gary! Keep up the good work dude :)

    4. altoid

      altoid

      You'll look back on this with fond memories someday

×
×
  • Create New...