Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FSUddin

Archived
  • Posts

    74
  • Joined

  • Last visited

Profile Information

FSUddin's Achievements

  1. Not by any conventional means. I tried it in firefox and it works...Sorry i couldnt help more. FSUddin
  2. I know that would work, but I wasnt sure what to enter as my return URL. I use the must agree to terms mod which made things a but confusing. Also, I had a problem with customers being returned to the login screen instead of the checkout_success page. This solution just seems easier for me.
  3. Hi, After spending hours in this forum trying to figure out which PayPal contribution to go with (either stock or IPN) and how to configure them, I came up with a simple solution that guarantees you will not miss any orders, keeps the customer on your website, and still allows you to accept payments securely through Paypal. This is a very simplistic approach (almost braindead) but I thought I would post it here for those out there like me who are confused about what to do with Paypal. Basically, I do not accept checks or money orders on my website. So, I downloaded moneyorder.php from includes/languages/english/modules/payment and made the following changes: define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Pay Using PayPal'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', '***'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', '***'); Where it says *** I included a message stating that we will contact you shortly requesting payment through Paypal. Please make payments to [email protected]. This message is also sent in the email. Since this is the original money order/check payment module, I get the order in pending as soon as the customer confirms. I wont lose the order because the customer never left. Then, I log in to paypal and simply request a payment for the total. It is a bit of extra work, but I felt that it was a very simple solution and has been working great for me. If you use the money order/check module as well, I am sure you can add another payment module to your store. Hope this helps someone out. I would like to hear some feedback/potential problems that might arise. Thanks.
  4. Hi, I have been using quantity price breaks per product and have set up minimum quantity blocks for certian items. After entering the quantity blocks, the value is not saved and going back to product edit shows the field blank as if I never entered anything. Anyone have any ideas? Thanks in advance
  5. Hi, I got the contribution installed properly, was unable to view the xml results as instructed. I get this error: The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- XML document must have a top level element. Error processing resource 'http://www.anjaytraders.com/Anjay/nfoscomm/catalog/s...
  6. Hi, Just installed pdf catalog v 1.59. When I go into admin and generate a catalog, the browser status bar freezes half way and nothing is generated in the folder. I have over 400 products with images. I am thinking this might have someting to do with it as I isntalled the same mod on a stock store and everything worked ok. Any help with a workaround would be great. I do not believe editing php.ini is an option as I am with Netfirms and they do not allow editing of php.ini. In fact, I dont even know where this file is located (would someone mind sharing a bit on that?) Thanks in advance. Fsu
  7. Hi, First, I hope I am posting it the right area. Basically, I set all the featured products, categories, manufactureres to false and I still see featured products on my page. Also, No matter what number I put under "featured products maximum" in admin, I still only see three featured products and a gap for a forth. PLEASE ADVISE! Thanks! :'( To see how it looks on my page, goHERE Below is my configuration from admin Display featured products false Layout position of featured products section 4 Featured products maximum 4 Columns in featured products layout 2 Words per short description when it's not written 10 Featured products period 30 Choose a featured products set layout 4 Choose a featured products set style 2 Set the direction of the shadow right Set the sort order for the feature products. rand() Set the sort order for products by ascending or descending ASC Products vertical line height 240 Products vertical line colour black Products horizontal line colour ffffff Display featured manufacturers false Layout position of featured manufacturers 1 Featured manufacturers maximum 6 Columns in featured manufacturers layout 6 Set the sort order for the featured manufacturers. m.manufacturers_id Set the manufacturers sort order by ascending or descending DESC Manufacturers vertical line height 110 Manufacturers vertical line colour red Manufacturers horizontal line colour AABBDD Featured manufacturers period 2 Display featured manufacturer with products false Layout position of featured manufacturer with products 3 Featured manufacturer with products maximum 2 Columns in manufacturer with products layout 2 Words per short description when it's not written 24 Featured manufacturer with products period 2 Choose a featured manufacturer with products set layout 3 Choose a featured manufacturer with products set style 3 Set the direction of the shadow right Set the sort order for the feature manufacturer with products. m.manufacturers_id Set the manufacturer sort order by ascending or descending DESC Manufacturer with products vertical line height 150 Manufacturer with products vertical line colour blue Manufacturer with products horizontal line colour f8fd69 Display featured categories false Layout position of featured categories 2 Featured categories maximum 5 Columns in featured categories layout 2 Words per short description when it's not written 24 Featured categories period 2 Choose a featured categories set layout 4 Choose a featured categories set style 2 Set the direction of the shadow right Set the sort order for the feature categories. rand() Set the categories sort order by ascending or descending DESC Categories vertical line height 150 Categories vertical line colour green Categories horizontal line colour dcab89
  8. Hi, I installed the customer export mod and I am getting the following errors when trying to download the csv file. The windows box prompts me to open or save" "customer_export_php_?submit=export" and when I click save, i get an error saying IE could not open the site and that it is unavailable or cannot be found. Clickin open allows me to view the page in html where all my customer data is laid out without formatting so the data is all on top of each other. any help would be great. Thx, FSUddin
  9. Hi, I am using Easy populate 2.74 MS2 with no problems....almost ;). Basically, my downloaded froogle file still shows all my products, even those that are inactive. I have set the zero qty = inactive to true in easypopulate.php. More importantly, no qty data is even downlaoded in my froogle file to begin with. Any help on how to display quantity data in my froogle file and make sure that inactive items are not downloaded would be helpful Thanks in advance. FSUddin
  10. thanks guys for the help. I figured it out...looks like the code did indeed go into catalog/index. When I added Wolfens featured sets, I deleted some important code for the new products box. i just fixed it and everything is ok now. Thanks again.
  11. Hi, When I first started modding my site, i removed the new products box. I have since added Wolfen's featured items. Basically, I want to put back my new items box that appears on the front page of my store in default oscommerce. Pasting the code: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> into the catalog/lang/english/index.php makes the box appear above the header, i.e. above where my company banner is. Also, if I paste the above code as is, I have to paste it outside of the last ?>. Any help would be appreciated. Here is my site: My Webpage
  12. John, Thanks for getting in touch with me. I was dissatisfied with this whole contribution and ended up installing Wolfen's featured sets without many problems. There are a lot of ways to configure Wolfens contrib, more so for my purposes, but I figure it works and who knows, I might need the extra features in the long run. Since I am not too familiar with coding and since Ive gotten rid of Andrews contrib, I dunno how much help I would be. Thanks though for the reply and best of luck. Sheraz P.S u can check out wolfens featured set on my page. Right now, I have it set up to show only featured products, and no featuired categories or manufacturers. :)
  13. Hi, I am trying to install the PDF catalog contribution. When trying to generate the catalo in admin, i get the error seen below. It looks like only the Times font is being read. Does anyone know if FPDF requires that the users computer have helvetica and courier installed? I do not have these fonts...could this be the reason for the error? PLEASE help. Thanks! Warning: setfont(/Anjay/nfoscomm/catalog/admin/font/helveticab.php): failed to open stream: No such file or directory in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(): Failed opening '/Anjay/nfoscomm/catalog/admin/font/helveticab.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(/Anjay/nfoscomm/catalog/admin/font/helvetica.php): failed to open stream: No such file or directory in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(): Failed opening '/Anjay/nfoscomm/catalog/admin/font/helvetica.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(/Anjay/nfoscomm/catalog/admin/font/helveticai.php): failed to open stream: No such file or directory in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(): Failed opening '/Anjay/nfoscomm/catalog/admin/font/helveticai.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(/Anjay/nfoscomm/catalog/admin/font/courier.php): failed to open stream: No such file or directory in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(): Failed opening '/Anjay/nfoscomm/catalog/admin/font/courier.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(/Anjay/nfoscomm/catalog/admin/font/courier.php): failed to open stream: No such file or directory in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550 Warning: setfont(): Failed opening '/Anjay/nfoscomm/catalog/admin/font/courier.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 550
  14. Hi, I have been struggling with this error for some time. I have installed the PDF catalog contribution. When I click generate PDF i get: Warning: setfont(/Anjay/nfoscomm/catalog/admin/font/helveticab.php): failed to open stream: No such file or directory in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 556 Warning: setfont(): Failed opening '/Anjay/nfoscomm/catalog/admin/font/helveticab.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_a/d01/s06/b01ba2a3/www/Anjay/nfoscomm/catalog/admin/pdf_fpdf.php on line 556 FPDF error: Could not include font metric file All directories are set to 777 and everything is exactly where the code is looking for it. Why arent the fonts being picked up? Am I missing something? FSUddin
  15. Hi, I am using Featured products 1.5.4 by Andrew. When the featured items page is displayed, the default seems to show item name, price, date added, and manufacturer. I wanted to know how I can also display the item description. It looks liks the db is queried for it, but it doesnt seem to show. Below is the code for the featured items page. Thanks in advance FSUddin <?php /* $Id: featured_products.php,v 1.27 2003/06/09 22:35:33 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_FEATURED_PRODUCTS); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_FEATURED_PRODUCTS)); ?> <!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> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_products_new.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php ///// To random featured products // list($usec, $sec) = explode(' ', microtime()); // srand( (float) $sec + ((float) $usec * 100000) ); // $mtm= rand(); ////// $featured_products_array = array(); $featured_products_query_raw = "select p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_FEATURED . " f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by p.products_date_added DESC, pd.products_name"; // to random// $featured_products_query_raw = "select p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_FEATURED . " f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand($mtm)"; $featured_products_split = new splitPageResults($featured_products_query_raw, MAX_DISPLAY_FEATURED_PRODUCTS); if (($featured_products_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $featured_products_split->display_count(TEXT_DISPLAY_NUMBER_OF_FEATURED_PRODUCTS); ?> </td> <td align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $featured_products_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td> <!-- Featured Products Main Page Box --> <table bgcolor="ffffff" border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if ($featured_products_split->number_of_rows > 0) { $featured_products_query = tep_db_query($featured_products_split->sql_query); while ($featured_products = tep_db_fetch_array($featured_products_query)) { if ($new_price = tep_get_products_special_price($featured_products['products_id'])) { $products_price = '<s>' . $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])); } ?> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td> <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '"><b><u>' . $featured_products['products_name'] . '</u></b></a><br>' . TEXT_PRICE . ' ' . $products_price; ?></td> <td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td> </tr> <tr> <td colsp?an="3"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } } else { ?> <tr> <td class="main"><?php echo TEXT_NO_NEW_PRODUCTS; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> </table> </td> </tr> <?php if (($featured_products_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) { ?> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $featured_products_split->display_count(TEXT_DISPLAY_NUMBER_OF_FEATURED_PRODUCTS); ?></td> <td align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $featured_products_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> </td> </tr> <?php } ?> </table></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
×
×
  • Create New...