Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Leaderboard

Popular Content

Showing content with the highest reputation since 03/28/2023 in all areas

  1. Exciting Announcement! We are thrilled to introduce the brand new osCommerce YouTube channel, created exclusively for osCommerce enthusiasts like you! 🌟 Discover our channel: osCommerce YouTube Channel Join us as we embark on a journey to explore the world of osCommerce and unlock its full potential. Our channel is dedicated to providing you with valuable tutorials, insightful module descriptions, and helpful setup assistance. 🎥 Featured Video: Latest PayPal API 2.0 for osCommerce 2.2 and 2.3! 🆕 🔗 Watch the video here: PayPal API 2.0 for osCommerce In our first video, we dive into the exciting realm of the latest PayPal API 2.0 for older versions of osCommerce (2.2 and 2.3). Learn how to seamlessly integrate this powerful module into your osCommerce store. Stay tuned for step-by-step guidance and expert insights to enhance your PayPal integration. 📅 Upcoming Videos: Over the next two weeks, we have a lineup of videos related to this new PayPal integration that you won't want to miss! Stay connected with us to explore additional features, troubleshooting tips, and best practices. 🔔 Subscribe to our channel and hit the notification bell to stay updated on our latest releases! Don't forget to like, comment, and share your thoughts with our growing osCommerce community. Let's embark on this osCommerce adventure together and make your online business thrive! See you on the channel!
    4 points
  2. pandrei

    API

    We'll do it soon. Maybe we'll add both APIs, maybe only RestServer. I think within 2 weeks. It depends on the commercial load.
    2 points
  3. rssreader

    API

    I do not understand. Why doesn't it have the correct title/description? Anyway, without API is the whole Oscommerce v4 useless.
    2 points
  4. To get osCommerce 4.12 running on my Windows 11 WSL Ubuntu 22.04 NGINX 1.18.0 PHP 8.2 system I did following: First installed osCommerce on the server (on a demo virtual domain). Added nginx.conf file to the root of the osCommerce installation (see attached nginx.conf file). Created empty access/error log files. Adjusted vhost configuration for my test domain (see attached vhost.conf file). I might be an idea to add this nginx.conf to the core osCommerce distribution for easy setup nginx users. nginx.conf vhost.conf
    2 points
  5. You have a nice life. I hopenyou are able to find what you need.
    2 points
  6. Kinda demanding to come hear and get nasty for something you were given for free. Then when help was offered you were still rude. Personally, I would have just bounced you from the group and gone on with life. We have uncovered probelms and been able to resolve them with the teams support and Andrie has been very helpfull. I would suggest you back up just a bit and listen instead of complaining.
    2 points
  7. pandrei

    does not register

    I mean these two fields for your active sales channel:
    2 points
  8. So I have now solved my shipping cost issues and want to share what I have done. My store in particular sells high end goods. So it was important for me to get the shipping costs correct. So Northern Ireland, Scotland, England & Wales have there own shipping costs. There are many ways to handle the shipping costs but there is nothing that can do it based on where the customer lives. This can be extended to the Highlands and Islands of Scotland also. Even a seperate one for Jersey, Guernsey if needed. Step 1 First step you need to visit settings>Locations>Geo Zones Step2 Create your Geo Zone Shipping Areas. In my case I create Scotland, Northern Ireland, and Free Shipping (This is the free shipping for the UK and Wales) So drilling down into the Northern Ireland Geo Zone I can enter all of the Counties Here Step 3 So now I want to create a new shipping module for Northern Ireland only and only for people that live in these counties So now we access via FTP or CPANEL of what ever you use Lib>Common>modules>ordershipping Here I will take a copy of flat.php and this will be the Northern Ireland shipping module I rename it to NI.php and modify the following important values: Class XX extends Moduleshipping { 'the XX has to be unique for any new shipping module' In this case I change it to NI The next important steps are anything that contains MODULE_SHIPPING_XXXXXXX. Rename XXXXXX to be your new shipping module name. In my case I have chosen NI. Change this for all values in the file. example class NI extends ModuleShipping { var $code, $title, $description, $icon, $enabled; protected $defaultTranslationArray = [ 'MODULE_SHIPPING_NI_TEXT_TITLE' => 'NI Rate', 'MODULE_SHIPPING_NI_TEXT_DESCRIPTION' => 'NI Rate', 'MODULE_SHIPPING_NI_TEXT_WAY' => 'Northern Ireland' ]; // class constructor function __construct() { parent::__construct(); $this->code = 'NI'; $this->title = MODULE_SHIPPING_NI_TEXT_TITLE; $this->description = MODULE_SHIPPING_NI_TEXT_DESCRIPTION; if (!defined('MODULE_SHIPPING_NI_STATUS')) { $this->enabled = false; return; } $this->sort_order = MODULE_SHIPPING_NI_SORT_ORDER; $this->icon = ''; $this->tax_class = MODULE_SHIPPING_NI_TAX_CLASS; $this->enabled = ((MODULE_SHIPPING_NI_STATUS == 'True') ? true : false); Step4 Once you have changed all of the values save your changes. Now move that file back into the Lib>Common>modules>ordershipping folder Step5 Now head to modules>shipping>offline and click show not installed. The file you created will be shown below. Click intsall The result is as follows Attach you new Geo Zone to it And make sure it is enabled for checkout etc... Now when a customer orders an item from my store they will be charged the correct shipping rate. This is how I am doing it and for me it works as I need it to work If a customer lives in Scotland lets say Aberdeen then when they enter the county the shipping will be applied or freeshipping for Bedfordshire Make sure you select United Kingdom in the settings Hope it helps
    2 points
  9. Jesus, just spotted where I need to add it. Menus> Under menu select footer... Dohhhhh
    2 points
  10. pandrei

    new update crashed

    Try to change the same setting into the .user.ini file at the site root.
    2 points
  11. pandrei

    new update crashed

    @Ken_Shea, @jimdanforth, @CHD-UK after unzipping, upload the attached file to the site root and open this link in the browser: https://your_site/apply_migrations.php apply_migrations.php P.S. if you don't see the Finish in the end of the page, send me a screenshot or saved html page and log files from here lib/console/runtime/logs/*.log.
    2 points
  12. Andy is right - the template key is working fine in the latest 4.11 version. It is right fix, we will include it in the next update. Thanks Andy, you are right again. Your fix will be included in the next update. It will be fixed in the update, which we are going to release this week.
    2 points
  13. pandrei

    How to get by captcha

    Just turn off Google recaptcha by running this SQL: UPDATE configuration SET configuration_value = 'False' WHERE configuration_key = 'PREFERRED_USE_RECAPTCHA' Or by adding this line in the admin/includes/local/configure.php: define('PREFERRED_USE_RECAPTCHA', 'false');
    2 points
  14. Happy Friday the 13th! On this auspicious day, we're thrilled to introduce osCommerce 4.13, a leap forward in e-commerce excellence. With an unwavering commitment to innovation, we've chosen this unique date to release something truly extraordinary. This update defies superstitions and symbolizes our dedication to progress. osCommerce 4.13 is more than just a standard upgrade; it's a celebration of innovation, a testament to excellence, and a shining example of our ambition. Experience the latest features, enhanced performance, and an impeccable user journey. Join us today and boldly step into the future of e-commerce with osCommerce 4.13. Your online business deserves nothing but the best! P.S. do not forget it is international day for failure today.
    1 point
  15. Chadduck

    V4.13 Update Issues

    Good morning @pandrei After some thought I decided that perhaps I should "Flush Cache". After my problem with the migration, that occured while you were out of the of the office, and I seemingly resolved it following your directions with the file you had posted here https://www.oscommerce.com/forums/topic/508432-how-to-upgrade-the-oscommerce-version-41256860-to-4_13_60075/#comment-1842984 At that time my Migration failure issue had been fixed as the solution you had offered showed that the migrations had been applied. This morning I wondered IF flushing the cache would make any difference. I selected EVERYTHING with the exception of "Logs" and performed the "Flush Cache" routine again. I was NOT expecting the results to be as extensive as the attached PDF content shows. Although I had done what you had posted in the above post and yes the migrations had shown that they had applied there must have been some parts that had not actually been performed. Performing the FLUSH CACHE this morning apparently applied ALL the parts needed as 1. The products can now be editted 2. The log ON/OFF error screens are no longer displayed. So, at this point, my issues seem to be RESOLVED. I want you to know that I truly appreciate all the work that you do behind the scenes in assisting everyone. IMHO, your assistance is invaluable, THANK YOU. BJ 20231118 Cache Control_Backend.pdf
    1 point
  16. During the website development process, protecting your test site from prying eyes and accidental interactions is paramount. It's a common practice to shield test websites from search engine indexing and unintended customer activity. Explore the simple steps to activate Development Mode
    1 point
  17. Ken Shea

    PHP version

    Hi Joe, Anything from 7.4 to 8.2
    1 point
  18. The Networking Store https://network-cabling.co.uk/store/
    1 point
  19. Yes, as I previously mentioned in this thread creating a daily cron job and having the file fetched daily has been working great for me. No need to upload via FTP.
    1 point
  20. It's almost ready, we're doing the final fixes and testing. Hopefully we'll release it within two weeks.
    1 point
  21. Hi BJ, It looks like once you enable "watermarking" for a "platform" / sales channel, then you are only able to bypass this setting if either the product has been marked as "no_watermark" (as you have discovered) or if the customer belongs to a group which by passes the watermark (not appropriate in your situation) As far as I can tell, the only option (out of the box) is that you go into the products individually, select the images TAB and then click the "don't apply watermark"... a bit tedious! So options are, 1) write a add-on which allows selecting of categories and toggling the watermark switch or 2) running some SQL to set the "no_watermark" flag based on the category name Option 2 is quick and easy so here's some SQL to get you started. This will set the "no_watermark" flag for all product images which are in the category named "Accessories" Make sure you test on a non-production database first to ensure you are happy with the way it functions before unleasing it ! Make sure you change the WHERE cd.categories_name="Accessories" on the last line to the correct categories name for your needs (Case sensitive) Change the first line to "SELECT * FROM `products_images_description`" to check the selection looks correct before executing UPDATE `products_images_description` SET no_watermark=1 WHERE language_id=0 AND products_images_id IN ( SELECT products_images_id FROM `products_images` pi LEFT JOIN `products_to_categories` p2c ON pi.products_id=p2c.products_id LEFT JOIN `categories_description` cd ON p2c.categories_id=cd.categories_id WHERE cd.categories_name="Accessories" AND cd.language_id=1);
    1 point
  22. Hi @astecme, @pandrei I've had a look into this and as far as I can tell it is a JavaScript timing problem which occurs with the "Furniture", "Print Shop" & "B2B" themes. For me at least, The "Notify me when in stock" button works on the Watch theme! Until this is resolved, as a work around you can add the following code to xxx/lib/frontend/themes/basic/boxes/product/buttons.tpl Goto line 50 and insert: <script type="text/javascript"> tl('{Info::themeFile('/js/main.js')}' , function(){ $('#btn-notify').on('click', function() { alertMessage(` <div class="notify-form"> {Html::beginForm(Yii::$app->urlManager->createUrl('catalog/product-notify'), 'get')|strip} <div class="middle-form"> <div class="heading-3">{$smarty.const.BACK_IN_STOCK}</div> <div class="col-full"><label>{$smarty.const.TEXT_NAME}<input type="text" id="notify-name"></label></div> <div class="col-full"><label>{$smarty.const.ENTRY_EMAIL_ADDRESS}<input type="text" id="notify-email"></label></div> <div class="center-buttons"><button type="submit" class="btn">{$smarty.const.NOTIFY_ME}</button></div> </div> {Html::endForm()} </div>`); $('.notify-form').closest('.alert-message').removeClass('alert-message'); $('.notify-form form').on('submit', function(){ ajax_notify_product(); return false; }); }); }); </script> Should look like this Save and refresh your browser. You need to make sure you are displaying a product that has no stock (or just raise the "out of stock level limit" in the product "main details" tab) Let me know how you get on
    1 point
  23. Hi @jessicana, Changing the text using the "Design & CMS -> Translation" option should not affect the icons as they are part of the template - it appears that somehow you may be missing the ::before psedo-element from your template. Check using the developer tools in your web browser. If it is missing - add it back in. Make sure you have "expert mode" selected before editing the theme Edit the theme, select the home page then hover over the item and click the green pencil In the popup window, make sure the HTML text is ##TEXT_SAFE_SECURE## then click "Widget Style" TAB Then click "Pseudo classes, :before" - Make sure the class is set to "local_shipping local_shipping3" (for the padclock icon) Alternatively - Depending on how much work you have done, you could try a reinstall of the theme - make sure you have a backup incase your translations are reset! or something - I've not tried this as I've not needed to do it
    1 point
  24. gsmiley007

    Easy Populate V 3.0

    Thanks, Did the code changes. Did a reload of the page and the errors are gone. I only use 2 functions, csv file dump and restore. I did both a dump and restore and no error messages.
    1 point
  25. Back up theme and data base Admin>app Store> search Testimonials Select Install Once installed create menu (I put it in the header) Admin>Design&CMS>Menus Select Header Menu from the drop down list under Menus From the “Info Pages” left column drag the “Testimonials” to the right with in the Menu list. You can then slide those selections around to suit. Save after any changes If you want the title to be other then “Testimonials” click the pencil icon to the right and with in the Title enter what you want. Click Apply > Save That should do it, good luck I filled out a test Testimonial, received a email with a link to edit / approve / rank Check Pandrei post for further information.
    1 point
  26. Here you may find whole details about oscommerce and PayPal integration: https://www.oscommerce.com/paypal-provider This topic answering to questions, such as : why PayPal api v2. Why upgrade to it. Why it free of charge for you. Etc. Enjoy!
    1 point
  27. I'm not being nasty and I'm not complaining -- just pointing out the installer didn't work for me using PHP 8.0. And if it didn't work for me, it won't work for others. Could be just the installer that doesn't support 8.0 -- but if I or someone else doesn't post that there is a problem, how will it get fixed? I did quite a bit of searching in the Forum and elsewhere to see what the problem might be and couldn't find any answer -- why would you attack me for pointing out a problem? Are you trying to discourage people from pointing out problems? I do see that eventually support and custom extensions will be offered for money -- which we will gladly pay for as we've been using osCommerce for more than 40 stores since 2004 and are hoping to move them to osCommerce 4 starting within the next couple of months or so. So we are anxious for this to work -- but not at the expense of being treated like we're a pest and nasty for pointing out a problem.
    1 point
  28. If the update contains a modified file, it will ask you to force the update before which you can choose to ignore the update of that file. However, keep in mind that ignoring the update will result in an out-of-sync version, which can lead to loss of functionality. The correct course of action in this case is: 1) back up changed files 2) forced update 3) reapplying your changes
    1 point
  29. ooops, didn't realise that it was a two-parter!... miss-read the question! Glad you got it sorted!
    1 point
  30. sorry Ken, Did not get back quick enough. Have been snowed under recently. I try to help but sorry that I could not get back. Normally I get a notification if I get a reply but not been getting them. Thank go for Andy, a true gent....
    1 point
  31. pandrei

    does not register

    You turned on Store Page Parse Time option into Admin->Settings->Configuration->Logging but did change Log Destination file and it's name is incorrect in your site. Just turn off Store Page Parse Time or change Log Destination to correct file name.
    1 point
  32. Ivan Holbi

    Glitch or bugs

    Hi Mark, In the beginning when you make the first actions in the theme the system creates the backup. Maybe this is the reason why it keeps timing out. Best regards, Ivan
    1 point
  33. Thank you Ken. Yes, more video for this topic and for v4 are upcoming. Main problem- it takes a time and requires a lot of resources, so it's not quick process... why v2 was selected as pilot one- forum member asked. PayPal asked for a help in this case (as far as I get, maybe I'mwrongof course - they will close old API soon). So, we first help who under risk of old module (new one osc v4 already powered with paypal v2 api) and continue with explanation of PayPal v2 for osc v4. Hope it helps.
    1 point
  34. No doubt I'll be able to help
    1 point
  35. 1 point
  36. The complexity will depend on what you are trying to achieve, where you on/in the system you are trying to acheive it and what information is available to the running code. For example, you can create a basic popup dialog by just adding a bit of code your product description (see below for an example), however if you wanted the button to display the popup it to appear in a different section of the product page, you would probably need to modify one of the template files or possibly create a widgit which can be re-used and hence added anywhere on the page. Also if you want to display other dynamic data from the database, that would require more effort, this is just for some additional static content. Here's a really basic popup dialog which is triggered from a button in your description. Is basically displays further information which is contained in the description field. Because the additional information is in a "dialog" element, it is not displayed by default. Couple of things,it is possible to add styling to all of the elements, I've skipped that for now. Also the Javascript which is used to show and hide the dialog will need to be added to every description field which is inefficient. I would be better to add it to the page. There is a section to add js code in the theme, but this is currently executed before the dialog box is available so would need to be delayed or added after the dialog box. Goto ADMIN -> Products / Catalog -> Products (Brands / Categories) and choose a product. Click edit, then goto the "Name and description" tab for the main "Products description", click the "source" button to edit the HTML for the description Paste in the following sample description and Save <p>This is the main description for this product and is visible all of the time. Click the button below to popup additional information to the customer.</p> <button class="button opendialog-button">Show Specifications</button> <dialog class="productmodal" /> <h2><strong>Popup for Extra information here</strong></h2> <p>Product Specifications</p> <ul> <li>Fully metal exterior</li> <li>Easy to Clean</li> <li>Fun to use</li> </ul> <button class="button closedialog-button">Close</button> <script type="text/javascript"> const productmodal= document.querySelector(".productmodal"); const openModal = document.querySelector(".opendialog-button"); const closeModal = document.querySelector(".closedialog-button"); openModal.addEventListener('click', (e) => { e.preventDefault(); productmodal.showModal(); }); closeModal.addEventListener('click', (e) => { e.preventDefault(); productmodal.close(); }); </script> Go to the products description on the front end and you should see a new "Show Specification" button in the description.
    1 point
  37. Save you some digging .... that's changed on one of the menus, ADMIN-> Design -> Menus then select "footer1" from the menu drop down
    1 point
  38. Ivan Holbi

    FILTER

    Hi Florian, Regarding the issue you reported we checked it from our end on one of your categories (https://yourwebsite/admin/categories/categoryedit?categories_id=97#tab_5) and it worked as it should on both the front end and the back end. Please retest on the other categories. If you still face any issues please let us know. Regarding "Our installation will have to be modified outside of the backend to allow us to work with it as there is no option to work with articles only allowed above a certain age. I assume there won't be an overview which files will be changed during the updates?" when you press Update Now button to apply the system update, the system checks all the updating files and if it detects a file that was changed it displays a warning message and allows you to ignore the update for such a file. So, you can apply an update and leave the files you modified intact. But the osCommerce may become unstable, because some of the files will be updated and some of them will not. Best regards, Ivan
    1 point
  39. DrFlo

    FILTER

    We're currently preparing a new installation of OsCommerce 4 to replace an old shop installation. So far it's been quite a journey but we're making good progress. Trying to add properties and use those as filters we stumbled accross this topic. First off I have to admit that there's no chance I'd ever gotten an idea of having to install an extension for a function that seems like it's already in place. Before installing the plugin there is no way to toggle the switches on the category as seen on the screenshot bale76 posted. We've installed and activated the extension and can now slide options, however saving those values will never work. They will always be ticked off when opening the settings again plus the price filter that's on the system by default is missing once the extension is activated. I'm wondering if this project is actively worked on and worth working on as the documentation is really bad, barely showing anything but obvious options. As much as I'd like to use it, it does not seem to be moving and there's too many bugs that are hard to fix without any documentation. Hope someone has found a way to actually use the Product Properties Filters. Thank you
    1 point
  40. Got it Andy. Thank you Ken
    1 point
  41. Hi Ken, Your background on the my account is because there is an extra "color" in your background-colour attribute. If you remove that and ensure that the variable name starts with a $ then that should fix one issue. I'll have a look at the other now...
    1 point
  42. If you add a product to the cart on your website then I think it will load and can be edited
    1 point
  43. I can see where that was a big deal for you to get right and your sharing will surely save others a lot of time and frustration.
    1 point
  44. Ken Shea

    Editing text help

    That tookcare of it Andy All good Thanks guys
    1 point
  45. warleb2

    Attribute Images

    I managed it like this. So in this case it works a bit better. Going forward models changes or different finishes can just be added to the template and pushed towards the model that needs it. So its OK now for me
    1 point
  46. Added ##CUSTOMER_LASTNAME## to EmailController.php , it does now list ##CUSTOMER_LASTNAME## in the "Key List" it still does not add last name to order confirmations. The "and ideally to the translations in the database too" is not something I could do is it?
    1 point
  47. By default, taxes charged only for sales channel country/state. But if you turn on Calculate different tax by country option, you will be available to set taxes for different countries and states.
    1 point
  48. I updated mine in the MySQL settings next invoice number. You can setup any format you would like. Example: 102023-1001 Let me know if I can help you out.
    1 point
  49. Gyakutsuki

    Team

    Hello, I know the circumstance in Ukraine are really difficult but I want to say to you thank you and I wish you all the best .
    1 point
  50. Install View Counter to control that. It allows you to control such issues, and others, and allows you to block the IP from admin.
    1 point
×
×
  • Create New...