Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default linked products show same category

    I can link products to multiple categories.

    The problem is that selecting a linked product from a category list sends the user to that product page but the 'Category Icon' link at the top of the page shows the category that the master product is in.

    So, if I had a product 'Socks' that was in the Clothing category and as a linked product in the Footwear category, then clicking on Socks within Footwear would take me to Clothing -> Socks.
    And show a Clothing category link at the top of the page.

    That would be confusing for a shopper.

    Any suggestions, other than copying Socks to to Footwear, on how to stay within a category heading when showing a linked product page?

    thx.

  2. #2
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: linked products show same category

    This only works because I have
    admin > config > product info > Previous Next - Navigation Includes Category Position > set to "1"

    and
    admin > config > layout settings > define bread crumbs status > set to "0"
    and I don't use category images

    In tpl_modules_category_icon_display.php
    replace the code in the div tags with this:

    Code:
    <div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR) .  '</a>'; ?></div>
    In init_add_crumbs.php
    comment out:
    Code:
    $breadcrumb->add(HEADER_TITLE_CATALOG, zen_href_link(FILENAME_DEFAULT));
    and
    Code:
    $breadcrumb->add($productname->fields['products_name'], zen_href_link(zen_get_info_page($_GET['products_id']), 'cPath=' . $cPath . '&products_id=' . $_GET['products_id']));

  3. #3
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: linked products show same category

    CORRECTION:

    I also turned off the link on the breadcrumb, so...

    In tpl_modules_category_icon_display.php
    replace the code in the div tags with this:

    Code:
    <div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<b>' . $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR) .  '</b>'; ?></div>

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

    Default Re: linked products show same category

    NOTE: this has been updated in v1.3.8 to maintain the current cPath when browsing categories OR use the master_categories_id when the current cPath cannot be determined ...

    This will maintain the flow of where are you durning navigation for the customer from a more logical stand point ...
    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 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: linked products show same category

    Good to know... thanks Ajeh.

  6. #6
    Join Date
    Sep 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: linked products show same category

    I realize that v1.3.8 is not yet out but has the fix already been made in the current code base, are the category files updated already to keep the navigation consistent?

    If so what are the files involved and where can I obtain them?

    Thank you

    Robert Francis

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

    Default Re: linked products show same category

    We cannot do partial releases there are too many files involved and changes between versions ...
    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!

  8. #8
    Join Date
    Sep 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: linked products show same category

    I'm not asking for a partial release, I am pretty technically savvy, and I was just hoping there was some documentation for the ongoing project that would point to the specific files on Sourceforge.net > Code > SVN (Subversion) so I could obtain the specific modified files.

    If there is no project documentation with specifics on the files for me to access I can just peak around in there and download all the latest files and try to make them work.

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

    Default Re: linked products show same category

    Sorry we have nothing to release until the code is done for the upcoming v1.3.8 ...

    We don't release in part or before a release is tested to our satisfaction ...
    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!

  10. #10
    Join Date
    May 2006
    Posts
    80
    Plugin Contributions
    0

    Default Re: linked products show same category

    Are linked product breadcrumbs suppose to be working in 1.3.8a?

    As they still dont work for me.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Linked products in same categories?
    By Kitty in forum General Questions
    Replies: 7
    Last Post: 8 May 2008, 08:06 PM
  2. Linked products in same catagory
    By 00falcon in forum General Questions
    Replies: 2
    Last Post: 5 Feb 2008, 12:22 AM
  3. Link category to work same way as a linked product, possible?
    By dedj in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 6 Jan 2008, 09:01 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