Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Actual Attribute Price V1.0 - Help?


ceaton79

Recommended Posts

Posted

Hello,

 

I attempted to install the Actual Attribute Price V1.0 contribution yesterday but got stuck at step 3.

 

I was fine until it said to do the following in product_info.php:

 

CHANGE:

 

if ($products_options['options_values_price'] != '0') {

 

TO:

 

//BOF PHPMOM.COM AAP

if (($products_options['options_values_price'] != '0')||(($products_options['options_values_price'] == '0')&&($products_options['price_prefix'] == ''))) {

//eof aap

 

My product_info.php does not look like the above... it looks like this:

 

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 am using a CRE Loaded template 6.15 - this is probably why I can't figure this out. My url is www.eatonweddingbells.com.

 

How do I get this contribution working on my site? :-"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...