Announcement

Collapse
No announcement yet.

Default Product Display Page

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

  • Default Product Display Page

    I feel like I'm losing my mind. I can't remember where the default product display page is defined. We are using a ReadyTheme, if that makes a difference. Anyway, it's a really fundamental question, but I can't remember where it is, and I can't find it.

  • PROD - Product Display?

    Here's something that will help. Use your browsers 'inspector' feature to look at the body id. For example, the product page, has

    <body id="js-PROD"

    That last bit is the code of the page you are looking at.

    To use the inspector tool

    Chrome: right-click, Inspector
    Edge & Firefox: right-click, Inspect Element
    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 Bruce.

      Maybe I'm losing my mind more than I thought. I was thinking there was a setting somewhere in the admin that defined the default product display page. In other words, you could define a default product page display other than PROD. I'm talking about a different setting than the "Alternate Display Page" field for each product. Now I'm thinking it was my imagination, and PROD is unalterable as the default product display page.

      Comment


      • Ah, unless you use old style links and htaccess redirects, I don't think you can globally redirect PROD to say PROD2. You'd have to change the Alternate Display Page for each product (which you could do via import). Or, I think Kent Multer has a module that will let you intercede in the page dispatch (i.e., Change Screen=PROD to Screen=PROD2). Not sure if that would incur a slight performance hit or not.

        The best answer depends on what you are trying to do by this change.
        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


        • Originally posted by TheTeaTable View Post
          Thanks Bruce.

          Maybe I'm losing my mind more than I thought. I was thinking there was a setting somewhere in the admin that defined the default product display page. In other words, you could define a default product page display other than PROD. I'm talking about a different setting than the "Alternate Display Page" field for each product. Now I'm thinking it was my imagination, and PROD is unalterable as the default product display page.
          The default PROD page template doesn't need to be defined, only the Alternate Page Template if you want to use one. That would be set in the Product Edit screen in the Details section.

          (Don't overthink it Bruce).
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


          • Simple thing I can think of, is use URI management to redirect the page or the screen. I've done this but can't recall of any gotchya's.
            What help do you need today!
            Interactive Design Solutions http://www.southbound.com
            MivaMerchant Business Partner | Certified MivaMerchant Web Developer
            My T-shirt Collection is mostly MivaCon T-shirts!!
            Competitive Rates, Popular Modules, and Integrations:
            Product Copy | AutoBaskets | Waitlist Integration| Wholesale Integration

            Comment


            • Originally posted by Bruce - PhosphorMedia View Post
              Ah, unless you use old style links and htaccess redirects, I don't think you can globally redirect PROD to say PROD2. You'd have to change the Alternate Display Page for each product (which you could do via import). Or, I think Kent Multer has a module that will let you intercede in the page dispatch (i.e., Change Screen=PROD to Screen=PROD2). Not sure if that would incur a slight performance hit or not.

              The best answer depends on what you are trying to do by this change.
              OK. I AM losing my mind. I was thinking there was a global setting to set a different default product display page. That answers my question.

              Comment


              • Originally posted by TheTeaTable View Post
                OK. I AM losing my mind. I was thinking there was a global setting to set a different default product display page. That answers my question.
                Ahhh, okay. "I" would just make sure that my PROD template has all the coding of the default layout. Then if I needed to use another Alternate Page Display, then I would assign it to the product as needed.
                Leslie Kirk
                Miva Certified Developer
                Miva Merchant Specialist since 1997
                Previously of Webs Your Way
                (aka Leslie Nord leslienord)

                Email me: [email protected]
                www.lesliekirk.com

                Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                Comment


                • Originally posted by lesliekirk View Post

                  Ahhh, okay. "I" would just make sure that my PROD template has all the coding of the default layout. Then if I needed to use another Alternate Page Display, then I would assign it to the product as needed.
                  That's exactly what I do. We're just working on the software update and template changes, and I got it into my head that there was a global setting for the default product display page. When I looked for it, I couldn't find it. Probably because it doesn't exist. The fact it doesn't exist is the solution in itself. Aside from my feeling stupid.

                  Comment


                  • Originally posted by TheTeaTable View Post
                    That's exactly what I do. We're just working on the software update and template changes, and I got it into my head that there was a global setting for the default product display page. When I looked for it, I couldn't find it. Probably because it doesn't exist. The fact it doesn't exist is the solution in itself. Aside from my feeling stupid.
                    Do not feel stupid - it was a good legitimate question. Remember, the only dumb question is the one you don't ask.
                    Leslie Kirk
                    Miva Certified Developer
                    Miva Merchant Specialist since 1997
                    Previously of Webs Your Way
                    (aka Leslie Nord leslienord)

                    Email me: [email protected]
                    www.lesliekirk.com

                    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                    Comment


                    • Originally posted by Bruce - PhosphorMedia View Post
                      Or, I think Kent Multer has a module that will let you intercede in the page dispatch (i.e., Change Screen=PROD to Screen=PROD2). Not sure if that would incur a slight performance hit or not ... The best answer depends on what you are trying to do by this change.
                      Yes, I have a small utility module that can do this. I don't think there would be a noticeable performance hit.

                      Another possibility is to go through the page templates, and just change the page code PROD to something else in every link or form field where it appears. But as Bruce said, it depends on what you're trying to accomplish. Why do you want to do this?


                      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


                      • I should explain. I don't want to do this, but I thought you could and I wanted to make certain an alternate page hadn't been set while Kent was working on updates. Of course, since you can't even do that, it pretty much answers the question. Trying to do things simply, I made them more complicated.

                        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