Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why cant I remove ALSO PURCHASED PRODUCTS?


Dennis_gull

Recommended Posts

Hey,

 

I dont want to have the window where it says "people who bought this product also bought..."

If I remove this:

	if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
 }

 

I get an error like this:

Parse error: syntax error, unexpected $end in www.example.com/product_info.php on line 248

 

So what do I have to do to remove that window.

Link to comment
Share on other sites

Hey,

 

I dont want to have the window where it says "people who bought this product also bought..."

If I remove this:

	if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
 }

 

I get an error like this:

Parse error: syntax error, unexpected $end in www.example.com/product_info.php on line 248

 

So what do I have to do to remove that window.

 

You are receiving this error because of an unmatched "{" curly. The code you are removing is including a closing curly "}". Remove the code as below:

 

	if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}

 

 

Let me know if that still does not fix your issue.

 

Amit

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...