View Single Post
  #6  
Old 12-30-2010, 10:58 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Adding Manufacturer name in front of Product name

Let's go further just for product page with this feature. Execute this SQL query:

INSERT INTO `xcart_config` VALUES ('show_manufacturer_name', 'Show manufacturer name in front of product name', 'N', 'Appearance', 114, 'checkbox', 'N', '', '');

This will add a check box in General Settings -> Appearance -> Show manufacturer name in front ...

In func.product.php line 1263 change to this:

if($config['Appearance']['show_manufacturer_name'] == 'Y')

$product['producttitle'] = $product['manufacturer'] . " ". $product['product'];

else

$product['producttitle'] = $product['product'];

Right now finding solutions to make this available in all places. Once is done everyone can use this feature.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote