View Single Post
  #5  
Old 12-30-2010, 10:09 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

OK here is what I did for product page (v4.4.1) - ../include/func/func.product.php.

Line 1263

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

Replace with this: $product['producttitle'] = $product['manufacturer'] . " ". $product['product'];

New challenges coming, this is available only in product page. If you add the product in cart, the name is without manufacturer name.

I don't understand QT idea to change more php files when we talk important variable like manufacturer name, product name. How simple it was to change the product name only in one file.
__________________
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