Jump to content

GLWalker

♥Ambassador
  • Content count

    842
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by GLWalker

  1. @ The Scaffolding.less.css is because of css source maps - https://developer.chrome.com/devtools/docs/css-preprocessors for a brief on it. Loading all css in one file is also not recommended. While lots of information out there talks of minimizing and combining stylesheets, it only is helpful up to a certain size. Once your file gets too large, then load time becomes longer. Loading separate stylesheets offsets the load.
  2. Unfortunately a lot of new users wont ever see the trees for the forest. As we all know, the software can look like anything you can imagine, but too often users do not see that. Demo products are risky - there are all kinds of rights involved in their usage. An individual setting up a demo probably has no problems getting away with placing whatever products and images up, but an official repository would have photography usage issues among others.
  3. Recently Ive been developing a very large addon for store owners to allow their employess to use without having to give them access to the store admin. A employee may view and process orders, email customers, create customer accounts, edit ordrs, and take orders over the phone using its own built in checkout process. Orders can be made for existing customers or strictly guest. Anyhow, while using the mod, it dawned on me that I had esencially created a method of making guest orders for customers that call in and do not want an account. Any order took this way goes into a customer account that is stricly owned by the store, and the address books can be set to a higher number than the regular customer accounts. So I was wondering, with the couple of guest checkouts available, - 1 deletes customer info after checkout, the other flags it as guest and allows the guest to become customer later. I think for guest you should not keep account data if you tell them they are a guest! Why not create a simple flow for guest that is very unintrusive to the core code by: 1) Have a select guest option - when initiated a session is set, lets call it guest_order. If guest_order is set, then the customer_id is the same as the stores customer account. 2) After setting the session, the guest is then directed to the store's customer accounts address book process where they enter their address, with the session set there will also be two more fields in the address book, phone and email. 3) After filling out complete address info, then two more sessions are set for phone and email, they would work very much like the comments session. 4) Customer goes throught the checkout and when checkout_process is initiated it takes the session info for phone and email and inserts it rather than the stores defualt info. Then it clears the phone and email session. - Probably delete any address book entries made as well. But thats another area that would be handled by session assignment as well. 5) On checkout success guest_order session is cleared, order is done, customer can move on. All the while the guest_order session is set certian things need to be disabled, such as access to account areas. Most of this could all be done using a header tag module. The checkout process would need some editing to tell it if guest_phone/guest_email exist then insert this else default. Unless it is possible to override it with a header tag module - but I dont think so. Overall a lot less code changes, no database changes, and orders page would have all the info needed for contacting customer. So far as I can figure in this scenario, - only 2 to 4 core files to change. Or 1 file, checkout_process, and then add new files for the address book/checkout new address selections. Thoughts?
  4. Disadvantaged children need your help to buy video game systems and other items of no real value. DONATE NOW

    1. MrPhil

      MrPhil

      OK, I have some disadvantaged children. Where should I mail them?

  5. You know, in admin we have the define_language tool, works well for those who may not have external editing tools. I was wondering if such a beast could be made for editing template files! Ive viewed over things but cant get my head around how to pick only the template files in each content directory. Just thinking out loud.
  6. @@burt Yesterdays proposal pushed for you to view. As for closing the 2 above issues, that should be fine untill further modularization happens, though they are probably 2 of the most editied parts of the site and adding them to template files would defienetly be the way to go.
  7. @@joli1811 my bad, eyes are letting me down today However, Im not getting that error testing the same page on mine. I do not show rating as the last line tested, my ends at count. Did you redo the language file?
  8. Ok - I found the closing tag in footer shortly after I posted - :~ Actually, with the inclusion of dynamic header and footer content, we do not even need to include the header and footer at all anymore. I dont know if that would be confusing to anyone used to the header and footer, but from here on when I build a new site with this build, I will make the complete header inside a header_content_module template file. For those that may be intimadatted by coding module content, it really does not have to be complicated, a very simple cm_header_module.php file needs nothing more than the standard markup and a call to include the template file, then the template file can be coded just like the standard headers we are accustomed to. For an example, look at includes/modules/checkout_success/cm_cs_downloads.php <-- thats about as simple a method your going to find, no need to include a bunch of global variables. You could create all the differnt headers you like and switch them out on the fly, or even per category or page load. This software just keeps getting more and more dynamic with minimal changes!
  9. @@burt inside header.php - What is the div with class of body-sans-header? I dont think it has a closing tag. Maybe I'm over looking it, but would think the closing would be located in template_bottom. If its there to keep seperation between header, content and footer - thats great - something needed for design. If it is a mistake, please keep it for the before mentioned.
  10. I have applied the product_reviews updates, as well as the bugfix for the product_review content module. When testing everything looks as expected. Ive tested all the markup for product info and reviews and everything is good on my end. I think thats all the markup needed ~ I mean it can be took further using the itemList property and applying to the product listings, and even review listings page - but I dont know if its all that. Ive had thoses areas marked up for almost 2 years on a site with no significant difference in the SERP's. The only differences seem to come from the product_info page itself.
  11. Havent had much time in the playground lately. These time outs get longer and longer.

    1. joli1811

      joli1811

      Got my Christmas present early this year so gong to play later :)

    2. Mort-lemur

      Mort-lemur

      @joli1811 - Gongs are always useful xmas gifts..... :)

  12. GLWalker

    Purchase Without an Account?

    I should have known, you cannot use 0 as first character in a column that is INT - it just strips to the next whole number on insert - however - INT does allow - so the random customer_id is set to start with - followed by a few randomly generated and shuffled numbers. Looking in the database table it makes it very easy to see which are quest orders as the - is very easy to spot at a glance - and I like how it represents negative in the case of a non account holding customer. I did not realize that mySQL has built in regex checking, so it was very simple to create a search query using REGEXP to find the customer_id starting with a - . https://dev.mysql.com/doc/refman/5.1/en/regexp.html#operator_regexp http://www.guru99.com/regular-expressions.html all these hidden gems
  13. GLWalker

    Purchase Without an Account?

    @@burt Ah yes, I remeber seeing your screenshot or video for that a few months ago :thumbsup: @@wHiTeHaT I have confimed a random generated customer_id will work with multiple "guest checkouts if we set the id VIA session key to bypass any create account functions we can go to the address_book, dynamically add a session based email and phone number, then collect the standard address info - BAM! order complete, all info recorded, email updates can be sent out. So this bypasses any script that would want to update customer, customer_info tables, and prevents an anwanted welcome email, yet still allows for an order success email. I did 2 orders at the same time simutaniously running open windows of the same browser - no conflicts, 1 a COD order, the other using Stripes test CC numbbers which had to create a connection to process I set the random IDs to begin with 00, this way I think I can set up a search function to lookup only the guest orders using a match first two as 00 - as a real customer will never have an id that starts with 00. But thats not on a default install, but Im sure a little tweaking can get it there. Maybe next year it will see the light of day. If done correctly, it should port over to the next version with little adjustment :-
  14. GLWalker

    Purchase Without an Account?

    Yes, you brought up a lot I overlooked on a regular customer account. For what I am building it is no problem becuase the files are all controlled within their own private area and I can bypass the update to customer info if it is a guest. Still though, it makes me think about better ways to achieve a guest checkout - making a temporary account is good, but Im looking into how to do it without hacking the core :)
  15. GLWalker

    Purchase Without an Account?

    Both being on account at same time is possible, - but you did remind me of a very important aspect I overlooked - the shopping cart. Perhaps a customer_id could just be randomly generated and set by session. As for the customer data it is all stored in the orders table so the customer is still notified VIA any admin order updates. And of course a token for checking updates would work well. Overall - trying to put the concept of very little to no core updates into the process. Can it be done? I think so. But now I must recode my addon to try using a random ID in case 2 or more employess are taking strictly "guest" orders at the same time. +1
  16. @@burt I'll be testing out new changes soon, then provide feedback. I do agree the product listings need a tune up and strip down, it was nice at the time, but looking back, just too much extra that can already be achieved using bootstrap default classes. I have some markup that can help with a shopowners preferance on default view as well, but will first test with new setup.
  17. Cant find my hat!

    1. Tsimi
    2. GLWalker

      GLWalker

      +1 Good deal T - and looks like its spandex so it stretch's to accommodate.

    3. altoid

      altoid

      Very, very dapper

  18. @@acidvertigo Somewhat - I haven't given up on it, but life called and said I need to go to work. I hope to move on with the file changes in the next couple of weeks. I think it is close to the point where many of the files will have similar enough changes to run with it.
  19. Amazing, 55 pages in this thread, and most all of it is about BS.
  20. Ive been looking at this. @@Tsimi I downloaded your package, I like the screenshots showing how it looks. I only browsed the code and my initial thoughts were it could get better and be less intrusive. My thoughts : Most of the code that pulls the logic should be able to move into a header tag module -OR- All the code could be put into a content module and then place the markup to grab it in the shopping cart file. There's no need to show order totals, just shipping quotes. These type of things have to be as simple as possible, not necessarily because of all the different outcomes depending on totals, tax, weight, distance, etc; but as Gary mentioned "customers sometimes display a lack of common sense." That's a big time reason.
  21. @@slupostrupek I concur with Jacks suggestion. The author once told me he should have never released it.
  22. I am; yes I am.

    1. ArtcoInc

      ArtcoInc

      That Will.I.am That Will.I.am I do not like that Will.I.am Dr. Seuss

    2. GLWalker

      GLWalker

      I have not tried green eggs and ham, but I think I would like them better than jellyfish

    3. multimixer

      multimixer

      The big question is: Lemon or Melon ?

    4. Show next comments  3 more
  23. GLWalker

    WS5 Wholesale Addon

    This is the support thread for WS5 Wholesale Addon, http://addons.oscommerce.com/info/9086 This addon is a very simple, yet an effective way to handle giving customers a wholesale price. It has been built as lightweight as possible, and more than likely will be best suited as a "starting point" for a shops wholesale needs.
  24. @@burt Oddly enough it is in there, last line of the oscommerce.sql https://github.com/gburton/osCommerce-2334-bootstrap/blob/master/install/oscommerce.sql I double checked the module, and the key is there. hmmmm That part of the install was a direct copy from the 2.3.4 sql
×