Announcement

Collapse
No announcement yet.

Multi Parent Categories

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multi Parent Categories

    I may have asked this before, but I am trying to figure out a way to accomplish showing a category in multiple children categories. IE I have a Parent Category that has products assigned and information, and I want to be able to nest it as a child under 3 or 4 other categories so I can create all the info once, but have multiple ways to access it.

    So in our world, for example, I have Hose and Fittings as a Parent. I then have a child of Steel Fittings that I want to show under Hose and Fittings parent and Adapters parent so customers can choose from it in multiple areas of the store (outside of nav elements that I can customize in ReadyTheme).

    Thanks in advance for any input, and have a great thanksgiving!

  • Miva categories are organized in a tree structure. Each can have multiple children, but only one parent. One way to work around this is simply to assign products to more than one category; there's no limit on that. You may also be able to do something creative with custom fields and faceted searches, to create a "category-like" experience for your customers.
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


    • Right, so another example is our Industries pages.

      We have industries like Car Wash (parent cat) and Marine (parent cat). We then want to list the same parent of Fittings in both categories. Currently, I have to create Carwash-Fittings and Marine-Fittings and assign products to both of them and thus, manage two separate categories of products when things are updated... I'd love to be able to nest Fittings under Car Wash and Marine and have one Parent to modify that updates both.

      Comment


      • Can you not add a custom field to Car Wash and Marine, and then add Fittings in both and use the cxp function from here: https://docs.miva.com/code-samples/cxp to load the product info from fittings? You might need Category_HDFT_Load and some of the other API functions as well to properly display the Fittings "subcat", but it should be doable.

        Comment


        • Originally posted by Leanne View Post
          Can you not add a custom field to Car Wash and Marine, and then add Fittings in both and use the cxp function from here: https://docs.miva.com/code-samples/cxp to load the product info from fittings? You might need Category_HDFT_Load and some of the other API functions as well to properly display the Fittings "subcat", but it should be doable.
          That's the way we've been doing it whenever there is cause for products in multiple categories (sans toolkit cxp--just use miva's)
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment


          • For the record, I didn't mean Toolkit's cxp -- that's the "name" of the code sample on the page I linked. :)

            Comment


            • LOL. You expect me to actually read the entire post :)
              Bruce Golub
              Phosphor Media - "Your Success is our Business"

              Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
              phosphormedia.com

              Comment


              • Thanks for the feedback - I will look into this function a little deeper and see if this will solve our issues! Have a great weekend!

                Comment

                Working...
                X

                This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

                This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

                Accept