Jump to content
Latest News: (loading..)

Leaderboard


Popular Content

Showing content with the highest reputation since 12/17/2017 in all areas

  1. 11 points
    burt

    28d, 2018

    Third installment of the 28d Project. I missed last year for reasons, but this year it's back. I'm running it slightly differently to previous versions, as this time there will be no option to buy each days package - that was frustratingly difficult to manage - sorry. Instead there will be a very simple "buy now" price for everything, and that will go up in price as February goes by, therefore those who can buy earlier...pay less...and those who buy later...pay more. Hit the [Follow] button in the right hand corner of this page as I shall be updating this post as the days go by. Should anyone wish to pre-buy...thank you for your consideration and support. PM me and we can arrange it. Don't know what the 28d Project is? I make code available during February (each year, usually). This is code that I have created or updated and make available for an all-in price. Had a couple of questions by PM; Edge Compatible: Yes Gold Compatible: Yes(ish), you might need to update some files to the Edge version, I will point these out in the individual "readme" for each. Certainly nothing to be worried about! PHP7 Compatible: Yes Official osCommerce Compatible: No, sorry Core Code Changes: Will be kept to an absolute minimum, you guys know I hate to change Core and I know you guys hate Core Code Changes...but sometimes, it is, unfortunately, unavoidable. Progress: I have 21 things coded and ready for finalised checking. 1 thing is being live tested by a shop. 6 or 7 things more to write; ideas would be welcomed for small to medium things Thanks for all the PMs and Feedback so far!
  2. 11 points
    In the last few weeks; index.php made more modular login.php made more modular checkout_success.php made more modular product_info.php made more modular + product info not found module as well product_schema module introduced introduced "actions" in application_top.php + new admin page for these actions category_tree class updated to pull more category data + most areas of code updated to use category_tree class template files renamed to help solve uploading problems hooks auto registered in each page Thanks to everyone who pitched in with ideas and code
  3. 9 points
    burt

    Path To "Final"

    Here's what I want to get done to set the Community Version to a "Final" release; 1a. Modularisation of index COMPLETE Title Standardise Module Name and Template Name (each) 1b. Modularisation of index_nested COMPLETE Title Standardise Module Name and Template Name (each) 1c. Modularisation of index_products COMPLETE @BrockleyJohn has coded, thank you Title Description Products 2. Modularisation of product_info COMPLETE Strip Schema Schema Buttons Date Info Options Description Gallery Price Name Model Not Found Message Standardise Module Name and Template Name (each) 3. Bootstrap v4 CANCELLED Updating full shopside to BSv4 4. php7.0 COMPLETE Updating full shopside and full adminside to be 7.0 compliant. 5. getContent calls DISCUSSION Discussion needed 6. Hook calls COMPLETE @raiwa has coded, thank you Auto Register Hook for each page What I don't have plans for, so will not happen; Everything else Why go "Final" Too many shopowners and developers wanting a fixed release; almost all feedback tells me rolling updates are not welcome. After "Final" No further changes will be made. Date for "Final" I was hoping to get it done by the end of this Month, but that is not going to happen. Sorry Folks, it'll be as and when I have time.
  4. 8 points
    piernas

    Shipping table is now a real table :)

    Today I decided I got angry for the last time updating a table rate based module. Afer several tryouts to change the shipping rates just to see I had a typo in the values string -damned colons- and having to manually calculate the net prices for each row from the gross that came from the table provided by the courier... I had enough and modified the table rate module to show a real table where you can see what you're doing. Uses some javascript to update net/gross, add or remove rows and do some basic checks. It can be adapted to any other module that uses the same system. Note: The net pice is caclulated based on the tax class from the module. It will apply only to the countries in the module's zone and it's not savet to database but calculated on the fly. For this column to work you need to set up the tax rate first, save and enter the module configuration again. Here is the file: https://apps.oscommerce.com/wyYLv&sgipping-table-module-update @burt you can replace the stock one if you consider it fits the community project.
  5. 8 points
    piernas

    Admin responsive sidebar with bootstrap

    This is a admin sidebar that replaces the stock menu. It can be expanded or condensed on a column of icons. It also adds bootstrap framework to admin. Hope you enjoy it. Please comment here if you have any improvements or find any problem. Download: https://apps.oscommerce.com/ebjVY&admin-responsive-sidebar-with-bootstrap
  6. 7 points
    Shop owners ... Developers ... osC junkies ... We need your help! As many of you know, @burt has been instrumental in pushing the community build of osC. We are the community. And right now, @burt needs our help! @burt does not get paid for his work on the community build! To finance all of his work, he puts out an incredible assortment of modules, such as his current 28 days bundle. The money he gets from these allow him the time to work on the community build core. He is very close to wrapping up Edge, making it a fixed base of code, with only future hotfixes as needed. But, he needs our help. We need about 10 people (shop owners, developers, osC junkies) to buy into the current 28 days bundle here: This is a great bargain, fantastic modules (just check out what he's released so far!), great code (most require NO core code changes), *plus*, he does offer support and customization! So please, let's help @burt help us! (otherwise, he'll have to take a day job <gasp!>, while we all wait for Edge to be finished)
  7. 6 points
    burt

    28d, 2018

    Bonus #6 - Video Tab New Tab that shows one video per product. Could be an unboxing video, or whatever. If you want to be the awesomest shopowner ever...it could be a video of the Red Woman from Game of Thrones. Admin Side New Page for assigning video to product. Works only with Youtube at this moment (see Question below). Admin Side New box and links for these helper pages Shop Side New Tab showing the Video Question Is Youtube enough, or should there be other video hosting options? Created in response to @bruyndoncx great idea, thank you. Delivery: Tomorrow
  8. 6 points
    burt

    default shipping method change.

    It would be nice to allow shopowner to select which module should be selected? SQL: Use phpmyadmin or similar INSERT INTO configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ( 'Set Default Shipping Method?', 'SHIPPING_DEFAULT_METHOD', '', 'This will make shipping selection default to the selected method.', '7', '5', 'tep_cfg_pull_down_shipping_methods(', now()); CODE: /includes/classes/shipping.php Find: return $cheapest; Add ABOVE it: if ( defined('SHIPPING_DEFAULT_METHOD') && (SHIPPING_DEFAULT_METHOD != '--none--') ) { $shipping_method = basename(SHIPPING_DEFAULT_METHOD, '.php') . '_' . basename(SHIPPING_DEFAULT_METHOD, '.php'); for ($i=0, $n=sizeof($rates); $i<$n; $i++) { if ($rates[$i]['id'] == $shipping_method) { $cheapest = $rates[$i]; } } } CODE: /admin/includes/functions/general.php Add: function tep_cfg_pull_down_shipping_methods($shipping_method, $key = '') { $name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value'); $shipping_array = array(array('id' => TEXT_NONE, 'text' => TEXT_NONE)); $ship_array = explode(';', MODULE_SHIPPING_INSTALLED); foreach($ship_array as $k => $v) { $shipping_array[] = array('id' => $v, 'text' => $v); } return tep_draw_pull_down_menu($name, $shipping_array, $k); } Note: Untested, but should work. Feel free to optimise it to something more elegant. If it works, you should be able to go to admin > configuration > shipping/packaging and select which module should be used
  9. 6 points
    Dan Cole

    How to get the help you need.

    Need help? You've come to the right place. This post offers some general suggestions on how to get the help you need, quickly and efficiently. With over 1.6 million posts, your question has likely been asked and answered already so try searching the forums first. Using Google search generally produces the best results. In the Google search bar, just enter osCommerce and a description of the problem you are having or a likely topic for that problem and see what results are returned. You may get the help you need faster than you think. If you can't find the answer you need using Google Search then perhaps someone on the forums can help. Help is provided by volunteers, so please be considerate of their time, and provide as much information as possible. Here is a list of the information you should provide. Not all of it may be applicable to your particular situation, but providing as much detail as possible will result in a faster and more relevant reply. 1. Which version of osCommerce you are using? (you can find this at Admin > Tools > Version Checker). - Please provide the full version number, which is 3 or 4 digits ie 2.3.4.1 2. Also indicate whether you are using standard osCommerce or the Responsive (a.k.a. "Community Edition", "Community Supported") version. - If you are using version 2.3.4 or 2.3.4.1 and are not sure you can check whether your site is Responsive (mobile friendly) by entering your website address here. 3. Is this a new install or an existing store? - If this is a new install please be sure you are using the latest version of osCommerce which you can get here. 4. What version of PHP are you using? (you can determine this by looking at Admin > Tools > Server Info) - If your ISP has recently updated the version of PHP they are using, it can cause a variety of problems. Fortunately, recent versions of osCommerce have been updated to work with newer versions of PHP, so if you are experiencing issues with PHP, please consider updating your osCommerce software. 5. Now you are ready to provide a detailed description of the problem you are having, including if applicable, the steps needed to reproduce it. - Providing a link to the page where the problem can be seen or if you are receiving an error message, a screen shot or the exact text of the message displayed is extremely helpful. The more detailed information you can provide the better. Be sure to obscure (***-out) sensitive information such as your server account name. If you need to show your configure.php file(s), remove or obscure the database name, user, and password! Now that you've gathered the information needed, you'll need to decide where to post it. 1. If the problem relates to an add-on that you downloaded from the apps area please see if there is a support thread for that add-on, and if so post your help request there. Often the authors of the add-on monitor their support threads, and you'll get the quickest and most appropriate response there. 2. If your problem relates to a 3rd party product or template that you acquired elsewhere, then you should go back to the author or vendor of that 3rd party product and ask for help there. They will be in the best position to help. 3. All other requests for help should be posted to the General Support forum. Start your own thread instead of posting to an existing thread, even if they seem related to the problem you are having. Your problem or the version of osCommerce/PHP you are using may be different and only serve to confuse others who are seeking help with a similar problem. Ask a new question. If all else fails or you need help updating an older add-on, or perhaps creating a new one, commercial support is also available. Requests for commercial support can be posted here.
  10. 6 points
    burt

    28d, 2018

    Day 01 - Better Stock Message This is a Content Module that sits on shopping_cart.php which displays a better stock message. Core Code Changes YES - 1 line of code on shopping_cart.php Existing New Module Admin
  11. 6 points
    GLWalker

    Ive got a suprise coming

    And here's some general usage: https://youtu.be/dLgiD1FoTj4
  12. 5 points
    Harald Ponce de Leon

    Progress Update

    Hi All.. A quick progress update regarding what we've been working on recently. A new Community Team is being formed to help moderate community submitted content and to help with community relations and issues. This not only helps the developers in the team to focus more on code development and less on moderation, but also broadens the voice in the team when community related issues arise and are addressed. This new approach to the team is being ironed out and we'll be glad to invite more active users in the community to help out once everything is running smoothly again. For the curious, those we have initially invited can be seen on the forum staff page. An internal build of v2.3.5 has been in testing and this weekend will be spent fixing the known issues. A majority of reported issues and pull requests at Github have been addressed and will also make their way into v2.3.6 (the Community Bootstrap edition). These releases are planned to be the last in the v2.3.x release series to place all resources on v2.4/v3.0. Accommodations will be made if the community wish to continue working on v2.3.6 for future v2.3.x releases. More information about this will be announced with the releases. The next test builds will be made available to Ambassadors for a wider testing audience. Both releases will be officially pushed out this month. The forum software has been updated to the latest release series and introduces a new Clubs section to the forum. We've moved our partner announcements forum channels to the Clubs section where our partners can customize their own club sections further with logos and additional discussion channels. We're planning on adding multilingual Clubs in the near future, and also community requested clubs (eg, for community release editions). The upgrade of the forum software version was originally postponed due to changes made with user accounts and the integration we have with our main website. This also plays a role with the marketplace integration in v2.4 where user accounts are required. An online update for 2.4 will be pushed out soon to test the marketplace integration and user account logins/creations with. Release dates for v2.4 will be provided when the marketplace integration online update has been pushed out. Two new websites were planned to be launched in Q4 but are being pushed back to Q1 2018 to push our next releases out first. The new websites are for a proper commercial support inquiry / job marketplace website (to replace the not-so-user-friendly forum channel here in the forums), and a new user profile website (for Ambassadors) to highlight ones profile across all of our websites (submissions from our forums, live sites, and apps marketplace websites), with the focus on the person behind the screen name. Hope everyone has a great festive season!
  13. 5 points
    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) {
  14. 5 points
    burt

    Font Awesome v5

    FA have made a lot of change from v4 to v5. This includes a lot of icon name changes. The changes that we use in Core are [ from -> to ]; fa fa-cc -> far fa-credit-card fa fa-check-square-o -> far fa-check-square fa fa-clock-o -> far fa-clock fa fa-commenting -> fas fa-comment-alt fa fa-pencil-square-o -> far fa-edit fa fa-pencil -> fas fa-pencil-alt fa fa-refresh -> fas fa-sync fa fa-remove -> fas fa-times fa fa-send -> fas fa-paper-plane fa fa-sign-in -> fas fa-sign-in-alt fa fa-sign-out -> fas fa-sign-out-alt fa fa-star -> fas fa-star fa fa-star-o -> far fa-star fa fa-trash fa fa-cc-amex fa fa-cc-discover fa fa-cc-mastercard fa fa-cc-paypal fa fa-cc-stripe fa fa-cc-visa -> -> -> -> -> -> -> fas fa-trash-alt fab fa-cc-amex fab fa-cc-discover fab fa-cc-mastercard fab fa-cc-paypal fab fa-cc-stripe fab fa-cc-visa The easiest way to do this is to perform a global search/replace for each one of the above. This can be done using a tool such as beyond compare or wingrep, winmerge etc - whatever your tool of choice is. If your site is online, you could do this using grep (assuming your hosts let you). After the icon names are changed, you must perform a change in /includes/template_top.php and a change in /includes/languages/english.php There is also a Shim file that can be utilised, if you want to take a shortcut. In this case, read this page and be aware that I offer no help with Shim, so experiment yourself...and report back your findings. I suggest doing a proper upgrade in preference to using the Shim method.
  15. 5 points
    burt

    Modular Checkout

    Great, thank you. Will guarantee this goes into Core when you guys are ready to push it. We can also revisit the modular Cart (I will open a new discussion for that one in the next days).
  16. 5 points
    azpro

    Upgrade, or change cart?

    Interesting debate ... As a shopower I learned myself the skills to maintain and develop code for osCommerce ... The past 14 years or so I have looked at different carts from time to time (Presta - Magento - osC V3 - Shopify - etc.). For most of them - started a test shop - looked into the code - and especially tried to make an analysis of the eco-system. Believe me - it doesn't get better! Off course the lack of a roadmap (time table) is killing oSC. If Harald just/only would share his direction and objectives - a lot of community members could do a vast amount of work to bring oSC to a higher level. THANKFULLY @burt started his community edition - he did a massive job. But - if I understood right - the lack of support from the community (donate money - test - give feedback etc) made Gary decide to stop further development. And that's a shame! As I said - it doesn't get better with a different cart. osCommerce is the only true Open Source Cart in my opinion/experience. Easy to maintain for different skill levels of coders. Compare this to Magento ... a nightmare in debugging ... You probably end up with a professional that's gonna cost you a lot of money. And they (also) went from V1 to V2 leaving all your extensions useless. So - off course it's important to look around and keep openminded for different carts. But as long as osC keeps developing - even at a slow / minimal pace - I prefer to stay with osC. Hope this helps to convince some people to donate @burt so maybe he will reconsider ... just look in Github what he @BrockleyJohn and @wHiTeHat Henry did the past days https://github.com/gburton/Responsive-osCommerce/pulls
  17. 5 points
    burt

    28d, 2018

    Bonus #4 - Price Changing On The Fly Works in every currency. Lots of people wanted this... Core Code Changes None Video (watch the price as the select options are changed) This is one of the modules that was sent out for testing, and was late in coming back to me. This will be sent out later today or perhaps tomorrow.
  18. 5 points
    bonbec

    We need your help to finalize osC Edge!

    I am one of those who already receive Burt addons. To be honest, I was skeptical at first because I paid for addons "mystery" since we do not know the addons in advance. Well I can tell you that I do not regret it! It's well coded, it's clean, efficient and when needed, Burt is really available. Sincerely thanks Burt!
  19. 5 points
    burt

    28d, 2018

    Day 22 - More Product Tabs I have some more Tabbed goodness for you, these are used with the 28d02 set of modules. Core Code Changes NONE Tabbed X-Sell Set up X-selling on a per product basis. Show the X-Sells in a Tab! Note: Requires a previous X-Sell system of mine, included. Tabbed Social Sharing Much better looking Social Share Icons shown in a Tab! Note: Requires a previous social modules of mine, included. Tabbed Gallery This one I particularly like as I found a way to add in more Images ... by changing 1 admin setting they can then be shown in a Tab In standard osC, you get a gallery looking like this: By turning on the Tabbed Gallery and changing 1 osC setting...it transforms into this: Summary Three useful additions to the Tabbed System! Note While coding up these modules, I did find a tiny bug in the main p_i module, this would not have shown itself with the original included modules. Bug Hotfix will also be sent tonight.
  20. 5 points
    Tsimi

    ULTIMATE Seo Urls 5 - by FWR Media

    I just quote from google All what google says is they recommend or say it is good practice to make the URLs read-friendly so that customers/users can read or use the URL as link or navigation guide. It doesn't say one word that it will improve your SEO because of that. Google just says you should keep it organized. Another quote Again, no mention of SEO benefit. Visitor friendly does not equal better SEO or SEO results. Lastly, everyone can do what they want with their shop site it is their website and they should know what their customers might want. Look at Amazon, eBay or some other big shop they all have different URLs, some long, some short, some easier to read, some are super long and complicated. Important is that the "real" SEO stuff in your shop is working as it should then you'll end up getting good search results. So what @burt said isn't wrong at all. User friendly URLs have nothing to do with SEO.
  21. 5 points
    This addon minifies the shops css file. If multiple files are selected, it will combine them all into one file. This can reduce the time it takes for the shop to load. Depending upon the size of the css file and how many there are, the page load speed can be reduced by several seconds. It works in any oscommerce shop. For the 2.3.4 shops (both official and Responsive versions), the installation just involves uploading files. For older shops, one change may be needed.
  22. 5 points
    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.
  23. 5 points
    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.
  24. 5 points
    burt

    Grid List - Cookie

    Grid List is remembered via Cookie. This means loading in this file; https://github.com/gburton/Responsive-osCommerce/blob/master/ext/jquery/cookie.js It's not a big file, but it can be got rid of as so; Change these two lines: https://github.com/gburton/Responsive-osCommerce/blob/master/includes/modules/header_tags/ht_grid_list_view.php#L46-L47 To: $grid_list_js = <<<EOD <script>$(function() { var cc = localStorage['list_grid']; if (cc == 'list') { $('#products .item').removeClass('grid-group-item').addClass('list-group-item'); } else { $('#products .item').removeClass('list-group-item').addClass('grid-group-item'); } $(document).ready(function() { $('#list').click(function(event){ event.preventDefault(); $('#products .item').addClass('list-group-item').removeClass('grid-group-item'); localStorage['list_grid'] = 'list'; }); $('#grid').click(function(event){ event.preventDefault(); $('#products .item').removeClass('list-group-item').addClass('grid-group-item'); localStorage['list_grid'] = 'grid'; });});});</script> EOD; $oscTemplate->addBlock($grid_list_js . PHP_EOL, $this->group); Save file and upload. You should see no change at all in functionality. HOwever your site is now loading faster as it does not have to load the cookie.js file. Thoughts and Feedback appreciated. And code changes. Etc and so on. Pitch in.
  25. 5 points
    GLWalker

    Ive got a suprise coming

    How about this for install instructions https://youtu.be/cwaid91cp1A
×