Results 1 to 6 of 6
  1. #1
    Join Date
    May 2007
    Posts
    43
    Plugin Contributions
    0

    Default Include manufacturer in the product name automatically

    I always specify a manufacturer when adding the product, but then I also have to write it in the product name, e.g.:

    Manufacturer: Adidas
    Name: Adidas - ZX600

    Seems to be redundant. Is there a way to include the manufacturer automatically in the product name? Is there a function that handles product names that I can edit to accomplish this?

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Include manufacturer in the product name automatically

    update product name set producte name=product name + manufacturer name
    You have to do something like this frm phpmyadmin
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    May 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Include manufacturer in the product name automatically

    Ya, but this is something I'd have to do each time I add a new product. I'd like to have proper data (not modified) and just display manuf on the places where product name is displayed. What you are suggesting is to modify the data.

  4. #4
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Include manufacturer in the product name automatically

    For that you would have to make the changes in tpl_product_info_display.php which is placed in
    \includes\templates\template_default\templates
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  5. #5
    Join Date
    May 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Include manufacturer in the product name automatically

    But then I also need to edit all the other templates where the product name appears. Like listings, orders, shopping cart. I am still looking for a way to just edit something in one place and have it affect everything else. :)

  6. #6
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Include manufacturer in the product name automatically

    Your best bet would be to update the current products by using the update query and for the new product addition, you can do everything manually or write a stored procedure which will isnsert manufacturer name in the product desc
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

 

 

Similar Threads

  1. Automatically Include Customer Name in Newsletter Salutation?
    By rebelman in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 8 Sep 2011, 07:07 PM
  2. Automatically Include customer name in E Mail
    By Axon in forum General Questions
    Replies: 3
    Last Post: 19 Jan 2011, 11:57 PM
  3. include product name or SKU in Enquire about this item
    By xrsixturbo in forum Basic Configuration
    Replies: 0
    Last Post: 5 Nov 2009, 03:31 AM
  4. How do I include the title in the address bar to include the product name?
    By alliedlock in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Aug 2009, 05:59 AM
  5. Can Zen Cart automatically include an attribute to every new product added?
    By darrennanos in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Oct 2006, 08:32 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