addbrad Posted March 11, 2007 Posted March 11, 2007 Shopping Cart text on the shopping cart reads HEADING_TITLE & TEXT_CART_EMPTY, can't seem to find where to change them ? shopping_cart.php reads: <?php /* $Id: product_reviews_write.php,v 1.2 2004/03/05 00:36:42 ccwjr Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Reviews'); define('SUB_TITLE_FROM', 'From:'); define('SUB_TITLE_REVIEW', 'Your Review:'); define('SUB_TITLE_RATING', 'Rating:'); define('TEXT_NO_HTML', '<small><font color="#ff0000"><b>NOTE:</b></font></small> HTML is not translated!'); define('TEXT_BAD', '<small><font color="#ff0000"><b>BAD</b></font></small>'); define('TEXT_GOOD', '<small><font color="#ff0000"><b>GOOD</b></font></small>'); define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge'); ?> Write a review similar problem to above text all wrong but can't see where to change it ? i.e. SUB_TITLE_RATING TEXT_BAD TEXT_GOOD product_reviews_write.php reads: <?php /* $Id: shopping_cart.php,v 1.3 2004/03/15 12:13:02 ccwjr Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Cart Contents'); define('HEADING_TITLE', 'What\'s In My Cart?'); define('TABLE_HEADING_REMOVE', 'Remove'); define('TABLE_HEADING_QUANTITY', 'Qty.'); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product(s)'); define('TABLE_HEADING_TOTAL', 'Total'); define('TEXT_CART_EMPTY', 'Your Shopping Cart is empty!'); define('SUB_TITLE_SUB_TOTAL', 'Sub-Total:'); define('SUB_TITLE_TOTAL', 'Total:'); define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' don\'t exist in desired quantity in our stock.<br>Please alter the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '), Thank you'); define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' don\'t exist in desired quantity in our stock.<br>You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.'); ?> Header tags header_tags.php any changes i make in here send the shop down copy of: <?php // /catalog/includes/languages/english/header_tags.php // WebMakers.com Added: Header Tags Generator v2.3 // Add META TAGS and Modify TITLE // // DEFINITIONS FOR /includes/languages/english/header_tags.php // Define your email address to appear on all pages define('HEAD_REPLY_TAG_ALL', STORE_OWNER_EMAIL_ADDRESS); // For all pages not defined or left blank, and for products not defined // These are included unless you set the toggle switch in each section below to OFF ( '0' ) // The HEAD_TITLE_TAG_ALL is included BEFORE the specific one for the page // The HEAD_DESC_TAG_ALL is included AFTER the specific one for the page // The HEAD_KEY_TAG_ALL is included BEFORE the specific one for the page define('HEAD_TITLE_TAG_ALL', STORE_NAME); define('HEAD_DESC_TAG_ALL','What\'s New Here? - Hardware Software DVD Movies'); define('HEAD_KEY_TAG_ALL','Hardware, Software, DVD Movies, Computer'); // DEFINE TAGS FOR INDIVIDUAL PAGES // index.php define('HTTA_DEFAULT_ON','1'); // Include HEAD_TITLE_TAG_ALL in Title define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords define('HTDA_DEFAULT_ON','1'); // Include HEAD_DESC_TAG_ALL in Description define('HEAD_TITLE_TAG_DEFAULT', 'CRE Loaded 6'); define('HEAD_DESC_TAG_DEFAULT','osCommerce : '); define('HEAD_KEY_TAG_DEFAULT','Hardware, Software, DVD Movies, Computer'); // product_info.php - if left blank in products_description table these values will be used define('HTTA_PRODUCT_INFO_ON','1'); define('HTKA_PRODUCT_INFO_ON','1'); define('HTDA_PRODUCT_INFO_ON','1'); define('HEAD_TITLE_TAG_PRODUCT_INFO',''); define('HEAD_DESC_TAG_PRODUCT_INFO',''); define('HEAD_KEY_TAG_PRODUCT_INFO',''); // products_new.php - whats_new define('HTTA_WHATS_NEW_ON','1'); define('HTKA_WHATS_NEW_ON','1'); define('HTDA_WHATS_NEW_ON','1'); define('HEAD_TITLE_TAG_WHATS_NEW','New Products'); define('HEAD_DESC_TAG_WHATS_NEW','I am ON PRODUCTS_NEW as HEAD_DESC_TAG_WHATS_NEW and over ride the HEAD_DESC_TAG_ALL'); define('HEAD_KEY_TAG_WHATS_NEW','I am on PRODUCTS_NEW as HEAD_KEY_TAG_WHATS_NEW and over ride HEAD_KEY_TAG_ALL'); // specials.php // If HEAD_KEY_TAG_SPECIALS is left blank, it will build the keywords from the products_names of all products on special define('HTTA_SPECIALS_ON','1'); define('HTKA_SPECIALS_ON','1'); define('HTDA_SPECIALS_ON','1'); define('HEAD_TITLE_TAG_SPECIALS','Specials'); define('HEAD_DESC_TAG_SPECIALS',''); define('HEAD_KEY_TAG_SPECIALS',''); // product_reviews_info.php and product_reviews.php - if left blank in products_description table these values will be used define('HTTA_PRODUCT_REVIEWS_INFO_ON','1'); define('HTKA_PRODUCT_REVIEWS_INFO_ON','1'); define('HTDA_PRODUCT_REVIEWS_INFO_ON','1'); define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_INFO',''); define('HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO',''); define('HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO',''); ?> and i want it to read something like: <TITLE>Adult Toys, Strap On's, Vibrators, Dildo's And More Sex Toys Inside!</TITLE> <Meta Name="copyright" CONTENT="2007, adultslovefun"> <META NAME="description" CONTENT="Adult toys such as strap on's, vibrators, dildos and many more adult sex toys inside. Free UK delivery* and discreet P&P"> <META NAME="keywords" CONTENT="sex toys dildo vibrator adult strap on lingerie dildos vibrators sexy"> <Meta Name="classification" CONTENT="Adult, Sex, vibrators, Sex Toys, Sex shop, Sex shops"> My Account overview once signed on E-Mail Notifications i'd like to remove the oscommerce banner Copyright and telephone info i can't find a footer.php so not sure how i'd add this to the bottom of the page Checkout Payment i'd like to remove most of the images from the paypal option i.e remove visa, mastercard, discover & american express leaving me just with the paypal logo and text i've looked in checkout_payment.php but it's not in there FAQ's these are turned on in admin but not shown ? Quote
Jack_mcs Posted March 11, 2007 Posted March 11, 2007 When capital letters like HEADING_TITLE & TEXT_CART_EMPTY are displayed, it means something is wrong in the code. If they are showing on the shopping cart page, then look in english/shopping_cart.php and make sure those items are listed. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
addbrad Posted March 11, 2007 Author Posted March 11, 2007 When capital letters like HEADING_TITLE & TEXT_CART_EMPTY are displayed, it means something is wrong in the code. If they are showing on the shopping cart page, then look in english/shopping_cart.php and make sure those items are listed. Jack looks like somehow shopping_cart.php & product_reviews_write.php got mixed up Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.