Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Can I add the manufacturers name to product name?

    I was wondering how can I modify the products name, so it adds the manufacturer's and looks like this >>> Canon PowerShot G12 Compact Camera

    which file needs to be modified? and I am talking about the product field so it can be exported to Google Merchant Center.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can I add the manufacturers name to product name?

    First, backup your database ...

    If you want the Manufacturer Name added in front of the Product Name ... you can use:
    Code:
    UPDATE products p, products_description pd, manufacturers m
     SET pd.products_name =  concat( m.manufacturers_name, ' ', pd.products_name) 
     where p.products_id = pd.products_id and p.manufacturers_id = m.manufacturers_id
    Note: compliments of the amazing DrByte with just a tad of help from da elf ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Re: Can I add the manufacturers name to product name?

    great! I knew there should be a concatenate SQL command to do that! Thanks!!!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can I add the manufacturers name to product name?

    You are most welcome ... just be sure to backup your database first, in case you really goober it up ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Can I add the manufacturers name to product name?

    This may be a futile exercise... The MANUFACTURER'S name ADDED to the product name will NOT satisfy Google Merchant conditions.
    20 years a Zencart User

 

 

Similar Threads

  1. manufacturers name into the URL?
    By jennydutch in forum General Questions
    Replies: 12
    Last Post: 25 Apr 2014, 09:42 AM
  2. Can the "option name" display name be different than the actual "option name"?
    By yukionna in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 3 Dec 2013, 01:06 AM
  3. v151 How to add Manufacturers Name to Featured and Specials Center Box
    By bam3312 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Oct 2012, 02:38 PM
  4. Replies: 0
    Last Post: 10 Oct 2011, 12:39 AM
  5. Can I add the category name to my Title meta tag?
    By josee225 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 17 Mar 2010, 10:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg