Hello,
Thanks for the help...
I fixed this by editing the database directly in MySQL. Never did figure out the problem.
Printable View
Hello,
Thanks for the help...
I fixed this by editing the database directly in MySQL. Never did figure out the problem.
I personally need both because some of my items have the same model number. The item titles are different though. But since Cross Sell Advanced looks the item up by model number, some of my products do not show up because there are several with the same model number. Had I known about Cross Sell Advanced from the beginning, I would've made sure they all had different model numbers because now I have to bounce back and forth between the regular version and the advanced version.
:smile:
Thanks a lot for this contribution :thumbsup:
I would like to have add to cart buttons on the cross sell products though, and I am wondering if somebody already has done that (hoping to save me some time ;-) ).
Parse error: syntax error, unexpected T_STRING in /home/airinfan/public_html/catalog/includes/languages/english/airinfan/product_info.php on line 1
this is what i'm getting when i try to view an item, after i've linked it with another item.
define('TEXT_XSELL_PRODUCTS', 'We Also Recommend :');
is there a syntax error in this line that would cause this problem?
Sounds like space(s) or blank line(s) before the <?php of that file ...
no such luck. there are no spaces or lines before that.
What is on the first 10 lines?
<?php
/**
* @package languageDefines
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: product_info.php 3159 2006-03-11 01:35:04Z drbyte $
*/
define('TEXT_PRODUCT_NOT_FOUND', 'Sorry, the product was not found.');
define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');
define('TEXT_MORE_INFORMATION', 'For more information, please visit this product\'s <a href="%s" target="_blank">webpage</a>.');
define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');
define('TEXT_DATE_AVAILABLE', 'This product will be in stock on %s.');
define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased...');
define('TEXT_PRODUCT_OPTIONS', 'Please Choose: ');
define('TEXT_PRODUCT_MANUFACTURER', 'Manufactured by: ');
define('TEXT_PRODUCT_WEIGHT', 'Shipping Weight: ');
define('TEXT_PRODUCT_QUANTITY', ' Units in Stock');
define('TEXT_PRODUCT_MODEL', 'Model: ');
// previous next product
define('PREV_NEXT_PRODUCT', 'Product ');
define('PREV_NEXT_FROM', ' from ');
define('IMAGE_BUTTON_PREVIOUS','Previous Item');
define('IMAGE_BUTTON_NEXT','Next Item');
define('IMAGE_BUTTON_RETURN_TO_PRODUCT_LIST','Back to Product List');
// missing products
//define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
//define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
//define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');
define('TEXT_ATTRIBUTES_PRICE_WAS',' [was: ');
define('TEXT_ATTRIBUTE_IS_FREE',' now is: Free]');
define('TEXT_ONETIME_CHARGE_SYMBOL', ' *');
define('TEXT_ONETIME_CHARGE_DESCRIPTION', ' One time charges may apply');
define('TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK','Quantity Discounts Available');
define('ATTRIBUTES_QTY_PRICE_SYMBOL', zen_image(DIR_WS_TEMPLATE_ICONS . 'icon_status_green.gif', TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK, 10, 10) . ' ');
?>
that's the entire product_info.php file. it works fine as is, but when i add that one line it gives me that error when i try to view an item.
also when i try to add the third part of the sql file through the sql patcher it fails. but it seems like that third paragraph is not necessary for x-sell to work?