Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2011
    Posts
    23
    Plugin Contributions
    0

    Default HELP please! How do I add manufacturer to product_id or product name?

    Hello. I've been looking all over and I can't seem to find the answer:

    I want to add the manufacturer to my products index listings on main page / new products page, etc. So it will say:
    "Manufacturer name" - "Product_name"
    instead of just the product name.

    I'm looking in all the function files but none of them really stand out as being the answer. I searched for (int)$_GET['products_id'] and it pops in various locations.. but I'm not sure which one is right. I'm looking at the modules/new_products.php page but the functions pages are a little harder for me to decipher.

    Have any of you done this? Or know how? I would immensely appreciate the help.

    my site is http://www.5dollarcd.com
    if you open it up, most of the products (all the ones without images) just show the product name/id.. (which I'm using for the "title" cuz it's all music)..
    I changed "manufacturer" to "Artist" because I want people to be able to have all the functions zencart set for manufacturers but for artist (search, click and all manufacturers/artist pop up, etc.)

    Can any of you lead me in the right direction? Please I'd appreciate it. Thanks

  2. #2
    Join Date
    Sep 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: HELP please! How do I add manufacturer to product_id or product name?

    I think it has something to do with this section of the includes/modules/new_products.php file?

    $list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsNew centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => (($new_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $new_products->fields['products_image'], $new_products->fields['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . $new_products->fields['products_name'] . '</a><br />' . $products_price);

    There are just so many products_ids! and do I add just [manufacterer_id] or do I also add $the_manufacturers['manufacturers_name'] somewhere?

    Help please...

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: HELP please! How do I add manufacturer to product_id or product name?

    admin > config > product listing > Display Product Manufacturer Name > enter the display order number
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Sep 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: HELP please! How do I add manufacturer to product_id or product name?

    That's not what I mean. I already have that set to 1.

    That lists manufacturer on product page.

    I want to list manufacturer on new products page. So it is in with the product title.

    Thank you for the response, though I fear it's not as easy as that and I hope I'm explaining myself right.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: HELP please! How do I add manufacturer to product_id or product name?

    admin > config > New Listing > Display Product Manufacturer Name > enter the display order number sequence
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Sep 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: HELP please! How do I add manufacturer to product_id or product name?

    What I was looking for is found on this page:
    http://www.zen-cart.com/forum/showthread.php?t=179450

 

 

Similar Threads

  1. How do I add Manufacturer to Product Info Up top (by product name and price)
    By mikeislearning in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Sep 2011, 06:37 PM
  2. manufacturer name in feature product centerbox
    By BouldTerier in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Sep 2011, 05:00 PM
  3. Add Manufacturer image to Manufacturer product page
    By vito in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Jul 2010, 05:05 PM
  4. PLEASE HELP! - how do add html to product description?
    By what44 in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 11 Sep 2009, 03:54 AM

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