Leaderboard
Popular Content
Showing content with the highest reputation since 03/28/2023 in all areas
-
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
-
Nginx setup for osc 4.12
osCommerce-Official and one other reacted to Webitbz for a topic
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.conf2 points -
Why doesn't PHP 8.0 work?
pandrei and one other reacted to jimdanforth for a topic
You have a nice life. I hopenyou are able to find what you need.2 points -
Why doesn't PHP 8.0 work?
Ken Shea and one other reacted to jimdanforth for a topic
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 -
2 points
-
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 helps2 points
-
Jesus, just spotted where I need to add it. Menus> Under menu select footer... Dohhhhh2 points
-
Try to change the same setting into the .user.ini file at the site root.2 points
-
@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
-
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
-
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
-
Managing Deficit Product Report
osCommerce-Official reacted to Inna Tretyak for a topic
Optimize your inventory management with our Deficit Product Report module. Learn to monitor and analyze orders, sorting and searching effortlessly. More details here1 point -
Additional Customer Fields Version 1.0.3 - Still won't install
osCommerce-Official reacted to herbsandhelpers for a topic
Hooray!!! Thank you, Lorraine1 point -
Frontend translation to German
[email protected] reacted to pandrei for a topic
1 point -
Issues AGAIN when performing simple edits of a standard OSC4 theme...
mendoh reacted to Ivan Holbi for a topic
Hi Mendoh, Please see my post above regarding the issues mentioned in this post. Regarding "Trying to re-enable the turned-off categories does not restore the previous layout." please see point 5 in my post above. Regarding "Even more puzzling, the categories and subcategories I added do show at breadcrumb or header level in homepage, however, as soon as you click on them, they will not show any products, despite at least one product per subcategory is actually present and enabled." in the category Audio surveillance microphones all the products in all the subcategories are switched off. But in the category Audio and video recorders all the products are switched on so they are displayed. Please see the screenshot below. Regarding "Missing new category", for example in the category Audio and video recorders the option Show on home page is switched on. Please see the screenshot below. That is why it is displayed on the front end. But this option is switched off on the category Audio surveillance microphones. Please see another screenshot below. So it is not displayed on the front end. Best regards, Ivan1 point -
Click & Collect plugin
osCommerce-Official reacted to pandrei for a topic
Open collection point in the Modules->Collection Points, check its address field and warehouse. Then open selected warehouse in Products->Warehouses and check its address1 point -
1 point
-
Unfortunately, there is no way to do this in the current version. I think it would be a good idea to have a button saying 'Apply to all nested categories' when editing categories in the 'Filters' tab. It might even be worthwhile to allow editing of the Top category to set filters for first-level categories.1 point
-
Fatal: Adding Components in menu breaks site
Smoky Barnable reacted to herbsandhelpers for a topic
Just reporting this, I don’t need to use it. If in menu you try to move Components (under top three) into the menu right. Then a strange graphic occurs under Components and the site breaks. I quickly shifted it back. Could be a bit nerve jangling for the unprepared and unexpected … Lorraine1 point -
PRODUCT MASS MOVE between Categories
Ken Shea reacted to Ivan Holbi for a topic
1 point -
1 point
-
It's the time that has passed since the user entered the site in seconds.1 point
-
Why doesn't PHP 8.0 work?
Smoky Barnable reacted to pandrei for a topic
The cause of the problem: 1. The default PHP version for the host is 5.4 2. When you select PHP version for your domain, the following code is adding to your root .htaccess # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php80” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php80 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit 3. When you start osCommerce installation it unpacks the osCommerce files and overwrites root .htaccess 4. After unpacking, it redirects to the install folder for next step, but the root .htaccess has already been overwritten and PHP version has been reset to 5.4. A 500 error occurs here because the minimum PHP version for osCommerce v4 is 7.4 Solution for now: after you get 500 error, go to PHP version selector in your Control Panel (it's called MultiPHP Manager in your case) and select PHP 8.0 again. If it is not work, you can add the PHP selector code to the end of the root .htaccess manually. Also we will add additional check for such case in the next osCommerce version. @InfoPulse, you can continue the installation, I've already reselect PHP 8.0 for your domain.1 point -
Some html code help needed
Ken Shea reacted to jimdanforth for a topic
add the extension of the file you want to link too. It will default to an htm (html) file if you do not. so ott-1.exe or ott-1.txt for example.1 point -
USPS Rate V4, Intl Rate V2 (official support thread)
Tiff13 reacted to ozEworks Support for a topic
USPS Rate V4 Intl Rate V2 I am not sure the change recommended by Smokey is 100% correct as it is only first class parcel that is being change to Ground Advantage, Also I believe that module is missing Retail Ground ... at least the version one client's had did. Attached is our go at the changes for that module. usps.php1 point -
Unfortunately, it won't work under php 5.3 Here is lines from its readme.md file: REQUIREMENTS ============ The minimum requirement by this project that your Web server supports PHP 5.4.0.1 point
-
Excellent Ken, top marks! For anyone who would would like to repeat this idea on their site, I assume Ken that has used an HTML widget and the code from this post... On reflection, one thing that might be worth amending is the styling for the buttons. Originally it was intended to keep them separate allowing you to style them as necessary, however, it might be better to use the theme's button style, so change the class="button... to class="btn-1...1 point
-
1 point
-
Hi Ken, - Go to your theme style sheet using the "css" button at the top, then change the "Choose widget or page css class" to select ".b-form" - Next, click in the editor window for the style sheet and press CTRL + F to open the find dialogue. - enter ".middle-form label" - There will probably be 2 occurances - Change the font color by setting the "color" attribute.1 point
-
Hi Ken, For the background on the hover-box for the cart, it appears that you may have a "background-color" attribute missing. Goto the CSS editor and search for ".w-cart", then check the rules you have defined for ".cart-content" as shown below... You can change the "$background-colour-7;" to any of the colors already definded in your theme variables (see right hand side of the window), or alternatively use a color of your choice in # format eg. #90ee90;1 point
-
Hi Ken, Try looking in ADMIN -> Design and CMS -> Menus. Select the categories menu at the top and you may find it in your category tree1 point
-
Hi Fernando, I think that they are used to group items together for promotional sales. By "tagging" a products sale / discount price you can quickly see items that were in that event. So first off, you would do something like create a new "SALES TAG" on the ADMIN -> Settings -> Sales Tags -> "Click Insert button in top right" Enter something like "weekend 13 promotions" Next you would go to ADMIN -> My Marketing Tools -> Sales Here you find a list of all products which you have a promotion or sale for. At the top there is a filter option for "Sales Tag" and you can use this to show just the promotions which have been assigned the selected sales tag So, to Assign your tag to a products promotion, click to select a promotion in the list at the bottom and click edit on the right hand side of the screen (or click insert button at the top to create a new one) Choose your sales tag in the box at the top and click save. Now, when viewing the promotions, you can use the filter at the top to see only the items with this tag. At the moment, the only bulk action you can do is delete! I'm sure there will be an add-on module to extent the functionality and you may even be able to group and filter some sales reports, but I haven't looked into this yet!1 point
-
1 point
-
Hi Ken, Yes, you will need to add the line background-color: #90ee90; to the .w-account css file and then save it. You also need to edit the widget in the visual editor to remove the current background and font colours you have set. If we can get the changes to take, it should work just fine. Here are a few screen shots I've taken from prototyping the changes on your live website in my browser. This process may help in future as it will help you track down which parts of the theme to change. 1. In my web browser, I click f12 to get the developer tools, then click inspector. Select an element on the page using ctrl + shift + C (top corner icon) and choose the account box 2. The current styles are shown over to the right. You can see that both background-color and font color are set. So next I click the tickmarks next to background-color and color to disable these styles (this will be like us clearing them from the account widget) Next, I am clicking html document window to exand the A class to reveal the "::before" pseudo class, then click it to select and display the styles applied to it. You will see in the top right the ".w-account .my-acc-link::before" style. It currently has #0 for the colour and no background-colour set! (as per the browser window perview) - Will are going to test our changes here, then they will need to be duplicated into the themes css when we are happy. This one is fairly simple, we are just going to add a new entry for background-colour: #90ee90; You will see the icon spring to life - the preview is slight wrong colour because it is selected but de-selecting you will see it is as required Alternatively, it you are looking to blanket change all of the yellow to another colour, consider the styles button in the themse section. For the buttons, they are coloured using a variable named background-color-4 :: you will see this available down the right hand side when editing the CSS for the account widget. Just click to insert the colour-name, sort of like a short cut - everywhere that it appears will be replaced with the colour you define on the "styles tab" If you make changes on the styles tab you will need to flush the cache and rebuild the theme from the ADMIN menu. (Make sure the style rules have a ; at the end - missed it when taking this screen shot!! )1 point
-
Hi Steve, good to have you back! - I noticed that all of your posts had disappeared and there was no way to contact you. I think that the team have been blanket banning these spam bots and you must have got caught up in that, hope that can restore all of your contributions1 point
-
google fonts GDPR user acceptance check
Smoky Barnable reacted to appshop-claus for a topic
A couple of months ago a german court decided that website owners whose pages load google fonts without prior acceptance by the visitor offend against GDPR and must pay compensation for immaterial damage (yes, it's mad) if brought to court. This is because for the download process your IP address is transmitted to the US and in contrary to european laws state institutions there can use this IP in reverse to get personal data from european providers and hosters. Therefore users must be able to reject the font loading or the fonts have to be loaded locally from a european server. I examined the given osComm templates and found that google fonts are loaded en masse. So I thought "lets comment out the loading code" and arrange the loading from my server or lets use substitute-fonts by the system. I failed by doing so because I could not find any (header-) code responsible for it. My guess now is that it must be found in the database. Before I start screwing around in the database my question: has anybody already solved this issue and can provide a plan? The second question: can the osComm developers either provide a GDPR fitting tool to let the visitors decide whether they want google fonts or not or just renounce the use of those fonts? Thanx and regards1 point -
Thanks Andy! You are right! We'll fix the translations in the next update.1 point
-
1 point
-
Order Number start setting
Ken_Shea reacted to Ivan Holbi for a topic
Hi Ken, This setting is included in the module - Custom invoice numeration. Please see the link below. https://www.oscommerce.com/app/custom-invoice-numeration Once it is available for download in your App Shop you will be able to use it. Best regards, Ivan1 point -
Layout & Captcha
jroc9999 reacted to MrMayberry for a topic
1 point -
Unfortunately that issue might happen in osCommerce < 4.12 There are two ways to solve it: 1) Run this SQL UPDATE configuration SET configuration_value = 'False' WHERE configuration_key = 'PREFERRED_USE_RECAPTCHA'; 2) Editing the file 'admin/includes/local/configure.php' and add the following line: define('PREFERRED_USE_RECAPTCHA', 'false');1 point
-
Layout & Captcha
MrMayberry reacted to jroc9999 for a topic
Problem verified and fixed as per MrMayBerry's comments above. See photos for some paint brushing Returning coding... move captcha coding (lines 28 to 32) below line 45 Register coding... move captcha coding (lines 243 to 247) below line 252 Keep in mind your coding lines may not be exactly the same, but this is good place to start, and what you are looking for. Enjoy1 point -
Hello Ken, have you tried any of these: https://www.oscommerce.com/app/zonetable https://www.oscommerce.com/app/flat ? They worked for me...1 point
-
Hi Chris, Edit SMTP Mailer options and select Swiftmailer. Then check the mail sending. If there is an error try changing SMTP Encryption option to Secure to regular port (STARTTSL).1 point
-
1525 - Incorrect DATETIME value: '' error
stitchontime reacted to Demitry for a topic
Go into catalog/includes/functions/banner.php and find tep_activate_banners() function. Change the $banners_query line to the following: $banners_query = tep_db_query("SELECT banners_id, date_scheduled FROM banners WHERE date_scheduled IS NOT NULL");1 point -
jQuery/Ajax Advanced Statistics for osCommerce 2.3
Smoky Barnable reacted to Ben23 for a topic
Hi I've just installed this module (on a modified 2.3.4+Bootstrap Gold) and I have to say it's a fantastic piece of work. Easy to install, looks spiffy, loads of features, and significantly higher code quality than the majority of OSC modules! Thankyou so much for all the work that's gone into it. I have a couple of minor bugs to report. The first one is with the Customer filter, which fails with the following error in the Apache log: PHP Fatal error: Call to undefined method mysqli_stmt::get_result() in /var/www/hht/hhtadmin/advanced_statistics/ajax_request.php on line 93 Looking at the documentation for that function at http://php.net/manual/en/mysqli-stmt.get-result.php, it says it's only available with mysqlnd. Since you claim at the top of this thread that mysqlnd should not be required, does this need rewriting to use a different method? Or is mysqlnd essential for this to work? I'm using PHP 5.4. The second concerns the menubar. At the moment, only the leftmost icon (which keeps changing - presumably this is intentional but it makes it harder to describe to users what they should be looking for) has a decent tooltip describing what it does. The rightmost one (which is showing as an "unknown character" glyph on my system) also has a tooltip but it is needlessly tall and narrow: see attached screenshot. The other three icons are not showing tooltips at all, thus they have no explanation what they do. And one further suggestion: It took me a while to figure out how to close the filter sidebar (by clicking outside it), so how about adding a Close button inside it just to avoid any frustration. Thanks again for your excellent work.1 point