Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mujina

Pioneers
  • Posts

    172
  • Joined

  • Last visited

Everything posted by mujina

  1. Hi everybody! This contribition works fine for me but as I'm french I would like to have the date displayed that way : 15 d?cembre 2004 for french pages and decembre 15, 2004 for the english pages.... Can anyone help me fix this pb? Thanks in advance! :rolleyes:
  2. Hi Jorgeo! thanks for your reply. It seems that I made no mistake as my "DEFINE" are ok. Do you see something strange in my files? Or maybe it is a contribution that can't be installed twice as it generates conflicts within application top file :huh: Thanks! mujina
  3. Hi everybody! Need some help with this contribution! I have installed it twice as I use it as a wishlist and as a favourite list. The problem is that when I put an item to my wishlist it is registered to the the wishlist AND to the favourite list! :'( It works the same way when I add a product to my favourite list it is registered both to the favourite list & the wishlist. Here's the piece of code from my application top. ... and also the piece of code I use in my product_info, hope someone would be able to bring me some help. Thanks in advance : product info I really don't find out what's wrong ! :blink:
  4. Hi Lane! You're right but actually the customer can come back and purchase another product. He will then remove the first article from the cart it's why I thought that a link would be usefull. As a customer I will appreciate it as it offers me the possibility to just read its description without having to log in. Thanks for your reply. mujina
  5. Hi! This is really a great contribution! CONGRATULATIONS! Fast and clean installation! I recommend it! THANKS! PS : in the mail sent to customers, is it possible to put the name of the products with their link to the site? It would be easier for the customer to visit the products he abandonned?
  6. Sorry! Do not pay attention to my post! I remove this contribution... too much darkness for me! Good luck! Sorry not to be able to help you! :blush:
  7. Hi Nick! I also have a problem with this contribution. Here's the message error displayed : Notice: Undefined variable: categoryinput in c:\program files\easyphp1-7\www\catalog\admin\specialallcategory.php on line 10 Do you have this error?
  8. For hansmignon : Here's what radders explained to me : "My file should require no changes to any other files to just get it working - print a packing slip then change the word 'packingslip' in the url to the name of my file, keeping the rest of the url unchanged." It works thanks to radders!!! :D
  9. Sorry! I forgot printorder.php wasn't in the core version! Thanks for your reply.
  10. I've installed this contribution and it works fine. Thanks to the author! I just have a problem with the invoice the customer can view (popup) in his history info. When I open the popup (printorder.php) only those informations appear : - store adress - store name - store tva intracom - order number (SCRAMBLED!) Could you help me with the printorder.php ? Sorry, I'm a newbie in php: <?php /* $Id: printorder.php,v 1.2 12/03/2003 randynewman osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } $customer_number_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '". tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['order_id'])) . "'"); $customer_number = tep_db_fetch_array($customer_number_query); $payment_info_query = tep_db_query("select payment_info from " . TABLE_ORDERS . " where orders_id = '". tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['order_id'])) . "'"); $payment_info = tep_db_fetch_array($payment_info_query); $payment_info = $payment_info['payment_info']; require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ORDERS_PRINTABLE); require(DIR_WS_CLASSES . 'order.php'); $order = new order($HTTP_GET_VARS['order_id']); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE . ' - ' . TITLE_PRINT_ORDER . ' ' . $HTTP_GET_VARS['order_id']; ?></title> <base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="print.css"> <script language="JavaScript"> <!-- function Lvl_P2P(url,closeIt,delay){ //ver1.0 4LevelWebs opener.location.href = url; if (closeIt == true)setTimeout('self.close()',delay); } //--> </script> </head> <body marginwidth="10" marginheight="10" topmargin="10" bottommargin="10" leftmargin="10" rightmargin="10"> <!-- body_text //--> <?php if ($HTTP_GET_VARS['order_id'] != $order_id) { ?> <table width="600" border="0" align="center" cellpadding="2" cellspacing="0"> <tr> <td align="center" class="main"><table align="center" width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td align="center" valign="middle" class="main"><?php echo TEXT_ORDER_ERROR; ?></td> </tr> <tr> <td align="center" valign="middle" class="main"><a href="javascript:;" onclick="Lvl_P2P('logout.php',true,0);return false"><?php echo tep_image(DIR_WS_IMAGES . 'close_window.gif', 'Close Window'); ?></a></td> </tr> </table></td> </tr> </table> <?php } else { ?> <table width="600" border="0" align="center" cellpadding="2" cellspacing="0"> <tr> <td align="center" class="main"><table align="center" width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td valign="top" align="left" class="main"><script language="JavaScript"> if (window.print) { document.write('<a href="javascript:;" onClick="javascript:window.print()" onMouseOut=document.imprim.src="<?php echo (DIR_WS_IMAGES . 'printimage.gif'); ?>" onMouseOver=document.imprim.src="<?php echo (DIR_WS_IMAGES . 'printimage_over.gif'); ?>"><img src="<?php echo (DIR_WS_IMAGES . 'printimage.gif'); ?>" width="43" height="28" align="absbottom" border="0" name="imprim">' + '<?php echo IMAGE_BUTTON_PRINT; ?></a></center>'); } else document.write ('<h2><?php echo IMAGE_BUTTON_PRINT; ?></h2>') </script></td> <td align="right" valign="bottom" class="main"><p align="right" class="main"><a href="javascript:window.close();"><img src='images/close_window.jpg' border=0></a></p></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '15'); ?></td> </tr> <tr> <td><table border="0" align="center" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" align="center" width="98%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" valign="bottom"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right" valign="top"><?php echo tep_image(DIR_WS_IMAGES . STORE_LOGO, STORE_NAME); ?></td> </tr> <tr> <td class="pageHeading" valign="bottom"><?php echo ENTRY_SHOP_INTRACOM; ?><?php echo TVA_SHOP_INTRACOM; ?></td> <td class="pageHeading" align="right" valign="top"></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td> </tr> <tr> <td colspan="2" align="center" class="titleHeading"><b><?php echo TITLE_PRINT_ORDER . ' ' . $HTTP_GET_VARS['order_id']; ?></b></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="left" class="main"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo '<b>' . ENTRY_PAYMENT_METHOD . '</b> ' . $order->info['payment_method']; ?></td> </tr> <tr> <td class="main"><?php echo $payment_info; ?></td> </tr> </table></td> </tr> <tr> <td align="center"><table align="center" width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td align="center" valign="top"><table align="center" width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor=#000000> <tr> <td align="center" valign="top"><table align="center" width="100%" border="0" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><b><?php echo ENTRY_SOLD_TO; ?></b></td> </tr> <tr class="dataTableRow"> <!-- Ajout pour TVA_INTRACOM_v3.3 //--> <td class="main"><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, '', '<br>'); ?></td> <!-- Fin ajout pour TVA_INTRACOM_v3.3 //--> </tr> </table></td> </tr> </table></td> <td align="center" valign="top"><table align="center" width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor=#000000> <tr> <td align="center" valign="top"><table align="center" width="100%" border="0" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><b><?php echo ENTRY_SHIP_TO; ?></b></td> </tr> <tr class="dataTableRow"> <td class="dataTableContent"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <!-- Ajout pour TVA_INTRACOM_v3.3 //--> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <tr> <td class="main"></td> <td class="main"></td> </tr> </table></td> </tr> <!-- Fin ajout pour TVA_INTRACOM_v3.3 //--> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="1" bgcolor=#000000> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'] . '<br>'; if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) { for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) { echo '<nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i><br></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n"; echo ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> <tr> <td align="right" colspan="7"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php } ?> <!-- body_text_eof //--> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  11. Hi David, I tried to modify the code to avoid using pdf but I failed :'( . Could you post the modifications you made ? Thanks a lot! mujina
  12. No one who has encountered the same problem? Please if you have installed category tabs tell me if everything works fine or if you can't display both the menu (tabs & sub tabs) and the categories box. I have to run my store in a week thus I' m really :'( Thanks! mujina
  13. I've installed the last version of category tabs with subs [http://www.oscommerce.com/community/contributions,1023/download,6282/mirror,pair] as I couldn't make work the older with the contribution "enable-disable categories". With this version V2.0 I can activate the categories I want but I have a huge problem : I didn't succed in diplaying at the same time The categories Box and The tabs. The categories box appears in the column_right but the box is empty!!!! :blink: Anyone who has the same problem. please bring me some help ! thanks mujina
  14. Hi Mike! Go to catalog\includes\configure.php an delete both lines related to: 'MAX_DISPLAY_WISHLIST_PRODUCTS', 'MAX_DISPLAY_WISHLIST_BOX' from your configure.php. Next goto your SQL data base and run this code : INSERT INTO `configuration` (`configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES ('Items per Wishlist Page', 'MAX_DISPLAY_WISHLIST_PRODUCTS', '9', 'How many wishlist items to show per page on the main wishlist.php file', 3, 100, '2004-10-08 23:44:48', '2004-06-14 21:22:21', NULL, NULL); INSERT INTO `configuration` (`configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES ('Items in Wishlist Infobox', 'MAX_DISPLAY_WISHLIST_BOX', '5', 'How many wishlist items to display in the infobox before it changes to a counter', 3, 101, '2004-06-14 21:33:24', '2004-06-14 21:26:42', NULL, NULL); Next step : goto to your panel admin and check in configuration box/Max values See at the bottom of the table the two lines for wishlist are displayed! Sorry for my bad english :blush: , hope you understand it!
  15. Hi Carine!! Thanks a lot for your reply. I've installed the last version of "enable-disable categories" http://www.oscommerce.com/community/contri.../mirror,sunsite Mujina :D
  16. Hello chimo! Thanks for your reply. Could you tell me more, I'm sorry but I can't find the entry "categories_status=" in categories_tab.php file. nb : In my SQL DB , in the categories_table all categories have statuts=1 Thank you! :D Mujina
  17. HI! I use the 2 contributions and when I disable a category with "enable/disable categories", the category remains displayed in the menu made by "category tabs with subs". I guess I have to modify the categories_tab.php file but I don't know how to do. :blush: Sure this topic may be usefull for many people... Please bring me some help. Thanks. Mujina.
  18. Hi linda, Could you let me know which modifications you made on categories_tab.php so that it works with enable-disable categories. Couild you post the code of your file, I really didn't succeed in making mine works :blush: Thanks.
  19. Thanks Mike! I have the same settings thus try BearHappy code it works for me!!! :D ---- Thanks BearHappy for your post! It's pretty usefull to change the number items displayed in the wishlist box from the admin panel! :thumbsup:
  20. Thanks for your reply Mike! I have checked and this line is already defined in this file. Actually, in my sql base in the configuration table, I can't found the entries : -MAX_DISPLAY_WISHLIST_BOX' -MIN_DISPLAY_WISHLIST_BOX' Maybe I have deleted them ?! :'( I had some problems with my sql DB two days ago so.... Do you know which query I have to run to have them put into the DB? Thank you :D Mujina
  21. I don't have the last two lines : - items per wishlist page - items on wishlist infobox What can I do to have them displayed? Thanks!!! mujina
  22. :blush: SUCH A SHAME for me!!!!! Thanks so much!!! mujina
  23. Hello BearHappy! The code you've posted works for me!! Thanks!!! :D Hope it works for Joker too! But I've got a small problem : when I put more than 4 products in the wishlist they dissapear and it displays : you have x number of products in your wishlist. Where can I put the number of max products I would like to be displayed in the wishlist box? Thanks!!!! Mujina
  24. Hello Green Mambaa! I do have the same problem as no link appear in the email... but I still haven't found why!
×
×
  • Create New...