Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

true-tigger

Archived
  • Posts

    24
  • Joined

  • Last visited

Posts posted by true-tigger

  1. CHECK TO SEE IF YOU HAVE ANYTHING IN THE EXCLUDED PRODUCTS BOX

     

    Hi,

    I have set Discount Coupons to exclude products with a special offer on, when trying to buy a product on special with a coupon I get a HTTP 406 error.

     

    The error comes up in the URL: "https://www.gale-force.org.uk/checkout_payment.php?error_message=The+minimum+order+total+for+this+coupon+is+%A350.00.+Some+or+all+of+the+products+in+your+cart+are+excluded."

     

    For reference the error is:

    "Not Acceptable

     

    An appropriate representation of the requested resource /checkout_payment.php could not be found on this server.

     

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

     

    Do you know why?

     

    Thank you,

    Dave

  2. Hi, Have installed the script. Having a slight problem though. Its displaying wrong. Please see the enclosed example. I have also added the bit from catalog /includes/modules/product_listing.php if that helps (think its something to do with that).

     

    Picture%201.png

     

     

      $lc_align = 'center';
    		if (isset($HTTP_GET_VARS['manufacturers_id'])) {
    		  $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>';
    		} else {
    		  $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($Ai ? 'Ai=' . $Ai . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> ';
    		}
    		 if (PRODUCT_LIST_DESCRIPTION && $listing['products_description'] && PRODUCT_LIST_DESCRIPTION_MAX_LENGTH)
    
    		$lc_text .= '<br><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td class="productDesc">' . tep_flatten_product_description($listing['products_description'],  ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . TEXT_MORE . '</a>') . '</td></tr></table>';
    
    
    		break;
    	  case 'PRODUCT_LIST_BUY_NOW':
    	   $lc_align = 'center';

  3. Hi, Have installed the script. Having a slight problem though. Its displaying wrong. Please see the enclosed example. I have also added the bit from catalog /includes/modules/product_listing.php if that helps (think its something to do with that).

     

    Picture%201.png

     

     

      $lc_align = 'center';
    		if (isset($HTTP_GET_VARS['manufacturers_id'])) {
    		  $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>';
    		} else {
    		  $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($Ai ? 'Ai=' . $Ai . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> ';
    		}
    		 if (PRODUCT_LIST_DESCRIPTION && $listing['products_description'] && PRODUCT_LIST_DESCRIPTION_MAX_LENGTH)
    
    		$lc_text .= '<br><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td class="productDesc">' . tep_flatten_product_description($listing['products_description'],  ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . TEXT_MORE . '</a>') . '</td></tr></table>';
    
    
    		break;
    	  case 'PRODUCT_LIST_BUY_NOW':
    	   $lc_align = 'center';

  4. Hi, got another problem.

     

    I have set up a few coupon codes, and no matter which one I try and enter, I keep getting the error message "The coupon code you have entered is not valid." Any ideas why? I am copy and pasting the code, so I know that it is right! Below is the one I have made...

     

    2009-04-09

    Coupon Name F&TF Special

    Coupon Description This provides the customer with a discount for the release of the F&TF 4 Film

    Coupon Amount 5.0000%

    Coupon Minimum Order 99.0000

    Free Shipping No Free Shipping

    Coupon Code 34739b85461844

    Uses per Coupon 0

    Uses per Customer 1

    Valid Customer List 0

    Valid Product List

    Valid Categories List

    Start Date 04/09/2009

    End Date 04/09/2010

  5. Any more help?

     

    and if i manually type in domain.co.uk/ai/coupons.php (ai is the admin folder), it says:

     

    Access Denied

    No Right Permission Access

    Please contact your Web Administrator to request

    more access or if you found any problem.

     

    Hi Tracy,

     

    Have change it to the following, but still not working :(

  6. Hi Tracy,

     

    Have change it to the following, but still not working :(

    tep_admin_files_boxes(FILENAME_INFORMATION_MANAGER, BOX_CATALOG_INFORMATION) .

    tep_admin_files_boxes(FILENAME_PRODUCTS_EXPECTED, BOX_CATALOG_PRODUCTS_EXPECTED) .

    tep_admin_files_boxes(FILENAME_DISCOUNT_COUPONS, BOX_CATALOG_DISCOUNT_COUPONS));

    //Admin end

    }

     

     

    Well, for some reason your file looks a bit different from mine, and you have that products_expected link in there 3 times. It's commented out once above the discount coupon code changes and then again afterwards. If it helps, this is what my admin/includes/boxes/catalog.php looks like:

    <?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>' .
    							   //BOF Xsell
    							   '<a href="' . tep_href_link(FILENAME_XSELL_PRODUCTS) . '" class="menuBoxContentLink">' . BOX_CATALOG_XSELL_PRODUCTS . '</a><br>' .
    							   //EOF Xsell
    							   //BOF Products Sort
    							   '<a href="' . tep_href_link(FILENAME_PRODUCTS_SORTER, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_SORTER . '</a><br>' .
    							   //EOF Products Sort
    							   //BOF Discount Coupon Codes
    							   '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>');
    							   //EOF Discount Coupon Codes
     }
    
     $box = new box;
     echo $box->menuBox($heading, $contents);
    ?>

  7. Thanks. Sorry, I dont understand sorry. The Products Expected link is working fine, its the discount coupons one that isnt working. The astericks comment out only the old products expected link, not the coupons code. Tried all you said anyway, and does not work. Any other ideas? Thanks again!

     

    Start be deleting the first instance of:

    (FILENAME_PRODUCTS_EXPECTED, BOX_CATALOG_PRODUCTS_EXPECTED));

     

    If it still doesn't work remove the lines with the asterisks as yhey are commenting out that line of code which creates the link in your Catalog area in admin

  8. Double check that you made the changes to this file: admin/includes/boxes/catalog.php

     

    Mines slightly different but done the following.

     

     

    								   tep_admin_files_boxes(FILENAME_SALEMAKER, BOX_CATALOG_SALEMAKER) .
    							   tep_admin_files_boxes(FILENAME_FEATURED, BOX_CATALOG_FEATURED) .
    							   tep_admin_files_boxes(FILENAME_INFORMATION_MANAGER, BOX_CATALOG_INFORMATION) .
    							   //tep_admin_files_boxes(FILENAME_PRODUCTS_EXPECTED, BOX_CATALOG_PRODUCTS_EXPECTED));
    								//kgt - discount coupons
    							   tep_admin_files_boxes(FILENAME_PRODUCTS_EXPECTED, BOX_CATALOG_PRODUCTS_EXPECTED) .
    							   tep_admin_files_boxes(FILENAME_DISCOUNT_COUPONS, BOX_CATALOG_DISCOUNT_COUPONS));
    							   /***************
    							   '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' );
    							   ***************/
    							   //end kgt - discount coupons

  9. Sorry if this has already been covered, had a good look but cant see it, there are 117 pages!. Ive edited all the existing files and added the new ones. Its showing up under modules, and I have installed it, all good as far as I can see. But under catalog in the admin panel, there is no link for coupon codes. Any ideas? Thanks so much for all your help!

  10. Hi,

     

    Looking at v2.3 or the Reviews in Product Display contrib (http://www.oscommerce.com/community/contributions,%20734). Problem I get is that, in instruction it says to look at catalouge/product_info.php and find

     

    <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
    			<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
    			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

     

    to replace. I can not see this, as my product_info.php is as follows...

     

    <?php
    /*
     $Id: product_info.php,v 1.2 2003/09/24 14:33:16 wilt 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_PRODUCT_INFO);
    
     $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
     $product_check = tep_db_fetch_array($product_check_query);
    
     $content = CONTENT_PRODUCT_INFO;
     $javascript = 'popup_window.js';
    
     require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/' . TEMPLATENAME_MAIN_PAGE);
    
     require(DIR_WS_INCLUDES . 'application_bottom.php');
    ?>

     

    I also have a product_info.php in includes/languages/english (which is what I think the one in catalogue is pointing to). It has the following...

     

    <?php
    /*
     $Id: product_info.php,v 1.1.1.1 2003/09/18 19:04:28 wilt 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', 'Product Information');
    define('PAGE_TITLE', 'Product Information');
    define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');
    define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');
    define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');
    define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');
    define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');
    define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');
    define('TEXT_PRODUCT_OPTIONS', 'Available Options:');
    define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');
    define('TEXT_XSELL_PRODUCTS', 'We Also Recommend :');
    define('TEXT_NO_MOPICS', 'Coming soon!');
    
    /* 
    Distinction changed as per extranet request 30/10/07
    -----------------------------------------------------
    
    define('TEXT_HEADING_DOES_IT_FIT', 'Does this fit your car?');
    define('TEXT_DOES_IT_FIT', 'If your car is not listed above from the fitment menu then tailor made frames are not available for your make and model of car and you will need to choose universal frames and runners or side mounts where available. For more information about side mounts, subframes, runners and seat fittings. Then <a href="' .  tep_href_link(FILENAME_FAQDESK_INDEX, 'section=25') . '">click here</a>.');
    
    define('TEXT_HEADING_ADDITIONAL_INFORMATION', 'Got a question? Check the FAQ section');
    define('TEXT_ADDITIONAL_INFORMATION', 'We regularly get the same questions asked over and over again. So to help provide you with all the information you require we have the <a href="' .  tep_href_link(FILENAME_FAQDESK_INDEX, 'section=27') . '">FAQ section</a> which we hope should answer all your questions. If not simply <a href="' .  tep_href_link(FILENAME_CONTACT_US) . '">contact us</a> and we will be happy to help.');
    
    define('TEXT_HEADING_DELIVERY_INFORMATION', 'Delivery Information');
    define('TEXT_DELIVERY_INFORMATION', 'Our standard delivery time on items is 2-3 working days unless otherwise stated on our website or by our sales staff.');
    
    define('TEXT_HEADING_DISCOUNT_ZONE', 'Additional Information');
    define('TEXT_DISCOUNT_ZONE', 'If you would prefer to buy over the phone and talk to one of our sales staff instead of ordering online, simply drop us an <a href="' .  tep_href_link(FILENAME_CONTACT_US) . '">email</a> with your contact details, the seats you are interested in and the best time to contact you and a member of our sales team will call to aid with your purchase.');
    */
    
    define('TEXT_HEADING_DOES_IT_FIT', 'Delivery time important information!');
    define('TEXT_DOES_IT_FIT', 'We are keen to provide all the information possible which is why we wrote this <a href="http://www.sportseats4u.co.uk/delivery-information-s-53.html">guide to delivery times</a>. This explains how long it takes to dispatch seats that are in stock to seats that are custom hand made. Please read this information before ordering so you know how long it will take to dispatch the seats you are ordering.');
    
    define('TEXT_HEADING_ADDITIONAL_INFORMATION', 'Products and seats explained');
    define('TEXT_ADDITIONAL_INFORMATION', 'We have written several pages of information to explain exactly what we supply from sport seat information and FIA guides. If you are looking at buying some bucket seats then please read our <a href="http://www.sportseats4u.co.uk/bucket-seats-explained-s-35.html">bucket seats explained</a>. If you are looking at buying some reclining sport seats then please read our <a href="http://www.sportseats4u.co.uk/reclining-seats-explained-s-34.html">reclining seats explained</a>. Do you need to know how to fit them? We have our <a href="http://www.sportseats4u.co.uk/fitting-frames-explained-s-25.html">fitting frames explained</a> and <a href="http://www.sportseats4u.co.uk/side-mounts-explained-s-37.html">side mounts explained</a> information.');
    
    define('TEXT_HEADING_DELIVERY_INFORMATION', 'Delivery time important information!');
    define('TEXT_DELIVERY_INFORMATION', 'We are keen to provide all the information possible which is why we wrote this <a href="http://www.sportseats4u.co.uk/delivery-information-s-53.html">guide to delivery times</a>. This explains how long it takes to dispatch seats that are in stock to seats that are custom hand made. Please read this information before ordering so you know how long it will take to dispatch the seats you are ordering.');
    
    define('TEXT_HEADING_DISCOUNT_ZONE', 'Online transactions and outside UK sales');
    define('TEXT_DISCOUNT_ZONE', 'Please be aware that for security reasons all sales made outside of the UK using our automated online shopping cart must match our security checks to protect our customers. Please <a href="http://www.sportseats4u.co.uk/information.php?info_id=2">click here</a> to read more information relating to our payment system and the 3D security checks which have been upgraded.');
    
    define('TEXT_HEADING_PRODUCT_OPTIONS', 'Product Options');
    ?>

     

    I really dont understand these pages! Please help!

  11. I also have a product_info.php in includes/languages/english (which is what I think the one in catalogue is pointing to). It has the following...

     

    <?php
    /*
     $Id: product_info.php,v 1.1.1.1 2003/09/18 19:04:28 wilt 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', 'Product Information');
    define('PAGE_TITLE', 'Product Information');
    define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');
    define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');
    define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');
    define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');
    define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');
    define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');
    define('TEXT_PRODUCT_OPTIONS', 'Available Options:');
    define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');
    define('TEXT_XSELL_PRODUCTS', 'We Also Recommend :');
    define('TEXT_NO_MOPICS', 'Coming soon!');
    
    /* 
    Distinction changed as per extranet request 30/10/07
    -----------------------------------------------------
    
    define('TEXT_HEADING_DOES_IT_FIT', 'Does this fit your car?');
    define('TEXT_DOES_IT_FIT', 'If your car is not listed above from the fitment menu then tailor made frames are not available for your make and model of car and you will need to choose universal frames and runners or side mounts where available. For more information about side mounts, subframes, runners and seat fittings. Then <a href="' .  tep_href_link(FILENAME_FAQDESK_INDEX, 'section=25') . '">click here</a>.');
    
    define('TEXT_HEADING_ADDITIONAL_INFORMATION', 'Got a question? Check the FAQ section');
    define('TEXT_ADDITIONAL_INFORMATION', 'We regularly get the same questions asked over and over again. So to help provide you with all the information you require we have the <a href="' .  tep_href_link(FILENAME_FAQDESK_INDEX, 'section=27') . '">FAQ section</a> which we hope should answer all your questions. If not simply <a href="' .  tep_href_link(FILENAME_CONTACT_US) . '">contact us</a> and we will be happy to help.');
    
    define('TEXT_HEADING_DELIVERY_INFORMATION', 'Delivery Information');
    define('TEXT_DELIVERY_INFORMATION', 'Our standard delivery time on items is 2-3 working days unless otherwise stated on our website or by our sales staff.');
    
    define('TEXT_HEADING_DISCOUNT_ZONE', 'Additional Information');
    define('TEXT_DISCOUNT_ZONE', 'If you would prefer to buy over the phone and talk to one of our sales staff instead of ordering online, simply drop us an <a href="' .  tep_href_link(FILENAME_CONTACT_US) . '">email</a> with your contact details, the seats you are interested in and the best time to contact you and a member of our sales team will call to aid with your purchase.');
    */
    
    define('TEXT_HEADING_DOES_IT_FIT', 'Delivery time important information!');
    define('TEXT_DOES_IT_FIT', 'We are keen to provide all the information possible which is why we wrote this <a href="http://www.sportseats4u.co.uk/delivery-information-s-53.html">guide to delivery times</a>. This explains how long it takes to dispatch seats that are in stock to seats that are custom hand made. Please read this information before ordering so you know how long it will take to dispatch the seats you are ordering.');
    
    define('TEXT_HEADING_ADDITIONAL_INFORMATION', 'Products and seats explained');
    define('TEXT_ADDITIONAL_INFORMATION', 'We have written several pages of information to explain exactly what we supply from sport seat information and FIA guides. If you are looking at buying some bucket seats then please read our <a href="http://www.sportseats4u.co.uk/bucket-seats-explained-s-35.html">bucket seats explained</a>. If you are looking at buying some reclining sport seats then please read our <a href="http://www.sportseats4u.co.uk/reclining-seats-explained-s-34.html">reclining seats explained</a>. Do you need to know how to fit them? We have our <a href="http://www.sportseats4u.co.uk/fitting-frames-explained-s-25.html">fitting frames explained</a> and <a href="http://www.sportseats4u.co.uk/side-mounts-explained-s-37.html">side mounts explained</a> information.');
    
    define('TEXT_HEADING_DELIVERY_INFORMATION', 'Delivery time important information!');
    define('TEXT_DELIVERY_INFORMATION', 'We are keen to provide all the information possible which is why we wrote this <a href="http://www.sportseats4u.co.uk/delivery-information-s-53.html">guide to delivery times</a>. This explains how long it takes to dispatch seats that are in stock to seats that are custom hand made. Please read this information before ordering so you know how long it will take to dispatch the seats you are ordering.');
    
    define('TEXT_HEADING_DISCOUNT_ZONE', 'Online transactions and outside UK sales');
    define('TEXT_DISCOUNT_ZONE', 'Please be aware that for security reasons all sales made outside of the UK using our automated online shopping cart must match our security checks to protect our customers. Please <a href="http://www.sportseats4u.co.uk/information.php?info_id=2">click here</a> to read more information relating to our payment system and the 3D security checks which have been upgraded.');
    
    define('TEXT_HEADING_PRODUCT_OPTIONS', 'Product Options');
    ?>

  12. Hi,

     

    Looking at v2.3 and in instruction says to look at catalouge/product_info.php and find

     

    <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
    			<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
    			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

     

    to replace. I can not see this, as my product_info.php is as follows...

     

    <?php
    /*
     $Id: product_info.php,v 1.2 2003/09/24 14:33:16 wilt 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_PRODUCT_INFO);
    
     $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
     $product_check = tep_db_fetch_array($product_check_query);
    
     $content = CONTENT_PRODUCT_INFO;
     $javascript = 'popup_window.js';
    
     require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/' . TEMPLATENAME_MAIN_PAGE);
    
     require(DIR_WS_INCLUDES . 'application_bottom.php');
    ?>

     

    PLEASE HELP!

×
×
  • Create New...