Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'categories'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • oscBooks and oscTemplates's Announcements
  • Mini Template System's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements

Found 15 results

  1. Currency Images

    This is a revised version of the Currencies as Flags addon by Gary (burt). It provides a way to display the currencies as flags instead of text. It is written for the Community Edition (Bootstrap).
  2. This Addon replaces the New Product page in your store's admin with a tabbed interface that is better organized and easier to use. The rest of the Categories/Products admin is the same; only the Product page has been changed. I backported this from the osCommerce 2.3.5 Beta, then added the additional fields that the Bootstrap version uses. I did this because the old Products page has always felt poorly organized and confusing to me. If you feel the same way, give this one a try. Code is here. Screenshot:
  3. Hey All, I'm getting familiar with the latest Bootstrap version and I've come across something I can't quite figure out. Is there a way to call the category and manufacturer boxes separately from the "boxes_column" sections? Of course, I could just use: <?php echo $oscTemplate->getBlocks('boxes_column_left'); ?> And in the admin, remove the boxes I don't need. However, I'd like to know if there is a way to just pull/call/echo whatever structure I needed from the columns.
  4. Hello all, I'm using All Manufacturers for BS by @reflex-ocasion https://apps.oscommerce.com/clER0&all-manufacturers-bs. It's a great module to have for search engine crawling and user experience. A step further (for large stores with hundreds or thousands of brands) would be to arrange on the All Manufacturers page alphabetically like: A Animal Apple B Bakery Box It has been done by @amseek here: https://apps.oscommerce.com/00fKs&all-manufacturers but not adapted to BS version nor the Community Edition by @burt. I have the instructions and code for the All Manufacturers from 6 years ago OSC version 2.3.1: All Manufacturers Contribution v.1 for osCommerce 2.2 - Alpha-Split Layout Option (March 2012) -------------------------------- Created by Art Main OSC:amseek www.goldcoastdesign.org http://addons.oscommerce.com/profile/253123 Overview -------- This contribution adds an alphabetized list layout option to the all-manufacturers contribution. You can choose to control the number of columns to show (or let the program choose), the width of each column and the alignment (CSS text-align values) for each column. Please note: There are still a couple CSS quirks with regards to the borders and overall layout. I don't have the time to track these down, but just so you are aware. The Alpa-Split php and html are sound though. Thanks ------ Alex Kaiser (alex@pooliestudios.com) - original mod Installation ------------ 1. Install the All Manufacturers Contribution v.1 for osCommerce 2.2 (contrib page: http://addons.oscommerce.com/info/1685/v,22) if you don't already have it installed. 2. Apply the following changes below. 3. To enable, change the COLUMN_LISTING value to 'alpha-list'. ==================================== allmanufacturers.php: ------------------- find (app line 30): define('COLUMN_LISTING', 'false'); // added by azer change to false for columns listing ------------------- add after: //+CSS/Alpha-Split Layout Option $num_cols = 'auto'; //number of columns (int) or 'auto' (default is 'auto') $list_align = 'left'; //CSS 'text-align' values (default is 'left' for Alpha-Split layout, otherwise default is 'center') $col_width = 'auto'; //CSS 'width' values (if just a number, 'px' will be assumed). Default is '150px' //set to 'auto' for no set CSS width (Alpha-Split layout only) //-CSS/Alpha-Split Layout Option ------------------- find (app line 97 [line 186 if you have CSS Layout Option installed]): } else { // column ------------------- before add: //+Alpha-Split Layout Option } else if (COLUMN_LISTING=='alpha-split') { $manufacturer_name_query_start = "select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_name"; $manufacturer_name_query_end = " order by manufacturers_name"; $manufacturers_query = tep_db_query('select count(*) as count from ' . TABLE_MANUFACTURERS . ' order by manufacturers_name'); $item = tep_db_fetch_array($manufacturers_query); $num_manufacturers = $item["count"]; if (!(tep_not_null($num_cols) && is_int($num_cols))) { $num_cols = 5; } if ($num_manufacturers > 0) { $num_headings = 0; foreach (range('A', 'Z') as $letter) { $manufacturer_name_query = $manufacturer_name_query_start . " like '" . $letter . "%'" . $manufacturer_name_query_end; $manufacturer_name = tep_db_query($manufacturer_name_query); if (tep_db_num_rows($manufacturer_name) > 0) { $num_headings++; //adjust for letter headings while ($manufacturer = tep_db_fetch_array($manufacturer_name)) { $manufacturers_result[$letter][] = $manufacturer; } } } } if (tep_not_null($manufacturers_result)) { $column_itor = 0; $itor = 0; $num_per = ceil(($num_manufacturers + $num_headings) / $num_cols); foreach ($manufacturers_result as $letter => $manulist) { $itor++; foreach ($manulist as $index => $manuitem) { if ($letter == $curr_letter) { $itor++; $curr_letter = null; } if ($itor >= $num_per) { $curr_letter = $letter; $column_itor++; $itor = 0; } $manufacturers_list[$column_itor][$letter][] = $manuitem; $itor++; } } //set up user chosen params $pattern = '/^(\d+)(in|cm|mm|px|em|ex|pt|pc|px)?$/'; if (preg_match($pattern,$col_width,$matches)) { if (empty($matches[2])) { $col_width_text = 'width:' . $matches[1] . 'px;'; } } else if ($col_width != 'auto') { $col_width_text = 'width:150px;'; } if ($list_align != "center" && $list_align != "right") { $list_align = "left"; } ?> <style type="text/css"> <!-- div.alpha_list_container ul { text-align:<?php echo $list_align; ?>; } div.alpha_list_container ul li { <?php echo $col_width_text; ?> overflow:hidden; } --> </style> <div id="manufacturers_list_container" class="alpha_list_container"> <?php foreach ($manufacturers_list as $column) { ?> <div class="multicolumn_list"> <?php foreach ($column as $letter => $manu_list) { ?> <ul class="alpha_list"> <li class="manufacturer_letter"><?php echo $letter; ?></li> <?php foreach ($manu_list as $manufacturers) { echo '<li>' . "\n" . '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturers['manufacturers_id'] . '=' . $manufacturers['manufacturers_name']) . '">'. $manufacturers['manufacturers_name'] . "<br />\n"; echo "</a>\n </li>\n"; } ?> </ul> <?php } ?> </div> <?php } ?> <div style="clear:left;"></div> </div> <?php } //-Alpha-Split Layout Option ==================================== stylesheet.css: ------------------- if you do not have the CSS Layout Option installed add: /* multicolumn_list */ div#manufacturers_list_container { float:left; } div#manufacturers_list_container ul { margin:0; padding:0; list-style:none; } div.multicolumn_list { float:left; } ------------------- find (within the CSS Layout Option css shown above): div.multicolumn_list { float:left; } ------------------- change to: div.multicolumn_list { border: 0px solid #d9d9da; float:left; } ------------------- add: div.alpha_list_container { border: 0px solid #d9d9da; border-right-width: 1px; border-bottom-width: 1px; } ul.alpha_list { font-size: .7em; border: 0px solid #d9d9da; border-left-width: 1px; } ul.alpha_list li a { display:block; border: 0px solid #ffffff; border-top-width: 1px; border-bottom-width: 1px; } ul.alpha_list li a:hover { border-color:#d9d9da; text-decoration:none; } li.manufacturer_letter { font-weight:bold; background:#D7E9F7; border: 0px solid #d9d9da; border-top-width: 1px; border-bottom-width: 1px; } I know page splitting is probably done much differently in BS. So I've included the code for reflex-ocasion's All Manufacturer's page: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2017 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require('includes/languages/' . $language . '/allmanufacturers.php'); $breadcrumb->add(NAVBAR_TITLE, tep_href_link('allmanufacturers.php')); require('includes/template_top.php'); ?> <div class="page-header"> <h1><?php echo HEADING_TITLE; ?></h1> </div> <div class="contentContainer"> <div class="contentText"> <?php $manufacturers_query = tep_db_query("select manufacturers_name, manufacturers_id, manufacturers_image from manufacturers order by manufacturers_name" ); $manufacturers = tep_db_num_rows($manufacturers_query); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { ?> <div class="col-sm-6 col-md-4" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/Product"> <div class="thumbnail equal-height"> <?php echo ' <p class="text-center"><a href="' . tep_href_link('index.php', 'manufacturers_id=' . $manufacturers['manufacturers_id'] . '=' . $manufacturers['manufacturers_name']) . '">'. $manufacturers['manufacturers_name']; echo ' <br /> '; echo tep_image('images/' . $manufacturers['manufacturers_image'], $manufacturers['manufacturers_name']) . '</a></p>'; ?> </div> </div> <?php } ?> </div> <p>&nbsp;</p> <div class="buttonSet"> <div class="text-right"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', tep_href_link('index.php')); ?></div> </div> </div> <?php require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?> I'm not a coder so I have no clue where to begin. Any input/advice @MrPhil @kymation @frankl @wHiTeHaT will be appreciated. Do you think this would be ideal for core code?
  5. Hello everyone, In our shop we have some categories containing only a single product. I am looking for a way to automatically redirect a user who is clicking on one of these category links directly to the product page. I could do this manually via htaccess but would prefer an automatic solution. Frankly I have no clue where to start without breaking a lot of stuff - does anybody have any pointers for me? Thanks in advance, estrich
  6. Category Images

    This addon is a bootstrap module that displays the category images on the home page. The category description can also be displayed via a setting.
  7. If a category in the shop catalogue contains both products and categories, the categores are not shown in standard osCommerce index.php Worse, if the category only contains inactive products, you see a message 'there are no products available in this category'. This admin dashboard module checks for mixed categories, and lists any with a link straight into categories.php so you can sort it out.
  8. I had a client that wanted to be able to search the admin categories / products page using multiple keywords in the search box. As an example, they wanted to be able to search for “ces wing” and have that return products including “Cessna 170 Left Wing Tip” just as easily as “Wing Elevator for Cessna 170.” It’s essentially a multiple wildcard array for keyword bits as opposed to a single wildcard for the entire search. It’s also very easy to install! Just modify one file and a couple of lines at that: http://addons.oscommerce.com/info/9310
  9. http://addons.oscommerce.com/info/5942 Support thread is dead for years. http://forums.oscommerce.com/topic/302088-contribution-multilayer-seo-pop-out-menu/page-10 Stumbled upon a little flaw. The categories section mostly works well. uncovered issues IF you use c.sort_order as the preference via admin console. If multiple categories are set at a common int (in this case all are set to 129), the order is alphabetically descending as show below. LED UV Blacklights LED Spot Light Fixtures LED Pixel Light Strings LED Outdoor Spotlight Bulbs LED Outdoor Flood Light Fixtures LED Outdoor Flood Light Dimmable LED Outdoor DMX Light Fixtures LED Outdoor DMX Flood Lights LED Meteor Tubes Mini Snow Falli LED Flexible Strip Light LED DC Spotlight Bulbs LED Club/DJ DMX Lights But that is contradictory to alphabetizing. I cannot figure out where the ascending/descending flag is switched. Betting I am missing the obvious, but a 2nd set of eyes would help. See problem live http://www.minionsweb.com/osStore Little help please. Thanks Corey Minions Web
  10. Opened this topic to discuss further the available options for menu/navigation integration to the 2334BS bootstrap versions.
  11. I currently use this add-on to keep the categories box expanded. (osC version http://addons.oscommerce.com/info/8384 This is my setup and so far everything works fine "except" for the Top Level link. Top Level ------------------ - Sub Level 1 ------------------ - Sub Level 2 ------------------ - Sub Level 3 ------------------ - Sub Level 4 ------------------ - Sub Level 5 ------------------ - Sub Level 6 ------------------ At beginning when i load the shop page for the first time i can click on any link, starting at Top Level or Sub Level and the page loads that category page. Now, let's say, I click directly Sub Level 4 but then click on "Top Level" the link is dead. It doesn't bring me back to the Top Level page. But if i load/enter the Shop page for the first time or if i visit the contact us page (or any other "non" category page) and then click on "Top Level" it works. I can also go from one Sub Level to the other without trouble, only the Top Level doesn't seem to work properly. I attached my current bm_categories.php file I would appreciate if someone could take a look and help out. Thanks!
  12. Category prices?

    Hey guys and gals, Need some help on finding a module that allows you to change the price on categories instead of having to change on each item. If there is a module like that out there can someone please let me know. Has to be pretty easy to install as I don't have a very good knowledge of installs on OsCommerce. Also were do I go to ask people to install specific modules on my website? Thanks in advance for your help.
  13. Alternative Administration System: Categories/Products. is an alternative way to navigate through categories to easily find and EDIT products. It has its own ui totally different from the default admin one. You simply navigate to a php page and voila!!! Some features: Add extra custom fields easily All fields custom or not, can be editable or not, visible by default or not , sortable or not e.t.c. You can also add fields from other mysql tables other than products Deletion of multiple products Multiple prices edit Right side panel (sortable fields, choose what fields to display and sort - reorder them) Bottom panel (contains: categories list, languages, display in stock or not) Top Search panel (hidden by default, opens when you click on search icon) Server side pagination (includes max products per page) Advanced search (search on specific field, developers can add their own custom fields) Order products by different fields - custom fields Print categories and/or products (only the categories - products table, everything else is not displayed ) Multiple product status change Export products into csv, json, text or excel file I will post the addon at the addons page shortly Have a look at the screenshots: Youtube demo:
  14. I have a reguest/suggestion for adding a feature to the core osC package. The ability to seperate categories into different infoboxes. I have been stuggling to no avail with this contribution = http://addons.oscommerce.com/info/3327/v,22 which was designed for MS2. I think it makes it neater and easier for customers to navigate a site which has many categories>sub-categories>sub-sub-categories. I had a very large product base with many, many unrelated categories which included sub-categories and sub-sub-categories. As an example of what I am talking about, take a look at this sites left categories column = http://www.firemountaingems.com/ Just a thought :-
  15. I am looking for a contribution that will cache the categories into an array and pop the subcategories right under the clicked category. I am not interested in re-loading the whole page and be presented with the subcategories page, I just want a javascript-like menu that will pop-down without page reloading. Dynamenu did something like that for 2.2 but is there anything of this kind for 2.3.1?