View Single Post
  #1  
Old 12-29-2010, 03:37 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

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

Default Adding Manufacturer name in front of Product name

Hi Guys,

I would like to show in Frontend Manufacturer name in front of Product name. In my store Manufacturer name is actually Brand name. One option is to insert [Brand Name + Product Name] when adding a product in Backend. But is not what I would like to do.

Other option is to edit all templates, but this is taking too much time and too many changes. What I would like to do is changing the php file responsible to process the product name all over the script. Is there anyone who knows what php file shall I change?

The idea is to do an sql query before for manufacturer name, then to concatenate with product name and result being product name. Product name is used all over the script, and saving lot of time with changes.
__________________
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