Twocanes Posted July 7, 2018 Share Posted July 7, 2018 Hi, Using latest Responsive-osCommerce-master "Edge". I'd like to remove or modify the "New Products For MONTH" label on my Store's front page (index.php). TIA, -Kevin Link to comment Share on other sites More sharing options...
Hotclutch Posted July 7, 2018 Share Posted July 7, 2018 includes/languages/english/modules/content/index/cm_i_new_products.php you will see in there: const MODULE_CONTENT_NEW_PRODUCTS_HEADING = 'New Products For %s'; Link to comment Share on other sites More sharing options...
Twocanes Posted July 7, 2018 Author Share Posted July 7, 2018 Thanks Hotclutch, I made the const MODULE_CONTENT_NEW_PRODUCTS_ HEADING string ' ' and the text disappeared. Is this kind of information documented anywhere? I mean I looked, but all forum messages related to this issue are years old and point to the oscommerce-2.4.x version. I'd love to find these solutions without bugging you guys. -Kevin Link to comment Share on other sites More sharing options...
Hotclutch Posted July 7, 2018 Share Posted July 7, 2018 There's no updated documentation anywhere as far as I know. I don't think anybody minds the questions. Link to comment Share on other sites More sharing options...
Twocanes Posted July 7, 2018 Author Share Posted July 7, 2018 Okey-dokey, I'll likely have more of 'em. Link to comment Share on other sites More sharing options...
ArtcoInc Posted July 7, 2018 Share Posted July 7, 2018 @Twocanes What @Hotclutch told you is where to change the heading text for the New Products module (which is what you asked for). However, if you want to remove the New Products module, go to: Admin -> Modules -> Content. Click on the New Products module. Click on Edit (top right). Then, set Enable New Products Module to False. M Link to comment Share on other sites More sharing options...
Twocanes Posted July 7, 2018 Author Share Posted July 7, 2018 I followed Artcolnc's advice and used the Administration page to set that module and a couple of others to "false" and that removed the New Products. Link to comment Share on other sites More sharing options...
MrPhil Posted July 8, 2018 Share Posted July 8, 2018 That's how I read the original request (to remove the whole module from the page, not just the heading text). Link to comment Share on other sites More sharing options...
brittrix Posted July 9, 2018 Share Posted July 9, 2018 Quote ArtcoInc says "Admin -> Modules -> Content. Click on the New Products module. Click on Edit (top right). Then, set Enable New Products Module to False. " But there is no New Products module showing when I go to The Modules-Content option. I am running Online Merchant Version 2.3.4.1 Link to comment Share on other sites More sharing options...
MrPhil Posted July 9, 2018 Share Posted July 9, 2018 9 hours ago, brittrix said: But there is no New Products module showing when I go to The Modules-Content option. I am running Online Merchant Version 2.3.4.1 That's because you're running the official osC install, rather than the good one ("2.3.4.1BS Edge/CE/Frozen"). See the link in my signature. The official osC release is several years old and is a piece of crap. It's not your fault -- it's the site owner's fault for not updating the official release. Since you're just starting out, remove your current install and instead use the BS version. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted July 9, 2018 Share Posted July 9, 2018 27 minutes ago, MrPhil said: The official osC release is several years old and is a piece of crap. How sad its come to this! Link to comment Share on other sites More sharing options...
brittrix Posted July 9, 2018 Share Posted July 9, 2018 Thanks, MrPhil. I'll do that, but does that mean I will need to reload all of my products, product options, and pictures? Link to comment Share on other sites More sharing options...
MrPhil Posted July 9, 2018 Share Posted July 9, 2018 Not necessarily. You can of course copy over the pictures (into the same directory name). The database can be copied and then manually updated to the same schema (layout structure) in phpMyAdmin, to preserve your product information. If you have a lot of data already entered, that may be the easier method. If you have only a few items, it's your choice. Link to comment Share on other sites More sharing options...
brittrix Posted July 9, 2018 Share Posted July 9, 2018 I've downloaded the newer version, but I'm still at a loss on how to the upgrade/install. Pardon the newbie questions. Link to comment Share on other sites More sharing options...
ArtcoInc Posted July 9, 2018 Share Posted July 9, 2018 @brittrix Unfortunately, it is not an in-place upgrade. You will have to create a separate directory and a new database, and do a clean install there. Once installed, you can copy the pictures from the first installation to the new one. You *may* be able to copy the database from the first installation to the new installation, but you will have to manually compare the database structure, and make any changes to have the original table match up with the current structure. As @MrPhil said, it's up to you to decide if you can make those database comparisons and changes, or if you would rather re-enter all of the product information into the new database. HTH M PS: It's not that the 'official' version is "crap", it's just that it is very dated, and won't work well in today's world. Link to comment Share on other sites More sharing options...
brittrix Posted July 9, 2018 Share Posted July 9, 2018 Sorry, but once again, what is the process for installing the new version. The current version was installed using my web provider's script, but their ONLY script was for the 2.3.4.1 version. And is there any documentation for the newer version, especially for the installation process. Thanks. Link to comment Share on other sites More sharing options...
ArtcoInc Posted July 9, 2018 Share Posted July 9, 2018 @brittrix 1) You have hijacked this thread, and taken it off of the original topic. Not good form ... 2) As such, I'm not going into step-by-step instructions here for how to install osC on your host's server. 3) How much knowledge and experience do you have in moving files to and from your host's server, and working on the database on your host? If this sounds too much for you, you can post a RFQ in the Commercial area of this forum to hire someone to install this for you. M Link to comment Share on other sites More sharing options...
brittrix Posted July 9, 2018 Share Posted July 9, 2018 I apologize if I have offended or violated policy. I was merely continuing the thread which brought me here in the first place. That is how to remove the new products page. MrPhil suggested I upgrade to a newer version, but I am unable to find information on the procedure to do so. Yes, it starts to take the subject off topic a bit, but I was merely following up on the direction I was led. Link to comment Share on other sites More sharing options...
ArtcoInc Posted July 9, 2018 Share Posted July 9, 2018 @brittrix Understood. No offense intended. Just start your own thread on 'How to install the latest version of osC from scratch." Link to comment Share on other sites More sharing options...
ArtcoInc Posted July 10, 2018 Share Posted July 10, 2018 @brittrix Link to comment Share on other sites More sharing options...
santosh0425 Posted July 12, 2018 Share Posted July 12, 2018 Open index.php Find: include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); And Remove. This will remove "New Products For <MONTH>" from Index Page in your oscommerce site. Link to comment Share on other sites More sharing options...
ArtcoInc Posted July 12, 2018 Share Posted July 12, 2018 @santosh0425 14 hours ago, santosh0425 said: Open index.php Find: include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); And Remove. This will remove "New Products For <MONTH>" from Index Page in your oscommerce site. Actually, in the latest Community Edition version of osCommerce (aka: Edge, as the OP indicated), this is incorrect! The newer versions of osCommerce are much more modular, meaning you can turn feature on or off, all without any core code changes. If you are still running any version of osCommerce prior to the Community Edition, you should seriously consider upgrading (link in my signature below). Not only is the Community Edition more modular, it is Responsive (which means it will adapt the page layout depending on the screen size of your customers, very important in today's world of mobile devices), and is PHP 7.x ready (all older versions of osC *will crash* when your host upgrades their version of PHP). M Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.