Jump to content

cicuta33

Members
  • Content count

    12
  • Joined

  • Last visited

About cicuta33

  • Birthday 11/01/1970

Profile Information

  1. cicuta33

    Optional Related Products, Version 4.0

    I had the categories file ok, I don't know how I came up with that code at catalog file. Sorry about that :blush: Are you talking about 'Newsletter & Subscribers' I don't need it right now, as a matter of fact my wife prefers to send mails from her mail client. Thanks for the advise, a was trying to convice her... ^_^
  2. cicuta33

    Optional Related Products, Version 4.0

    Awesome skin Margaret, great job :D
  3. cicuta33

    Optional Related Products, Version 4.0

    No chili burgers for you then! ;) <?php /* $Id: catalog.php,v 1.21 2003/07/09 01:18:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ ?> <!-- catalog //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_CATALOG, 'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')); if ($selected_box == 'catalog') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>'. /* Optional Related Products (ORP) */ '<a href="' . tep_href_link(FILENAME_RELATED_PRODUCTS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_RELATED_PRODUCTS . '</a>'); //ORP:end /* Optional Related Products (ORP) */ tep_db_query("delete from " . TABLE_PRODUCTS_RELATED_PRODUCTS . " where pop_products_id_master = '" . (int)$product_id . "'"); tep_db_query("delete from " . TABLE_PRODUCTS_RELATED_PRODUCTS . " where pop_products_id_slave = '" . (int)$product_id . "'"); //ORP: end } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- catalog_eof //--> The only contribution that may have to do with this is option_type_feature_v1.71 The other are shipping and payment modules such as CORREOS_P_AZUL, payment_modules_3.0, SEUR EuroPack, SEUR nacional, Ship_Spain_Paqueteria_Urgente Later I want to install tinymce_2_0_8, extra_images_v1-5 or more_pics_6_v2_1_2 and one I thought I down loaded but can't find it now that it's for leting people subscribe to the newsletter w/o registering (taste the raindow ;) )
  4. cicuta33

    Optional Related Products, Version 4.0

    Do you whant me to post it here? I'm sure it is but I don't see it in the file you said (sql_setup_related_products.php) Great, I'll check it out :thumbsup: Thanks, that's my wife that designs and makes with her own hands :wub: , the store is in English and Spanish but I changed the typical flags for abreviations and yes, we do ship tu the US Thanks againg for all the help Anita, you're the best ;) I hope to see that you decide to make your self a nice present from our store :P
  5. cicuta33

    Optional Related Products, Version 4.0

    sorry, sorry, sorry!! I didn't have the right [catalog/]includes/filenames.php up there :sweating: Now is working great!! :lol:
  6. cicuta33

    Optional Related Products, Version 4.0

    I tried uploading the modified product_info.php file but I've got an error: Warning: main(includes/modules/FILENAME_RELATED_PRODUCTS) [function.main]: failed to open stream: No such file or directory in /usr/home/inesperpina/www/store/product_info.php on line 225 Warning: main() [function.include]: Failed opening 'includes/modules/FILENAME_RELATED_PRODUCTS' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/inesperpina/www/store/product_info.php on line 225 in the file line 225: <?php include(DIR_WS_MODULES . FILENAME_RELATED_PRODUCTS); ?>
  7. cicuta33

    Optional Related Products, Version 4.0

    Perfect!! :thumbsup: it worked out just fine entering the URL as you said but there was no 'require(DIR_WS_INCLUDES . 'column_left.php');' in the file. This is an awesome tool you made, I'm sure this will be native in a later osCommerce version I'm not quite sure how it works yet because it's got more options than I thougt :lol:
  8. cicuta33

    Optional Related Products, Version 4.0

    yes, I meant both 'database_tables.php' files, the one at the store and the one at administration I can go any were at admin but the catalog and I can't see the 'Related Products' link I'm affraid this is going to be the stupidiest thing that I forgot to do or see :blush:
  9. cicuta33

    Optional Related Products, Version 4.0

    I forgot to say that both database.php are ok
  10. cicuta33

    Optional Related Products, Version 4.0

    Hi Anita, thanks for answering so fast, yesterday was late at night here when I wrote so I whent to sleep, I guess it's your turn now ;) . We had a mailing done yesteday and we had a lot of people coming in so I kind of paniced and forgot to write down or screenshot the error. Just now I did as you say, I put all the files back except for product_info.php the error show up when i go to [catalog/]admin/categories.php?selected_box=catalog at the left column 1146 - Table 'mysqldatabase.products_related_products' doesn't exist delete from products_related_products where pop_products_id_master = '0' [TEP STOP] Lets say "mysqldatabase" is the name of my MySQL database
  11. cicuta33

    Optional Related Products, Version 4.0

    Hi Skittles, I'm working on a store that is already on-line at http://www.inesperpina.com and I tried to install the ORP 4.0 but didn't work right and I had to get back to the old files but I would like to keep trying. The problem I had was that at the admin in the left column would show that the table was not in the data base before I could set it up, I didn't get to see the Catalog->Related Products
  12. cicuta33

    Servired module

    Hola Salomon, al parecer la palabra final ha sido a?adida a PHP5 por lo que est? reservada, yo ten?a el mismo problema con el m?dulo de la Caixa Catalunya y reemplac? la palabra final por finale tanto en la funci?n como en la aplicaci?n del JavaScript y ahora me funciona. function finale() { for( $i=0; $i<$this->buffsize; ++$i) { $last_block[$i] = $this->buffer[$i]; } ... function hash_bytes( $bytes ) { $this->init(); $this->update( $bytes ); return $this->finale(); } La palabra reservada final PHP5: http://es2.php.net/manual/es/language.oop5.final.php Espero que te funcione :thumbsup:
×