Jump to content

true-tigger

Members
  • Content count

    24
  • Joined

  • Last visited


Reputation Activity

  1. Like
    true-tigger got a reaction from opisicurmoump in Reviews in Product Display and weird product_info.php   
    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!
×