Jump to content

designbysue

Members
  • Content count

    236
  • Joined

  • Last visited

Everything posted by designbysue

  1. designbysue

    Advanced Search Header

    I have installed http://addons.oscommerce.com/info/2536 and it works when one is not signed in but doesn't when they are. www.paintballwarehouseny.com/index.php Any thoughts? Sue
  2. I need to add a drop down for visitors to sort products from A - Z, Z - A and Price Lowest to Highest and Highest to Lowest. The add on here http://addons.oscommerce.com/info/4312/v,22 does this but also by bestseller. I have looked over the code to try to remove the bestseller option but can't figure it out. Can someone please help me remove the bestsellers from this add on? (the bestseller sort is tied to cron) Thanks Sue
  3. designbysue

    Sort Products By Dropdown

    I actually got it!! for anyone else who wants this you simply add the following code (to index.php) // Additional Products Sort echo '<td align="center" class="dynamicMain">' . tep_draw_form('sort', FILENAME_DEFAULT, 'get') . '<b>Sort by:</b> '; if (isset($HTTP_GET_VARS['manufacturers_id'])) { echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']); } else { echo tep_draw_hidden_field('cPath', $cPath); } $sort_list = array('1a' => 'Products Name A to Z', '1d' => 'Products Name Z to A', '5a' => 'Price Low to High', '5d' => 'Price High to Low'); foreach($sort_list as $id=>$text) { $sort_range[] = array('id' => $id, 'text' => $text); } echo tep_draw_pull_down_menu('sort', $sort_range, (isset($HTTP_GET_VARS['sort']) ? $HTTP_GET_VARS['sort'] : ''), 'onchange="this.form.submit()"'); echo tep_draw_hidden_field('filter_id', (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : '')); echo '</form></td>' . "\n"; // End Additional Products Sort after echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '</form></td>' . "\n"; } and before } Be sure to follow the directions from the add on here link to be sure your name and price number are correct. (All I did was remove the best sellers from the drop down and used only this code on the index.php as it appears that all of the other code for the add on had to do with the info needed for the best sellers sort) Sue
  4. designbysue

    Sort Products By Dropdown Add on

    I actually got it!! for anyone else who wants this you simply add the following code (to index.php) // Additional Products Sort echo '<td align="center" class="dynamicMain">' . tep_draw_form('sort', FILENAME_DEFAULT, 'get') . '<b>Sort by:</b> '; if (isset($HTTP_GET_VARS['manufacturers_id'])) { echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']); } else { echo tep_draw_hidden_field('cPath', $cPath); } $sort_list = array('1a' => 'Products Name A to Z', '1d' => 'Products Name Z to A', '5a' => 'Price Low to High', '5d' => 'Price High to Low'); foreach($sort_list as $id=>$text) { $sort_range[] = array('id' => $id, 'text' => $text); } echo tep_draw_pull_down_menu('sort', $sort_range, (isset($HTTP_GET_VARS['sort']) ? $HTTP_GET_VARS['sort'] : ''), 'onchange="this.form.submit()"'); echo tep_draw_hidden_field('filter_id', (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : '')); echo '</form></td>' . "\n"; // End Additional Products Sort after echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '</form></td>' . "\n"; } and before } Be sure to follow the directions from the add on here link to be sure your name and price number are correct. (All I did was remove the best sellers from the drop down and used only this code on the index.php as it appears that all of the other code for the add on had to do with the info needed for the best sellers sort) Sue
  5. designbysue

    Sort Products By Dropdown

    I would like to use this but not with best sellers - only price sort high to low and low to high and product name, a - z and z- a. Can this be done and what changes to the install do I need to do. Here's hoping someone can help! Sue Design by Sue
  6. I have installed and contribution Simple Visitor Newsletter 2.1. This seems to work correctly. Now I would like to install phplist and link it to my oscommerce site, but use the list created through the Simple Visitor Newsletter (were it combines the visitor and account holders lists) for the phplist database. Any input on how to accomplish this? Thanks Sue
  7. designbysue

    phplist and Simple Visitor Newsletter

    Thanks - the list IS stored in the database. I am looking at the contribution here http://addons.oscommerce.com/info/5794/v,22 and hoping I can adapt it to look at both tables, visitors and osc. Thanks for your response - it is confirming that I am going in a good direction. There is a contrib that integrates phplist but I'm thinking it will be cleaner to go this route. Sue
  8. designbysue

    [Contribution] Advanced Cartbox

    Trying to install this and am getting an error message Fatal error: Class 'cartBox' not found in /services3/webpages/p/a/paintballwarehouseny.com/public/includes/boxes/shopping_cart.php on line 167 Can anyone tell me what I am missing? I have InfoBox Customizer which allows for customizing of the box through stylesheet. But I don't believe this is causing the problem because all that does is change the class for the styles. Would really appreciate any input - I have been going around for hours on this one. Thanks Sue
  9. designbysue

    free shipping

    Have installed Free Shipping w/ Minimum Amount and it is working just fine - except now the client actually wants to add a $4 handling fee to any "Free Shipping" order. Can someone suggestion a way to do this? And 2nd he also wants to offer the option of upgrading to Fed Ex home delivery for an additional $5. (only if the free shipping has kicked in) Can anyone help me with this? Always appreciate the help on this board - you folks are so responsive, I hope you can help on these requests!! Sue
  10. designbysue

    Super Contact us enhancement 1.0

    After poking vs 1.4 with a stick for a while and reading the posts in the forum I finally got this to work. I am posting my catalog>contact_us.php below. Please remember to enable Verify email addresses through DNS in your admin of the catalog. This code has the right column removed but you can add it by replacing the code <!-- removedrightcolumn //-->. <?php /* $Id: contact_us.php,v 1.42 2003/06/12 12:17:07 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_CONTACT_US); $error = false; if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { $name = tep_db_prepare_input($HTTP_POST_VARS['name']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']); // BOF Super Contact us enhancement $order_id = tep_db_prepare_input($HTTP_POST_VARS['order_id']); if ($order_id <> NULL){ $enquiry = 'From : ' . $name . "\n" . 'email : ' . $email_address . "\n" . 'Order ID: ' . $order_id . "\n\n" . tep_db_prepare_input($HTTP_POST_VARS['enquiry']); }else{ $enquiry = 'From : ' . $name . "\n" . 'email : ' . $email_address . "\n" . 'Order ID: No order number input' . "\n\n" . tep_db_prepare_input($HTTP_POST_VARS['enquiry']); } $emailsubject = tep_db_prepare_input($HTTP_POST_VARS['reason']) . ' ' . EMAIL_SUBJECT . $name; if (tep_validate_email($email_address)) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $emailsubject, $enquiry, $name, $email_address); if (CONTACT_US_LIST !=''){ $send_to_array=explode("," ,CONTACT_US_LIST); preg_match('/\<[^>]+\>/', $send_to_array[$send_to], $send_email_array); $send_to_email= eregi_replace (">", "", $send_email_array[0]); $send_to_email= eregi_replace ("<", "", $send_to_email); tep_mail(preg_replace('/\<[^*]*/', '', $send_to_array[$send_to]), $send_to_email, $emailsubject, $enquiry, $name, $email_address); }else{ //tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=send')); tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=send')); } // EOF Super Contact us enhancement 1.41 tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } else { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US)); ?> <!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"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><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_contact_us.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 if ($messageStack->size('contact') > 0) { ?> <tr> <td><?php echo $messageStack->output('contact'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) { ?> <tr> <td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <!-- BOF Super Contact us enhancement 1.41 //--> <?php } else { if (tep_session_is_registered('customer_id')) { $account_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'"); $account = tep_db_fetch_array($account_query); $name = $account['customers_firstname'] . ' ' . $account['customers_lastname']; $email = $account['customers_email_address']; } ?> <tr><td> <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"><td><table><tr> <td class="main" valign="top" width=30%><b><?php echo nl2br(STORE_NAME_ADDRESS); ?></b><br><br> <?php echo (OPENING_HOURS); ?><br><br></td> <td class="main" valign="top" width="70%"><?php echo ENTRY_NAME; ?><br> <?php echo tep_draw_input_field('name'); ?><br /> <?php echo ENTRY_EMAIL; ?><br> <?php echo tep_draw_input_field('email'); ?><br /> <?php echo ENTRY_ORDER_ID; ?><br> <?php echo tep_draw_input_field('order_id'); ?><br /> <?php if (CONTACT_US_LIST !=''){ echo SEND_TO_TEXT . '<br>'; if(SEND_TO_TYPE=='radio'){ foreach(explode("," ,CONTACT_US_LIST) as $k => $v) { if($k==0){ $checked=true; }else{ $checked=false; } echo tep_draw_radio_field('send_to', "$k", $checked). " " .preg_replace('/\<[^*]*/', '', $v); } }else{ foreach(explode("," ,CONTACT_US_LIST) as $k => $v) { $send_to_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v)); } echo tep_draw_pull_down_menu('send_to', $send_to_array); } echo('<br>'); } ?> <?php echo ENTRY_REASON; ?><br> <select name="reason"> <?php echo '<option value="' . REASONS1 . '">' . REASONS1 . '</option>'; ?> <?php echo '<option value="' . REASONS2 . '">' . REASONS2 . '</option>'; ?> <?php echo '<option value="' . REASONS3 . '">' . REASONS3 . '</option>'; ?> <?php echo '<option value="' . REASONS4 . '">' . REASONS4 . '</option>'; ?> <?php echo '<option value="' . REASONS5 . '">' . REASONS5 . '</option>'; ?> <?php echo '<option value="' . REASONS6 . '">' . REASONS6 . '</option>'; ?> </select><br /> <?php echo ENTRY_ENQUIRY; ?><BR> <?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15, tep_sanitize_string($_POST['enquiry']), '', false); ?> <br /> </td></tr></table></td> </tr> </table> <br /> <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo tep_image_submit('button_send.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td></tr> <?php } ?> <!-- EOF Super Contact us enhancement 1.41 //--> </table></form></td> <!-- body_text_eof //--> <!-- removedrightcolumn //--> </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'); ?> My language contact_us.php is as follows: <?php /* $Id: contact_us.php,v 1.7 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Contact Us'); define('NAVBAR_TITLE', 'Contact Us'); define('TEXT_SUCCESS', 'Your question has been successfully sent to the Paintball Warehouse Tac House.'); define('EMAIL_SUBJECT', 'Question from ' . STORE_NAME); define('ENTRY_NAME', 'Full Name:'); define('ENTRY_EMAIL', 'E-Mail Address:'); define('ENTRY_ENQUIRY', 'Question:'); // BOF Super Contact us enhancement 1.41 define('ENTRY_ORDER_ID', 'Order ID (if applicable):'); define('OPENING_HOURS', '<b>Hours:</b><br> <TABLE class=main> <TR><TD class=main>Monday to Friday</TD><TD class=main>: 9 - 5 EST</TD></TR> <TR><TD class=main>Saturday</TD><TD class=main>: 9 - 1 EST</TR> </TABLE> <BR><BR> For your convenience, please use the form on the right to contact us with any comments or concerns. Please allow up to 24 hours for a reply. '); define('ENTRY_REASON', 'Email Subject: '); define('SEND_TO_TEXT', 'Send Contact Form Email To:'); define('SEND_TO_TYPE', 'radio'); //this will create a radio buttons for your contact list //define('SEND_TO_TYPE', ''); //Change to this for a dropdown menu. define('REASONS1', ' General Question'); define('REASONS2', ' Advertising'); define('REASONS3', ' Product Information'); define('REASONS4', ' Ordering and Shipping'); define('REASONS5', ' Returns'); define('REASONS6', ' Website Problems'); // BOF Super Contact us enhancement 1.41 ?> Again this is vs 1.4 not vs 2 so uses the sql upload. I hope this helps others trying to find their way through this one. Maybe a developer could (after testing) upload this cleaned up version. Sue
  11. Thanks - I finally got this figured out - and actually both IE and Firefox WERE working the same, it was just that the placement in IE was putting the hover to the left, and on top of the image to the left while Firefox was putting the hover to the right and therefore under that image. When I changed the numbers I reallized when IE put the image to the right the same happened! So it took only a little tweeking once I could see what was happening to adjust both so the hover is centered over the original image and all works great in both browsers. Safari is putting them to the left so this is ok too. Thanks for your patience in helping me sort these things out! Sue
  12. designbysue

    "Dynamenu" for osCommerce

    Yes - you were both correct. Had to change active and hover attribute from bold to stop the movement in the box edge. And the stylesheet change corrected the color Thanks Sue PS _ client loves this feature - thanks for the contribution!
  13. designbysue

    Super Contact us enhancement 1.0

    Just noticed - the phone number is not being sent either Sue
  14. designbysue

    Super Contact us enhancement 1.0

    Installed 2.1 and have it almost working - but the reasons are not being included in the email - Solution?? Thanks Sue
  15. designbysue

    "Dynamenu" for osCommerce

    Thanks for your answers - have to pack it in for the night but will try both tomorrow. Sue
  16. Found the answer to number 1 here http://forums.oscommerce.com/topic/347085-setting-the-number-of-products-or-new-products-displayed-limiting-age-of-new-products-shown/ But still need help on hover problems in Firefox and Safari Thanks Sue
  17. Have this contribution installed and am having a couple of problems. /www.paintballwarehouseny.com/index.php 1. the new products grid only displays a maximum of 9 products, not enough to fill the grid (12) Where can this be corrected? 2. I am having problems with the hovers in Firefox (previously I did with IE but once I fixed that per a post here, it broke Firefox (and Safari) The hover enlargements are appearing UNDER the images to the right of the hover. Any assistance greatly appreciated Sue
  18. designbysue

    "Dynamenu" for osCommerce

    Found the answer to #1 for those who may need it the solution is to change the stylesheet and add a z-index as follows: .vertsubmenu { /* Behaviour of sub-menu - leave as is for proper operation of submenus */ position: absolute; left: 0; top: 0; visibility: hidden; z-index:999; Anyone have any input on #2 and #3 - for #2 I could resize the box and will probably do so to get rid of this bug but an actual solution would be much better. And and regards #3 this is really a problem - I have actually searched the site for the gray color (hex numbers) and there is nothing I can find. I can't figure out where the style is that is affecting this (I have changed the new styles added in the contribution) Please Thanks Sue
  19. designbysue

    "Dynamenu" for osCommerce

    I installed and am having 3 problems and really hoping someone can help on both. visit https://www.paintballwarehouseny.com/airsoft-c-148.html and you can see all of the problems (I hope) 1. if you hover over Clothing and apparel in the menu you will see that hover goes under the image of the item to the left. How can I get the menu to be on top of anything in the products listing? (I also have Enhanced product listing installed and an having hover over problems with that too where you will see that the hovers of the product images also appear under the original in firefox, but this hover over problem with the menu is in Firefox and IE) 2. hover over Guns upgrade and Accessories and you will see the categories box resize a bit larger? any solution to this? 3. If you select a category, the active category highlights is a gray color, this is true in the sub categories, even though the stylesheet is a color as shown below .vertitem a:active { /* Font style & color, background menu color of main menu item when clicked */ color: #ffffff; background-color: #021379; text-decoration: none; font-weight: bold; } and .vertsubitem a:active { /* Font style & color, background submenu color of submenu item when clicked */ color: #ffff00; background-color: #666666; text-decoration: none; } Here's hopeing for a solution! Sue
  20. designbysue

    "Dynamenu" for osCommerce

    What is the link for the full package download - I scanned the contribution page and all I can see is updates. Thanks Sue
  21. designbysue

    Sitemap SEO

    See my Duh above: it is on the bottom of the left hand column, below tools!!!! Sue
  22. designbysue

    ULTIMATE Seo Urls 5 - by FWR Media

    Installed ULTIMATE Seo Urls 5 - by FWR Media and so far it looks good except the popups, when expanded show a box with the title "Ultimate Seo Urls 5 - Performance". This title is followed by 9 other lines. I do not want this displayed on the popups. How can I turn it off? And is it appearing anywhere else on the site? I really don't want site visitors to see that. Thanks Sue OK - it appears this was a debugging "feature" I turned of debug in the control panel and it went away - interesting because I must have missed the insructions that said that is where teh debugging would show up(?).
  23. designbysue

    Sitemap SEO

    Duh - never mind - it is on the bottom of the left hand column, below tools!!!! Sue
  24. designbysue

    Sitemap SEO

    I just installed this contrib and it is producting the site map but I can't find the area in the admin to adjust page, box or setting controls. I do have the settings in the configuration group. What did I miss? thanks Sue
  25. designbysue

    Sitemap SEO

    I just installed this contrib and it is producting the site map but I can't find the area in the admin to adjust page, box or setting controls. I do have the settings in the configuration group. What did I miss? thanks Sue
×