Announcement

Collapse
No announcement yet.

ReadyTheme navigation and availability groups

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

    ReadyTheme navigation and availability groups

    I have a client who is running a store using a ReadyTheme navigation menu. They want to create a category that's restricted by an availability group, so that only certain customers can shop in that category. My question is: for customers who are NOT assigned to the avail. group, will the restricted category disappear from the nav menu, like it does with the old category tree? Or will I need to write custom code to make the link visible only to customers that can use it?

    Thanks --
    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

    #2
    My experience is that the CTGY assigned to an Avail Group isn't rendered to anyone unless they are logged in and assigned to that group.

    I think the only thing you need to check is if that specific CTGY has been manually assigned to ReadyTheme created Navbar. I'm not sure, but that configuration might end up in a dead link for those not assigned to it and not logged in. Then, stating an obvious, should that CTGY be visible when not physically available to those not assigned and logged in?

    Scott
    Need to offer Shipping Insurance?
    Interactive Design Solutions https://www.myids.net
    MivaMerchant Business Partner | Certified MivaMerchant Web Developer
    Competitive Rates, Custom Modules and Integrations, Store Integration
    AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
    My T-shirt Collection is mostly MivaCon T-shirts!!

    Comment


      #3
      That's exactly what I want to know. When the nav menu is displayed to a customer who isn't in the avail. group, will they see a link which, if they click it, will give them an error message?
      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


        #4
        I am guessing, but since the CTGY is forced to display in the Navbar, and then when clicked and there is an error message, I would think it would say something to the effect that the resource isn't available. I think I remember this scenario actually. I'd plan on doing some custom coding in the RT Navbar.

        Hopefully someone with recent experience chimes in.

        Scott
        Need to offer Shipping Insurance?
        Interactive Design Solutions https://www.myids.net
        MivaMerchant Business Partner | Certified MivaMerchant Web Developer
        Competitive Rates, Custom Modules and Integrations, Store Integration
        AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
        My T-shirt Collection is mostly MivaCon T-shirts!!

        Comment


          #5
          As far as I've seen, the RT menus run from a data source created manually by the that menus "Settings". So, you'd have to add your own 'blocking' code to the RT menu rendering code.
          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


            #6
            Yes, that was my quick impression. that I'll need to add a bunch of if/else code and db.mv calls to the nav set template in order for it to not display categories (or products) that the customer isn't allowed to access, I was hoping someone could give me a definite answer on this?

            And if manual coding is required, shouldn't this be considered a bug in ReadyTheme nav sets? I think it's safe to say that no store owner is going to want these links to be displayed to customers who will just get an error message when they click them. I guess many stores don't use availability groups at all, so it's understandable that it fell thru the cracks for so long.

            Thanks --
            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


              #7
              It's not a bug as its a 'by design' feature. RT menus, buy design, are meant to allow/require manually assigning items to menus and ordering them as you seem fit. You might consider it easier to just build the WHOLE menu dynamically using standard cat-tree functions.
              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


                #8
                Originally posted by Bruce - PhosphorMedia View Post
                It's not a bug as its a 'by design' feature. RT menus, buy design, are meant to allow/require manually assigning items to menus and ordering them as you seem fit. You might consider it easier to just build the WHOLE menu dynamically using standard cat-tree functions.
                Bruce is 100% correct on this. Since the ReadyTheme Navigation Sets are not dynamically populated, you would have to place your own conditionals in the rendering code to restrict the display of any categories by an availability group.
                Matt Zimmermann

                Miva Web Developer
                Alchemy Web Development
                https://www.alchemywebdev.com
                Site Development - Maintenance - Consultation

                Miva Certified Developer
                Miva Professional Developer

                https://www.dev4web.net | Twitter

                Comment


                  #9
                  FYI: Might be nice for RTs (or at least Shadows) to have a RT Nav Set that was dynamic. Manuals are great when you have a dozen or so cats and maybe couple hundred products (which covers most sites) but after that...they are sort of useless :)
                  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


                    #10
                    Originally posted by Bruce - PhosphorMedia View Post
                    FYI: Might be nice for RTs (or at least Shadows) to have a RT Nav Set that was dynamic. Manuals are great when you have a dozen or so cats and maybe couple hundred products (which covers most sites) but after that...they are sort of useless :)
                    We have over 300, it was no picnic.
                    Thank you, Bill Davis

                    Comment

                    Working...
                    X