Jump to content
Latest News: (loading..)

Leaderboard


Popular Content

Showing most liked content since 07/09/2018 in all areas

  1. 3 points
    burt

    How good is stock OsCommerce?

    Great thread @JcMagpie. Keep on going with this thread, as I am following your efforts with conclusion of putting into next round of changes in CE.
  2. 2 points
    (This is the first draft on instructions on How to Install osCommerce Onto a Host's Server. This is based on installing the latest osC CE edition (aka: Frozen), and NOT the 'official' v2.3.4.1 version. I'm sure others will want to include their comments and suggestions too.) If all of this sounds too complicated, there are a number of developers here that can be hired to do all of this for you. Just post a request in the commercial area of this forum: https://forums.oscommerce.com/forum/79-commercial-support-inquiries/ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I will *assume* that your host already has PHP and mySQL (or some equivalent) installed (most hosts do). Also, most hosts will also have a set of tools SUCH AS cPanel and phpMySQL. These tools will allow you to access your area on your host's server, and administer the database . You'll also need a FTP program (such as FileZilla) installed and working on your local workstation to move files to and from the host's server, and a web browser (such as Firefox, Chrome, Internet Explorer, etc). 1) Before you begin, do you have a domain registered for your store? Do you have DNS set to point to your host's server? If not, how will you (and your customers) access your shop? Via an IP address? Best to work all of this out before you start building your store! For this example, I will assume that you do. 2) Using a browser on your workstation, log into your account on your host's server. Remember what username and password you used, as you will need this again later. Write these down! Using whatever tools your Host provides, access the area where you will be storing your files. Your host will have an area for you called something like /public_html/. If you're not sure, ask your host. Your host may allow you to have more than one domain within your account. If this is something you might want, ask first! You are going to have to have a place for your store's files. You could put them in the your root directory (such as /public_html/), but I suggest you create a sub-directory specifically for your store. If you have a domain name already registered, good practice would be to name this sub-directory the same as your domain (ex: /public_html/<my domain name>/). Use whatever tool your host offers to create this sub-directory. 3) Within this sub-directory, it is good practice to create another sub-directory called /catalog (your directory structure would look something like /public_html/<my domain name>/catalog). Some developers here disagree with this, but it does make things easier if, in the future, you want to add something like a blog, etc. to your domain. 4) Once the directory structure is set up, it's time to set up the database. Using whatever tool your host offers (such as phpMyAdmin), create a database for your store. Your database will have to have a name, a database administrator's name, and a database administrator's password. Write these down!. You will also be given an option of setting the Collation. This is the method by which the database encodes and stores the data. Choose utf8_unicode-ci. You can now log out of your host's server. 5) With the server all set up, it's time to begin moving files to the server. Download the latest copy of osCommerce onto your workstation. Extract all of the files from within the ZIP'd file into a clean directory. There will be a LOT of files (over 1400 of them) and LOTS of sub-directories. It is important to keep the files and directory structure intact. Make a note of where you have extracted these! 6) Launch your FTP client on your local workstation. A very popular one is called FileZilla. You will need to download and install this on your workstation before you can use it. Launch it, and point the LOCAL site to the directory where you extracted all of the osCommerce files (you wrote this down, didn't you?). Point the REMOTE site to your host's server. You will need whatever username and password your host gave you in order to connect to their server (you wrote these down, didn't you?). Be sure to point to the sub-directory you created in steps 2 and 3 above! 7) You will now need to transfer ALL of the extracted files from your workstation to your host. This can take some time, depending on the speed of your internet connection. After all of the files have been transferred, you can log out of your FTP client. 8) Launch your browser. Point it to your host's server, using whatever method you set up in step 1 above. For example, point your browser to <my domain name>.com. IF you put all of your store files in the /catalog sub-directory (as recommended), you will need to include that too (ex: <my domain name>.com/catalog). This should launch the installation program. If it doesn't, stop and figure out why (because you can't continue on otherwise). 9) There are several steps in the installation ... a) The first screen will tell you if the server is capable of running osCommerce. It will check that PHP is installed, which version, and that it is configured correctly. It will also check that mySQL is installed, and all of the appropriate extensions are installed. This will be a pass/fail test. Either the server passes, or it fails. If it fails, you will need to contact your Host to resolve the problem ... this is not something you can fix. If it passes, click on the big green "Start the installation" button. b) This step configures the database. b1) The first field is the database location. It is typically either 'localhost' or the IP address of the database server. Ask your Host if you are not sure. b2) This is the Database Administrator's name (you wrote this down, didn't you?) b3) This is the Database Administrator's password (you wrote this down, didn't you?) b4) This is the database name (you wrote this down, didn't you?) Once these are all filled in correctly, click on the big green 'Continue to Step 2' button. The program will build the database tables, and pre-fill in all of the necessary data. This can take some time. Be patient! c) The next step defines where the store is on the web server. If you got this far, the default answers are probably correct. Click on the big green 'Continue to Step 3' button. d) This is where you configure your store information. d1) What is your Store Name. This will show throughout your store, on invoices, emails, etc. d2) If you want to personalize your store, you can put your name here, and your name will show on invoices, emails, etc. Otherwise, enter something like 'Store Owner'. d3) This is the email address for people wanting to send emails to your store. Enter a valid email address. d4) This is where you enter the name of the Administrator for your store. You need at least one Administrator. Later on, you can create more administrators, if you wish. It can be a real person's name, or any word you make up (such as 'Boss'). Write this down! Do note that this is the Administrator for your STORE, and is separate from the Administrator for the DATABASE. d5) This is where you create a password for the first Administrator. As with any password, it should be something that is not easy to guess (don't use 'password' as your password!). Write this down! Again, note that this is the password for the STORE administrator, which is separate from the DATABASE administrator. d6) This is the sub-directory name where all of the administrative files are located. The default name is 'Admin'. While you may leave it as the default name, for better safety, it is better to change this to something a little less obvious. Write this down! d7) This is where you set the time zone for your store. If you are in Japan, the US, or the UK, you will be in different time zones. You want the time in your store (as recorded on orders, etc) to be correct for where you are. Select the closest city from the drop-down list. Once you have everything filled out, click on the big green 'Continue to Step 4' button. e) If everything went well, you should be greeted by a 'Finished' screen. Across the bottom are two big buttons: The Green button will take you to your store front. The blue button will take you to your Administration side of your store. You will need your store's Administrator's name and password to enter here (you wrote those down, didn't you?). Congratulations! Your store is now online! It will be filled with some sample products. You will need to go into the Administration side of your store to configure your store (turn on features, arrange things, add new products, etc.) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Again, if all of this sounds too complicated, there are a number of developers here that can be hired to do all of this for you. Just post a request in the commercial area of this forum: https://forums.oscommerce.com/forum/79-commercial-support-inquiries/ Good luck!
  3. 2 points
    bruyndoncx

    Speeding up your website load times.

    http://adaptive-images.com has minimal impact . it only needs addition of one javascript in the head. i think it fits with the modular BS approach. i have it running since ages ...
  4. 2 points
    The short answer is yes you can export data only. However you need to make sure the data format matches that of the new db. The simple way to do this is make a copy of your old data base and edit the copy db tables using phpAdmin to make them the same as the new CE db. You can then simply export the fixed parts of the Copy DB and import them to your new CE db. Just take your time and only work on a copy db. Do it one table at a time and check each one. Oh and back up before you start.
  5. 2 points
    JcMagpie

    How good is stock OsCommerce?

    So this is the best I could do. I hope this shows that with a little time you can make small improvements to the stock install which is very good to start with. Please don't think you have to do any off this. For the average shop owner your time is best spent getting good content onto your website. Zahid.
  6. 1 point
    Dan Cole

    KissIT Image Thumnailer

    Per the instructions... Find these lines ( lines 74-76 in a standard osCommerce 2.3.4 ) .. /// // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '', $responsive = true, $bootstrap_css = '') { Replace with the following: //// // New HTML image wrapper function modified for KISS Image Thumbnailer by FWR Media function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '', $responsive = true, $bootstrap_css = '') { // Include the Database installation file if executed for the first time. if ( !defined('KISSIT_SHARPEN_THUMBNAIL') ) require_once 'includes/modules/kiss_image_thumbnailer/db_install.php'; // If width and height are not numeric then we can't do anything with it // If original image width and height are less than KISSIT_MIN_IMAGE_SIZE, we do not need a thumb if ( is_file($src ) ) { $original_img_size = getimagesize($src); if ( !is_numeric ( $width ) || !is_numeric ( $height ) || $original_img_size[0] < KISSIT_MIN_IMAGE_SIZE || $original_img_size[1] < KISSIT_MIN_IMAGE_SIZE ) return tep_image_legacy( $src, $alt, $width, $height, $parameters, $responsive, $bootstrap_css ); } else { if ( !is_numeric ( $width ) || !is_numeric ( $height ) ) return tep_image_legacy( $src, $alt, $width, $height, $parameters, $responsive, $bootstrap_css ); }
  7. 1 point
    Jack_mcs

    Sitemap SEO

    Yes, it does. You can see both in use here.
  8. 1 point
    jerone

    PHP 7.2 each() function deprecated

    When you are upgrading OsCommerce to be compatible in +PHP7.2 versions, here is a pattern on how to update while = each() loops to foreach, which is said to be like 10 times faster, too! Case 1: Missing $value reset($array); while (list($key, ) = each($array)) { Update to: foreach(array_keys($array) as $key) { Case 2: Missing $key reset($array); while (list(, $value) = each($array)) { Update to: foreach($array as $value) { Case 3: Not missing anything reset($array); while (list($key, $value) = each($array)) { Update to: foreach($array as $key => $value) {
  9. 1 point
    raiwa

    KissIT Image Thumnailer

    @ce7, The original tep_image function is renamed to tep_image_legacy when you apply the kiss it image modifications to includes/functions/html_output.php (not general.php). So you should have the following below the modified tep_image function: //// // The HTML image wrapper function function tep_image_legacy($src, $alt = '', $width = '', $height = '', $parameters = '', $responsive = true, $bootstrap_css = '') { if ( (empty($src) || ($src == 'images/')) && (IMAGE_REQUIRED == 'false') ) { return false; } Please revise your modifications and apply exact what is said in the instructions. Do not comment out anything additional on your own.
  10. 1 point
    Well gave it all night to do its stuff even with some larger files but nothing. The directory its meant to put the resized images in is still empty! Never mind was worth a try. What we need is a addon that will do this automatically every time a new image is added. There is a nice bit of code on the GitHub that could be made to work with OcS but will take some work. https://github.com/DarthSim/imgproxy Original 4000x2000 image weighing over 650KB; creating imgproxy URL; resized 500x250 image weighing 19KB You can read about it here. https://evilmartians.com/chronicles/introducing-imgproxy We could setup a OcS image server for members use only. There are several options including the php one, in fact codecanyon is full of resizing scripts costing only a few dollars each. If your feeling creative and want to make your own resizing addon then there is a nice php function for this available on GitHub, https://github.com/Nimrod007/PHP_image_resize/blob/master/smart_resize_image.function.php I see the main challenge is integrating any solution into OcS without core changes. If that can be done then the “imgproxy” solution looks very interesting. Just add one high res image per product and let “ imgproxy” do all the work for you in the back end on the server.
  11. 1 point
    Dan Cole

    KissIT Image Thumnailer

    @ce7It has been a long time since I installed this add-on but don't you need to add that function when you install it? Dan
  12. 1 point
    JcMagpie

    How good is stock OsCommerce?

    Just one of a number mistakes I made
  13. 1 point
    I'm not totally sure I understand your site structure but assuming the site is actually in the subdirectory /RAC_Shop/ I can see a couple of issues RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] redirects any file or directory name that doesn't exist sending it as a parameter to /index.php I guess this is url rewriting but if your shop is in a subdirectory then the rewrite should point to the subdirectory: RewriteRule ^(.*)$ /RAC_Shop/index.php?/$1 [L] The other issue is with the last redirect - when anyone looks for robots.txt they get redirected to the subdirectory so you need an extra rule to exclude the file: RewriteCond %{REQUEST_URI} !^/robots.txt$ [NC] put before the last rewrite rule
  14. 1 point
    I haven't found one so far, they all make core changes! Will have to find time to look at this soon. Might have to look at another way of doing it as Jack Moore colorbox which we currently use I believe is no longer under development. I have done a bit with Bootstrap gallery but not sure if its the best way forward or to look at another js option like Lightbox.
  15. 1 point
    John W

    Speeding up your website load times.

    If you have Cpanel, it has a button called "optimize website" that will set up deflate for you at the directory level. You have a couple options for what you want to compres. I use "Compress All Content".
  16. 1 point
    raiwa

    Horizontal Categories Menu BS

    @radhavallabh You should use version 1.4 which is updated and should work with hardcoded filenames.
  17. 1 point
    This is the difference between an empty .htaccess file and one with everything in it. It is stock frozen with the fine tuning described in the other thread. This is the same site now with a .htaccess file with all the recommended bits added. As you can see the adding of the cache and other bot stuff has only made a small change to the optimized site. Basically adding as little as possible to your .htaccess . Also try not to add duplicate instructions.
  18. 1 point
    If that works for you phase two is comparing your imported DB to a stock CE DB table by table. Here's where you'll have more cleaning up to do.
  19. 1 point
    Mikepo

    CE Frozen and SMTP mail

    hi @crimble crumble many thanks, reading your links I managed to set up smtp emails, using the latest version of phpmailer. regards mike
  20. 1 point
    raiwa

    Modular Checkout

    Hola Alex @JAValeryon, Yes you are right. Thank you for the report. New version 1.0.5. with the fix included has been uploaded. kind regards Rainer
  21. 1 point
    I have previously installed the CE version configuration table into it's own new table and left my existing config alone. Then I uploaded the files into a separate directory and started to see where things went wrong and how to move my config over to the CE version or what alter table statements were needed to get my products, categories etc in sync ... It is less risky to fix things like this one by one, rather than start all over ... It will take time and perseverence
  22. 1 point
    JcMagpie

    How good is stock OsCommerce?

    Ok next one, The issue appears to be with manufacturers box ! <select name="manufacturers_id" onchange="this.form.submit();" size="1" style="width: 100%" class="form-control"><option value="" selected="selected">Please Select</option><option value="6">Canon</option><option value="4">Fox</option><option value="8">GT Interactive</option><option value="9">Hewlett Packard</option><option value="5">Logitech</option><option value="1">Matrox</option><option value="2">Microsoft</option><option value="10">Samsung</option><option value="7">Sierra</option><option value="3">Warner</option></select> Sorry but will take time, Simply turn off manufacturing box and look into this later. So this one? Looks to be linked to the search bar in header! <form name="quick_find" action="https://www.justfastfood.com/advanced_search_result.php" method="get" class="form-horizontal"> <div class="input-group"><input type="search" name="keywords" required="" placeholder="Search" class="form-control"><span class="input-group-btn"><button type="submit" class="btn btn-info"><svg class="svg-inline--fa fa-search fa-w-16" aria-hidden="true" data-prefix="fa" data-icon="search" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"></path></svg><!-- <i class="fa fa-search"></i> --></button></span> </div></form> Sorry but for now simply turn off and look into this later. The fix for both is, “Programmatically associate labels to all form controls and ensure there are no duplicate labels. You can do so by using an implicit <label>, explicit <label>, aria-label or aria-labelledby.” So with the 2 problems turned off we now get, Oh by the way I am using one page as benchmark for all changes! https://www.justfastfood.com/product_info.php/products_id/27 Some changes are site wide but some are page specific.
  23. 1 point
    Jack_mcs

    Google XML Sitemap SEO

    Please try this. In the googlesitemap/index.php file, change this line if (defined('SEO_URLS') && SEO_URLS == 'true' || defined('SEO_ENABLED') && SEO_ENABLED == 'true' ) { to if (false) {
  24. 1 point
    cDGo IT Consultancy

    Tabbed Product Admin

    This is a nice addon, thank you for sharing. The SEO section isn't divided into the languages, all fields for both Dutch and English (in my situation) are on the same page. Fix: Find: <?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { echo '<li><a href="' . substr(tep_href_link('categories.php', tep_get_all_get_params()), strlen($base_url)) . '#section_general_content_' . $languages[$i]['directory'] . '">' . $languages[$i]['name'] . '</a></li>'; } ?> and replace the word section_general_content for section_seo_content. So it will read like this: echo '<li><a href="' . substr(tep_href_link('categories.php', tep_get_all_get_params()), strlen($base_url)) . '#section_seo_content_' . $languages[$i]['directory'] . '">' . $languages[$i]['name'] . '</a></li>';
  25. 1 point
    The problem with the Quill.js contribution was that apparently quilljs.com deleted the old version of the Javascript from their site, resulting in a broken link. :( I've uploaded a new version that should fix that problem and also upgraded it to the latest version (from 0.19.10 to 1.3.6), which supports things like header levels, block quotes, and hanging indents. I'd caution that there are risks with using any HTML editor on any public-facing part of your site (including but not limited to product reviews etc); many of them have serious vulnerabilities such as cross-site scripting and so forth. Quilljs attempts to clean the HTML to avoid at least the worst vulnerabilities, but who knows if they've plugged all the possible holes. A lot of other Javascript-based HTML editors out there have known vulnerabilities and shouldn't be used on client-facing sites, but you should be able to use most of them safely in the Admin area. Bruce
  26. 1 point
    Point 4: Different hosts do database setups in different ways. They may have a separate control panel section to create a database and its user (a.k.a. DB administrator). They may also require you to "grant" privileges to that user, and explicitly associate that user with a specific database. They often will not permit an application (such as osCommerce) to create a database or perform some operations on it, in the name of security. These need to be done via the control panel. Some unfortunate people end up on servers where they can create only one database for all their applications. This will slow down operations and there may be conflicts between applications if they try using the same table names. Hopefully you can add a prefix to table names to keep application data separate. Note that this is a different prefix than that which is frequently required in the PHP database interface, where many hosts have the account name and an underscore _ prepended to the database name, user, etc. Never give out this prefix (account name) in a forum posting, as it makes it much easier to break into your account! "Collation" is something of a misnomer. There are two things going on here with the database: the character encoding used (which these days should be UTF-8 rather than Latin-1), and its collation (how text fields are sorted -- by a particular language's standard, whether to sort 'A' and 'a' as the same or distinct, or even by binary values, etc.). "utf8_unicode-ci" is pretty common and generic for UTF-8, with upper/lower case ignored (treat 'A' and 'a' the same). The most common database (relational database management system) is MySQL (note the capital M), and specifically you will be using the MySQLi (improved) version. Some hosts are dropping MySQL (now owned by the Evil Empire, Oracle) in favor of the very similar fork, MariaDB. I don't know offhand what the status is with osCommerce trying to use SQLite, postGREsql, and other freeware database engines. By the way, "My" is not really the English personal possessive pronoun -- it's the name of the daughter of one of the original Swedish creators of the database, as is "Maria". Anyway, if your host does not have MySQLi, you may have some work ahead of you to fix things! Point 5, 6, 7: Some hosts will allow you to upload (either from the control panel or via an FTP client) the .zip file, and then unpack (unzip) it on the server. This is acceptable, just as long as you check where the files ended up! Most control panel file uploads only deal with one file at a time, so uploading hundreds of files gets rather tiresome. FTP clients will give you a way to mark multiple files and upload them in one operation, so you can do it either way. Note that it's a good idea to keep a copy of all your files on your PC (workstation) as a backup, but be sure that any files you (or the install process) modify on the server get copied back to your PC, so your backup is up to date. Also note that this is a backup of your files, and does not include your database, which is a separate backup. Anyway, you need to make sure that you uploaded your files to the intended place, and preserved the file structure (e.g., includes/ under the store root catalog/). You don't want to end up with all your files in one ginormous flat directory! You may need to adjust your directory and file permissions before going any further, typically (on a Linux + Apache server) 755 for directories and 644 for files, although this may vary by host and specific server, and some may do things differently. These permissions are read-write for the owner (who has the right to change files) and read-only for everyone else. Point 9d6: it is actually very important for you to use something other than Admin as the administration name. You will unfortunately find that you have hacker scum constantly trying to break into your administration area, and if you leave it as Admin, that's half the battle for them. At least make it harder for them to get a foot in the door (and start guessing IDs and passwords) by giving some weird randomish name to the directory. And NEVER tell anyone else your new Admin name, especially in postings to this forum! Be careful if you copy and paste something into public view that you obfuscate the real Admin name (such as changing it back to 'Admin'). The same goes for database access sections of your configure.php files -- obfuscate the user name and password (and probably the database name too) before posting! Your admin section should also be protected by server "password protection", which will require another ID and password (demanded by the server, not by osCommerce) to let you in. While osC does provide some sample code for this, it doesn't always work. If it doesn't, remove it and use your hosting control panel's "password protect a directory" function to generate the right code entries for this. The only advantage to using the password protection suggested by osC is that it will (usually) pass the Security Check you can run in osC admin, while host-provided protection frequently will "fail" the test. If in doubt, if you try to go into your protected area and the server demands an ID and password, it's working OK and there's no need to lose sleep over what Security Check says. Point 9 somewhere: note that there are two different "configure.php" configuration files. One is in /catalog/includes/ and the other is in /catalog/<Admin>/includes/. They will both be updated by the installation process, so you may have to adjust file permissions to allow PHP to write to them during installation. You should then return them to their normal permissions after installation, or even to "read-only" (e.g., 444) so that they can't accidentally be wiped out. If you immediately backed them up to your PC, that's not as critical to do, but it's still a good practice. Finally, they're different. Take care not to upload one over the other, as careless or naive people frequently end up doing! Congratulations: Your store comes with a bunch of preloaded sample products. Don't forget to remove them when you're ready to start loading in your real products. It's best to use the Admin product management pages to delete them (and their categories) one by one, especially if you're inexperienced at this, rather than daringly going directly into the database and truncating product tables. Maybe some day osC will get a utility or function to remove all sample products (or even add them back) without all the tedium.
  27. 1 point
    Jack_mcs

    PHP 7.2 each() function deprecated

    No, your code should work. I was looking at the line above it so didn't catch that you were using those commands. You're supposed to check the result when they are used so maybe that is causing a problem? Do you get an error? For what it's worth, the way I would code it is like this: foreach ($dhlAirborneQuotes as $arry) { foreach ($arry as $type => $cost) { if ($cost != '0.00') { $methods[] = array( 'id' => $type, 'title' => ((isset($this->types[$type])) ? $this->types[$type] : $type) . $arry['description'], 'cost' => ($cost) + MODULE_SHIPPING_AIRBORNE_HANDLING ); } } }
  28. 1 point
    Jack_mcs

    PHP 7.2 each() function deprecated

    This following line should be changed as shown: list($type, $cost) = each($dhlAirborneQuote); $type = $dhlAirborneQuote['type']; $cost = $dhlAirborneQuote['cost'];
  29. 1 point
    bruyndoncx

    PHP 7.2 each() function deprecated

    custom myeach function ? https://stackoverflow.com/questions/46492621/how-to-resolve-this-deprecated-function-each-php
  30. 1 point
    JcMagpie

    How good is stock OsCommerce?

    Ok I think were done with Best Practice as the 3 left are all related and out side my control for now. Going to take a brake as footy on tonight and need to get ready for that ( Go England!!!!) Will have a look at others tomorow, thanks for your help Ashley
  31. 1 point
    Hotclutch

    How good is stock OsCommerce?

    Consolidating your changes and mine we can put in user.css body { font-size: 16px; line-height: 1.5 } .dropdown-menu { font-size: 16px } .form-control { font-size: 16px; line-height: 1.5 } .btn { font-size: 16px; line-height: 1.5 } .dropdown-menu > li > a { line-height: 1.5 } .list-group-item-text { line-height: inherit } .thumbnail { line-height: inherit } .description and .footer, I don't think they are bootstrap, or maybe they are custom.css, so i have not added in those.
  32. 1 point
    JcMagpie

    How good is stock OsCommerce?

    I also found the 14px minimum setting for text was being flagged by Google and 16px being recommended for mobile views? But this looks to be a recent recommendation. Also , I need to look into this a bit more as this is stock install? may be nothing. https://snyk.io/vuln/npm:bootstrap?lh@3.3.7 Next when I have time ( after the footy) will take a look at what effect some of the more popular addons have on performance.
  33. 1 point
    Hotclutch

    How good is stock OsCommerce?

    The official version outputs: <html dir="ltr" lang="en"> whereas the community version outputs: <html > The accessibility tool also complains about the search form in cm_header_search.php By placing a label on the input, fixing the HTML tag, and adding aria-hidden="true" to icons where they are simply being used for decoration purposes, takes the accessibility score up to 89% on the homepage at least.
  34. 1 point
    Jack_mcs

    Jssor Slider

    I don't use text for the banners so I never thought to add that code. I have done that now and you can download the new file here. The appearance of the text is controlled via a css class in that file. It really should be in the banner manager so it can be controlled for each banner but that is more coding than I want to do at the moment. :) Please give it a try and let me know if it doesn't work correctly.
  35. 1 point
    JcMagpie

    How good is stock OsCommerce?

    The more data the better, glad to see next version is improving. I’ve added stock official ocS to the picture just to give an idea of what the differences are. https://gtmetrix.com/compare/HzKW7fMx/AWY6bbZZ/hgFx4ysJ
  36. 1 point
    burt

    How good is stock OsCommerce?

    All of these tools do not take into account certain things; Examples: 2g/3g customers Why worry about these people? There is zero point in catering to 2g and 3g based customers in the arse-end of nowhere if you do not ship there. In addition these people know they are on a poor connection, so expect sites to be slow. I cannot imagine a shopowner in (say) New York changing his site because someone in (say) Ulaan Bator can't get a good signal. Same site, different host A site tested on one honst will outperform or underperform compared to the EXACT SAME site on another host. Even on same hosts yet different server...same applies However, as I previously stated on the "Frozen 2 BS4" thread, these sites do give an indication of what a shopowner could do. But that *must* be on a shopowner by shopowner basis, dependent on each shopowners target audience. Don't make the mistake of relying on these reports...use them for basic info only, and don't take the results of someone else site as gospel that your site should be changed. Put simply, each shopowner must decide for themself...how much money and/or time to throw at some perceived problem - and if that spending will pay dividend. Bottom line trumps everything.
  37. 1 point
    JcMagpie

    How good is stock OsCommerce?

    So this is Frozen with a small change. Running again with Font Awesome disabled has given a good improvement. So clearly this Google tool is worth using to check changes to your website.
  38. 1 point
    MrPhil

    How good is stock OsCommerce?

    I'm not attacking you. Do these canned tests document exactly what they are testing, and what they base their results on, and most importantly, give concrete steps to take to improve matters? Automated testing and evaluation is an area fraught with peril -- two pages with similar results may in real life offer very different user experiences, and vice-versa. A page load speed is pretty concrete (if done repeatedly and averaged out), while "accessibility" and "best practices" can be rather nebulous. Get down off your high horse and contribute something useful, or I'll put you back on my Ignored Users list.
  39. 1 point
    JcMagpie

    How good is stock OsCommerce?

    Ok so how do we compare to some of the big sites where money is no object?
  40. 1 point
    JcMagpie

    How good is stock OsCommerce?

    I thought it would be interesting to see what alternatives are offered by my host to OsCommerce. The results were interesting! Clearly plenty of options for store owners to chose from. All these available from Cpanel to install for free. As you can see OsCommerce is still considered a very good option. When I get a bit more time It will be interesting to install the official stock OsCommerce and see how that compares to stock Frozen. Oh and yes te list has a few none cart apps. but most are full carts.
  41. 1 point
    JcMagpie

    How good is stock OsCommerce?

    latest magento community version stock install results
  42. 1 point
    raiwa

    Modular Checkout

    Update your store to 2.3.4.1 CE Frozen (responsive and mobile friendly): Download: https://github.com/gburton/Responsive-osCommerce/releases More information:
  43. 1 point
    Jack_mcs

    Upgrading to the latest version

    It seems like every other question posted nowadays is about how to upgrade an older version of oscommerce and the op usually references the official version. This post is meant to provide a quick reference for how to convert an older shop to the current, recommended, one. First, the version that should be used is commonly called the Bootstrap, BS or Responsive version. It can be located here. One should not use the official version. The official version can be installed via the hosts control panel so it is easy to think that is the one to use - it is not. Since the BS version is not directly compatible with other versions, the following steps will be needed: Install the BS version into a new location Convert the database. See this thread for help with that. Install whatever addons the site needs. You need to be sure the addon will work with the BS version. This thread mentions specific ones but there are many others that will work. If in doubt, ask in the support thread for the addon in question. If you intend to use paypal, then install the Paypal App. At this point you should have a working shop. Test it thoroughly, especially the payment and shipping modules, before going live with it. When you are ready to go live, Mark your current shop as down for maintenance ( a simple index.html file is fine for this purpose ). Make a backup of the current shops database and files. Convert the database to the BS version. Replace all of the files with the new shops files. Edit the configure files so they work as the live shop. Remove the blocking page. If everything has gone correctly, the conversion should be complete.
  44. 1 point
    ArtcoInc

    Where did I change the link of this icon?

    @valquiria23 To change the actual link in your breadcrumb, in application_top.php, find: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); Change it to something like this: $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(<your_url_link_here>)); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); HTH Malcolm
  45. 1 point
    burt

    28d, 2018

    Day 17 - Sale Sticker A quick and easy way to make your customers aware that a product is on Special... Core Code Changes NONE - if on up-to-date Edge, otherwise Yes. Admin Side Notice that you can easily change the Sticker Colour. The Sticker Text "sale!" is in the language file, again easily changeable. Shop Side In the Index Page ^ In the Category Page ^ In the Product Page ^ In the Specials page ^ and elsewhere (eg search results), but you get the idea. Summary I've always found it a bit strange that osCommerce software never really made anything of a product on special offer. A decade ago I made a module that did this same thing (add in a sticker) differently, and even just last year an update of that to simplify it. Now this new module is the most simple of all, just a HT module to upload and turn on, assuming on up-to-date Edge!
  46. 1 point
    burt

    28d, 2018

    Day 14 - Moar Password, Going Backwards Today I have two small HT Modules which don't really do much of anything other than make your site a bit more functional. Core Code Changes NONE (for both) 28d14.1 - Password and Confirmation Checking We optimised the crap out of the create_account page in order to remove the old .js system of checking on inputs to replace it with the all-new html5 way of checking on inputs. Super! Except we never did anything about ensuring the Password and Confirmation matches. So, what happens, in standard Community Version, if someone gives a password, then gives a different confirmation: the page reloads with an error message. By adding this HT module you stop that totally. It looks like this, which matches the other Error messages; You can change the error message to whatever you want, no problem. 28d14.2 - Deny Back Button Sometimes, it's possible for a customer to use the "Back" button on their browser, which makes for a potentially interesting problem. Typical example would be in the checkout, which can cause issues with shipping etc. Customers can get into a real mess, apparently. To try to solve it, I made a HT module that disables the back button in browser. Possibly useful for funneling through the checkout area?? There's nothing to show on the Shop Side, so here's a picture of the admin side;
  47. 1 point
    burt

    28d, 2018

    Day 11 - Password Reinforcement This HT module allows you to insert a message on pages that have a password input, which reminds the Customer that their password should be unbreakable. Core Code Changes NONE! Admin Side On the Admin Side, you have two changable entries; - password length - require special ($&^ etc) Shop Side As the Customer is typing their password, the red bullet points change to green, signifying they have that "thing" in their password. Cool! Note This system is a reinforcement message only. It still allows Customers to insert their own password if they wish.
  48. 1 point
    burt

    28d, 2018

    Day 08 - Country & State Selector This is a HT module that changes the function of the country dropdown and the state dropdown/input box. The Country is always a dropdown, and the State can sometimes be a Dropdown, or sometimes be an Input Box - bear this in mind when reading the rest of this post! Core Code Changes: NONE! Admin Side, Module We start with this image so that I can explain some of the options. Require Input Can be True of False. If "True", the State INPUT BOX must be filled in. If "False", the Placeholder changes to "Not Required" and the input does not need to be filled in. Default Country Set this to the Country Numeric ID you wish the country dropdown to default to. If a default country is inserted *and* that default country has zones attached (eg Austria, USA etc)...the State dropdown will also be perfect on page load. Allowed Countries Insert a CSV of Country Numeric IDs. Any country not in this list will not show in the country dropdown. Readonly Dropdown If you sell to only one country, set this to True. This would also require "Default Country" to be set. Shop Side: This image shows how the system looks in action, on page load. The State/Province is greyed out asking the customer to first select their country. The customer now selects their country. The only countries that show are those set up in "Allowed Countries". The customer choose (eg) USA. The State dropdown now activates and allows the Customer to select their State. WAIT. The Customer is in the UK and misclicked! They hit themselves in the balls and click the "United Kingdom" in the Country dropdown. As the UK has no Zones attached *AND* "Require Input" is False...the State system re-activates and changes to a normal Input Box! Conclusion This system allows you to remove countries from your lists without having to literally remove them in admin. This system makes things a lot easier for the customer if the country they select has zones that need to be selected.
  49. 1 point
    burt

    28d, 2018

    Day 02 - Product Tabs This is a Content Module and a couple of Child Modules that allows Shopowner to have "tabs" on the product_info.php page. It's a bit like how the Navbar works (main module and child modules). As these are all modules, there are no code changes, just upload and turn on. I have created a couple of child modules; Product Name - probably fairly useless but shows how modules are coded Product Description - useful Tabs (child modules) can be ordered using the usual Sort Order system. Core Code ChangesNONE! Screenshot Notes I wanted to get this out sooner rather than later, as I thought you guys might have ideas for other tabs. I could maybe then code some up for another day in the 28d Project. Hope that makes sense ?
  50. 1 point
    ruden

    Please Review my Website

    Part of the answers here https://search.google.com/test/mobile-friendly https://developers.google.com/speed/pagespeed/insights/ https://validator.w3.org/
×