Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nicko107

Pioneers
  • Posts

    117
  • Joined

  • Last visited

1 Follower

Profile Information

Recent Profile Visitors

22,906 profile views

nicko107's Achievements

  1. nicko en primer lugar gracias por oscatalogo.

    he seguido tu guia sobre los placeholders para STS y aqui mi pregunta, he añadido el boton de compra al product_info.php.html pero no tiene efecto ninguno al darle, supongo que en algun otro sitio me falta codigo para que este funcione.

    ¿puedes ayudarme?

    muchas gracias y un saludo.

  2. nicko en primer lugar gracias por oscatalogo.

    he seguido tu guia sobre los placeholders para STS y aqui mi pregunta, he añadido el boton de compra al product_info.php.html pero no tiene efecto ninguno al darle, supongo que en algun otro sitio me falta codigo para que este funcione.

    ¿puedes ayudarme?

    muchas gracias y un saludo.

  3. Hola pido ayuda por lo menos para que me des una pequeña pista si es posible, quiero integrar el phpbb en mi oscommerce-2.2rc2a, me he bajado el puente para el phpbb2 y oscommerce, pero no me. si me recomiendas algo alun foro para integrar (es que tambien quiero integrar galeria de imagenes mediante el foro), muchas gracias, no se me ocurre nada nuevo para intentar

  4. Hi, I upload a version in spanish of STS 4.5.8: "STSv4.5.8 for all osC 2.2 versions - Info espanol -" (nicko107,15 Jan 2009) include all the files (except the english documentation) of the last complete package: "STSv4.5.8 for all osC 2.2 versions" by bkellum, date 23 Jan 2008. The instructions, guide of modules and STS User Manual are translated to spanish in the doc_espanol folder. - "instalacion.html" - "modulos...html" - "Manual de Usuario STS.doc" I hope this help to anyone that need the instructions in spanish to install this very usefull addon regards nicko107
  5. Hi, I did a translation to spanish of the installation instructions and the file catalog/includes/languages/espanol/all-products.php Because I cant upload an spanish version of the contribution I put the translation in the next link to anyone that need it or in the case that could be add to the contribution: http://www.oscatalogo.com/all-products-seo-en-espanol/473/ Thanks for this new version of All Products! regards nicko107
  6. FCKeditor funciona bien en un solo idioma, pero a la que le tienes varios idiomas disponibles, cuando vas a editar un producto nuevo o uno existente, a veces solo te deja editar uno, a veces dos a veces ninguno. Alguien me puede ayudar? estoy muy desesperado.

    Mil gracias!

  7. quiero descargarme esta contribucion y no puedo

    Bigredman74http://www.oscommerce.com/community/contributions,3295

    como puede ser tan complicado descargarse las cosas

    igual soy un poco pesado pero es que me vuelvo loco

    parece mentira con el pedazo de programa que es y lo complicado que es descargarse estas cosas

    muchas graciass por tu ayuda

  8. Hi Then try to change this: in this file: catalog/includes/modules/product_listing_col.php find this line: <img src="images/infobox_module/right.gif" width="14" height="149" /> increse the number 149 to 155 or other bigger to change the size of the box this define a minimun size of the internal of box and can help when the boxes have different high regards
  9. Hi this are the steps to integrate "X-Sell v2.2" with "Individual Boxes 1.2": 1. Edit file: catalog/includes/modules/xsell_products.php Find: new contentBoxHeading($info_box_contents); Replace: // new contentBoxHeading($info_box_contents); (this hide the default header of the module) 2. In the same file find this line: $info_box_contents[$row][$col] = array('align' => 'center', ADD BEFORE: $sql = 'SELECT `products_description` FROM `products_description` WHERE products_id ='. $xsell['products_id'].' && language_id='.(int)$languages_id; $description_query = tep_db_query($sql); $description = mysql_fetch_array($description_query, MYSQL_ASSOC); $description['products_description'] = substr($description['products_description'], 0, 150); $desc_len = strlen($description['products_description']); $description['products_description'][$desc_len-1] = '.'; $description['products_description'][$desc_len-2] = '.'; $description['products_description'][$desc_len-3] = '.'; $description['products_description'] = ereg_replace("(Array)", "", $description['products_description']); (this is for add the query for product description and create the short description) 3. the second is create the individual boxes: In the same file find: $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] .'</a><br>' . $xsell_price. '<br><a href="' . tep_href_link(basename($PHP_SELF), 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'); Replace: $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" cellspacing="0" width="50%" valign="top"', 'text' => '<table width="99%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right" valign="bottom" bordercolor="0"><img src="images/infobox_module/upper_left.gif" width="14" height="33" /></td> <td colspan="2" background="images/infobox_module/top.gif" class=mws_boxTop_module><a class=productTitle href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . substr($xsell['products_name'], 0, 30) .'</a></td> <td align="left" valign="bottom"><img src="images/infobox_module/upper_right.gif" width="14" height="33" /></td> </tr> <tr> <td background="images/infobox_module/left.gif" width="14"> </td> <td align="center" class=mws_boxCenter_module><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> </td> <td class=mws_boxCenter_module2>'. strip_tags($description['products_description']) . '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']). '"><b>' . DESCR_READ_MORE . '</b></a><br><br><a href="' . tep_href_link(basename($PHP_SELF), 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('cart_buy.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a> <strong>' . $xsell_price . '</strong></td> <td background="images/infobox_module/right.gif" class="smallText" width="14"><img src="images/infobox_module/right.gif" width="14" height="149" /></td> </tr> <tr> <td align="right" valign="top"><img src="images/infobox_module/lower_left.gif" width="14" height="12" /></td> <td colspan="2" background="images/infobox_module/bot.gif"><img src="images/infobox_module/bot.gif" width="2" height="12" /></td> <td align="left" valign="top" class="smallText"><img src="images/infobox_module/lower_right.gif" width="14" height="12" /></td> </tr> </table><br>'); (the code use for buy button the code of x-sell) 4. Find this line: if ($col > 2) { Replace: if ($col > 1) { (this is for change the columns products to show 2 columns) 5. Find this line: new contentBox($info_box_contents); replace: new noborderBox($info_box_contents); (this is for hide the default border of the module) Finish. For integrate with others modules: is similar for steps 1,4 and 5 in step 2 for other module change the $xsell for the variable of the other module Step 3 is more difficult but it only needed to compare code first the params change to 50%: 'params' => 'class="smallText" cellspacing="0" width="50%" valign="top"', and the base table is: xsell <table width="99%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right" valign="bottom" bordercolor="0"><img src="images/infobox_module/upper_left.gif" width="14" height="33" /></td> <td colspan="2" background="images/infobox_module/top.gif" class=mws_boxTop_module>here is for the product name code</td> <td align="left" valign="bottom"><img src="images/infobox_module/upper_right.gif" width="14" height="33" /></td> </tr> <tr> <td background="images/infobox_module/left.gif" width="14"> </td> <td align="center" class=mws_boxCenter_module>here the product image and the module tag (NEW, SPECIALS,...)</td> <td class=mws_boxCenter_module2>here is for the short description, more info link, price,... </td> <td background="images/infobox_module/right.gif" class="smallText" width="14"><img src="images/infobox_module/right.gif" width="14" height="149" /></td> </tr> <tr> <td align="right" valign="top"><img src="images/infobox_module/lower_left.gif" width="14" height="12" /></td> <td colspan="2" background="images/infobox_module/bot.gif"><img src="images/infobox_module/bot.gif" width="2" height="12" /></td> <td align="left" valign="top" class="smallText"><img src="images/infobox_module/lower_right.gif" width="14" height="12" /></td> </tr> </table><br> comparing the code with others modules integrated with Individual boxes made easy to create the code to insert in the table. regards
  10. Hi For work the Graphical Borders contributions the boxes files have to use the infobox class The boxes of columns are in files of directory boxes: catalog/includes/boxes/categories.php <-- file of categories menu catalog/includes/boxes/information.php <-- file of information box catalog/includes/boxes/currencies.php <-- file of currencies ... All of thats files about the end of the code have this line: new infoBox($info_box_contents); The Graphical Borders contribution modify the infoBox class of boxes use by this files this is the reason that the rounded borders arent displayed in some boxes or in some stores if this boxes have other classes instead infoBox Basic design Pack use other class, osCommerce by default use infoBox for all the boxes but Basic design Pack use others class and a different class for each box I dont try this contribution but I think the solution could be doing the changes to that classes instead the infoBox class or adapted the code for it About the "Show Sub Categories" contributions, thats contribution used other class to the categories box, it use the noborderbox class, but there arent a problem to change in the code of this file catalog/includes/boxes/categories.php the noborderclass that appear about the end of the code to infoBox class to display the graphical borders in this box. regards
  11. This is the link to the page of contribution to download: http://www.oscommerce.com/community/contributions,4810 regards
  12. Hi This contribution have files and buttons of install process of osCommerce in spanish language. Only need to replace some of the osCommerce install files with the files include in images and templates folder of contribution. this only change the text include in the code of the next files: catalog/install/templates/main_page.php catalog/install/templates/pages/index.php catalog/install/templates/pages/install.php catalog/install/templates/pages/install_2.php catalog/install/templates/pages/install_3.php catalog/install/templates/pages/install_4.php catalog/install/templates/pages/install_5.php catalog/install/templates/pages/install_6.php catalog/install/templates/pages/install_7.php catalog/install/templates/pages/upgrade.php catalog/install/templates/pages/upgrade_2.php catalog/install/templates/pages/upgrade_3.php and change the buttons to spanish: catalog/install/images/button_administration_tool.gif catalog/install/images/button_back.gif catalog/install/images/button_cancel.gif catalog/install/images/button_catalog.gif catalog/install/images/button_continue.gif catalog/install/images/button_retry.gif catalog/install/images/install.gif catalog/install/images/upgrade.gif The contribution include instructions to do this and screenshots. This is a screenshots of installation in spanish: *note: the firts version have small error in the text and screenshots and I upload a second zip (complete version) with correct text.
  13. Hi in Featured Products module: catalog/includes/modules/featured.php is define in the 30 of this code: . substr($featured_products['products_name'], 0, 30) . you can change the length changing the 30, this is the charapters numbers of the product name this code appear in two locations in this file and for Specials on default in file: catalog/includes/modules/default_specials.php in this code: . substr($default_specials['products_name'], 0, 30) . the same 30 only appear in one location in this file regards and Happy a New Year
  14. Hi See if you have in your catalog the file: catalog/includes/classes/seo.class.php the error indicated that it havent that file regards
  15. Hi only need to do this: edit file: catalog/stylesheet.css and add this code: /* Graphical Borders - boxes column_left_right - Star */ .mws_boxTop { background: url('images/infobox/top.gif'); font-family: Tahoma; font-size: 11px; text-align : center; font-weight: bold; background-repeat:repeat-x; vertical-align: middle; } .mws_boxLeft { background: url('images/infobox/left.gif'); } .mws_boxRight { background: url('images/infobox/right.gif'); } .mws_boxBottom { background: url('images/infobox/bot.gif'); font-family: Verdana, Arial, sans-serif; font-size: 11px; text-align : center; vertical-align: middle; white-space: nowrap; } .mws_boxCenter { background: #FFFFFF; } /* Graphical Borders - boxes column_left_right - Star */ /* Graphical Borders - boxes main modules and file-pages - Star */ .mws_boxTop_main { background: url('images/infobox_main/top.gif'); font-family: Tahoma; font-size: 11px; text-align : center; font-weight: bold; background-repeat:repeat-x; vertical-align: middle; white-space: nowrap; } .mws_boxLeft_main { background: url('images/infobox_main/left.gif'); } .mws_boxRight_main { background: url('images/infobox_main/right.gif'); } .mws_boxBottom_main { background: url('images/infobox_main/bot.gif'); font-family: Verdana, Arial, sans-serif; font-size: 11px; text-align : center; vertical-align: middle; white-space: nowrap; } .mws_boxCenter_main { background: #FFFFFF; } /* Graphical Borders - boxes main modules and file-pages - End */ TD.noborderbox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } regards
×
×
  • Create New...