View Single Post
  #4  
Old 12-30-2010, 06:46 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

I will make a try. If I get the solution I will post it here. Any help before is much appreciated.

If everything goes fine in the first step, we can go further with another step, adding an option in Admin (Store configuration) placing or not manufacturer's name in front of product name.

This feature was requested many years ago. I don't understand why is not implemented by QT.

Quote:
Originally Posted by rogue
I think I see what you are trying to do. The code you are looking for is in .../include/func/func.product.php. You should be able to add a couple of lines at the bottom before the product array is returned to modify the product name by adding the manufacturer name as prefix.

The manufacturer name is in $product[manufacturer] I think.

The product name is in $product[product] I think.
__________________
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