Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index.php and Featured products problem


Fyod

Recommended Posts

1) index.php has this warning:

 

Warning: main(includes/modules/FILENAME_FEATURED): failed to open stream: No such file or directory in /wwwhosting/domain/subdomains/eshop/index.php on line 319 

Warning: main(): Failed opening 'includes/modules/FILENAME_FEATURED' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /wwwhosting/domain/subdomains/eshop/index.php on line 319

 

even the link to featured products is http://eshop.domain.cz/FILENAME_FEATURED_PRODUCTS

It looks as if the file is missing in its folder, but the file is there 100%.

 

2) In products comments, the user's name and last name are shown. Can this be changed to only their first name (privacy reasons)?

 

I'm using oScom v 2.2 with Czech localization.

Thanks for your help in advance!

Link to comment
Share on other sites

Thanks to your hint I figured it out!

But I didn't install the featured products package, it came with oScom.

 

So for future reference:

 

In shop/filenames.php add:

define('FILENAME_FEATURED', 'featured.php');

define('FILENAME_FEATURED_PRODUCTS', 'featured_products.php');

 

In admin go to Configuration > Featured products

"Show featured products" must be set to "true" and "Maximum" must be set to at least "1".

 

I'm very happy with that!

 

Now anyone have any idea how to take the last names of customers out of Product Comments?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...