Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sclif

Archived
  • Posts

    9
  • Joined

  • Last visited

Everything posted by sclif

  1. Can i add to this Add-On the ability to disable the display of products in the list if their quantity in stock = 0? If yes, how? Thanks.
  2. Excellent! Thank you very much. Since the CSS style for tag <hr> interpreted differently in all browsers, I used the class "separator" instead dividing line: $list_box_contents[$cur_row+1][$x] = array('align' => 'center', 'params' => 'class="separator" ', 'text' => '<br />'); and CSS style TD.separator { border-top: 0px solid #fff; border-bottom: 1px dotted #ccc; background: #fff; color: #fff; }
  3. Please Help Product Listing Style as List Help make a separator in the list of products. When i configure Product Listing Style as List there is no separator between products. Set it in the CSS style is not possible. I searched for 2 days and could not find anywhere in any place used the tag <tr> (first and last in the attached code). This tag defines a table cell with information about the product. Where can I find this tag to add a CSS class, for example <tr class="prodlistitemborder">? Ability to use CSS is in the mode Product Listing Style as thumbnails, but in the list mode of such a possibility is not provided. Help me please to find this hidden tag <tr>. <tr> <td align="center" class="productListing-data" width="25%" ><a href="http://localhost/servers-shop/product_info.php/products_id/35?osCsid=mb91k3f2hhgg40qrak6qgqg0j4"><img src="images/JB_White.jpg" border="0" alt="Виски Jim Beam White Premium (0,5л)" title=" Виски Jim Beam White Premium (0,5л) " width="50" height="143" /></a></td> <td class="productListing-data" width="25%" ><h4><a href="http://localhost/servers-shop/product_info.php/products_id/35?osCsid=mb91k3f2hhgg40qrak6qgqg0j4">Виски Jim Beam White Premium (0,5л)</a></h4></td> <td align="center" class="productListing-data" width="25%" ><span class="prodlistprice">Цена:<br />100,00грн.</span></td> <td align="center" class="productListing-data" width="50%" colspan="2"><form name="cart_quantity" action="http://localhost/servers-shop/index.php/cPath/25_26/sort/2a/action/add_product?osCsid=mb91k3f2hhgg40qrak6qgqg0j4" method="post"><table border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td align="center" class="productListing-data"></td><td align="center" class="productListing-data"><br /><input type="hidden" name="products_id" value="35" /><span class="buttons"><button type="submit" class="positive" value="Купить">Купить</button></span> <br /><br /><span class="buttons"><a href="http://localhost/servers-shop/product_info.php/products_id/35?osCsid=mb91k3f2hhgg40qrak6qgqg0j4"> Подробнее </a></span><br /><br /></td></tr></table></form></td> </tr>
  4. Нужна помощь по реализации поиска на русском языке! Здравствуйте. Поиск в оскоммерц работает только на английском языке (может и на немецком - не проверял). На русском и других (судя по открытым вопросам на этом форуме) ни в какую не хочет. Вы случайно не сталкивались с решением этой проблемы? Кодировка UTF-8. Русский форум к сожалению сдох не приходя в сознание :-(.
  5. How to remove extra code? When i use Product Listing Style = thumbnails and Product Listing per row = 3 (or = 2) at the top of the products thumbnails displayed empty table cell. It creates additional unnecessary space between the header of category and the products thumbnails. Marked with bold red rectangle - see attached screenshot. How to remove this empty cell? This is extra code: <tr> <td align="center" class="smallText" width="33.3333333333%" valign="top"> </td> </tr> This is rest of the code: <tr> <td align="center" class="smallText" width="33.3333333333%" valign="top"><table class="infoBoxProducts" cellpadding="2" width="200" height="180" ><tr><td valign="top"><table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="100" ><br /><a href="http://kmebel.dp.ua/shop2/product_info.php?products_id=12"><img src="images/dvd/die_hard_3.gif" border="0" alt="Die Hard With A Vengeance" title=" Die Hard With A Vengeance " width="140" height="112"></a><br /></td></tr></table><table summary="" width="100%" ><tr><td class="thumbcontent" height="25" ><a href="http://kmebel.dp.ua/shop2/product_info.php?products_id=12"><b>Die Hard With A Vengeance</b></a><br /></td></tr></table><br /><font size="3">$39.99<br /></font></td></tr></table><form name="cart_quantity" action="http://kmebel.dp.ua/shop2/index.php?cPath=3_10&sort=2a&action=add_product" method="post"><br /><br /><input type="hidden" name="products_id" value="12">Quantity: <input type="text" name="cart_quantity" value="1" maxlength="5" size="5"><br /><input type="image" src="includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt="Buy Now" title=" Buy Now "><br /><br /></form></td> ...
  6. This is necessary to create a beautiful and fashionable menu accordion http://ruseller.com/lessons/les209/example..._collapsed.html
  7. Thanks, but it is only for box design. In fact, it is necessary to change the file categories.php in /includes/boxes/. I would try to get myself in programming php. The correct code of categories.php would allow the use incredibly beautiful and modern categories menu.
  8. Help me please! I cant understand PHP. I did not find any ready solutions. How to make a menu of categories that looks like? <ul id="menu"> <li class="categorie_top_on"><a href='#'>Hardware</a> <ul> <li class="categorie_on"><a href='##'>CDROM Drives</a></li> <li class="categorie"><a href='#'>Graphics Cards</a></li> </ul> </li> <li class="categorie_top"><a href='#'>Software</a> <ul> <li class="categorie"><a href='#'>Action</a></li> <li class="categorie"><a href='#'>Simulation</a></li> <li class="categorie"><a href='#'>Strategy</a></li> </ul> </li> </ul> Where: categorie_top_on - css class for currently selected category categorie_on - css class for currently selected subcategory categorie_top - css class for another category categorie - other subcategories All categories and subcategories shall be in an unordered list of the form: <li> Category <ul> <li> Sub-category </ li> <li> Sub-category </ li> </ ul> </ li> This (http://www.oscommerce.com/community/contributions,4589/) CSS menu generate valid unordered list like above, but no current category style. And this contribution (http://www.oscommerce.com/community/contributions,3293/) make CSS style for categories and subcategories, but no valid list :-( And I can not make one сontribution, to satisfy both conditions :-(
×
×
  • Create New...