Announcement

Collapse
No announcement yet.

Alternate Product Display Suivant ReadyTheme

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

    Alternate Product Display Suivant ReadyTheme

    I setup an alternate product display identical to the original PROD page but the display is different. It is displaying the page name, leaving room for the category tree, image zoom doesn't work, etc. How can I get Miva to display this as a product page and not a regular page?

    Here is an example product with the alternate display:

    http://www.ktm-parts.com/AOMC/produc...15ST/151290SDO
    Jamin Jones, CEO
    the Appalachian Offroad Motorcycle Company

    #2
    Re: Alternate Product Display Suivant ReadyTheme

    We have a bunch of CSS and JS that is based off the body id of the page, which in turn is based off the page code. Having a different page code is causing all this not to work.

    The easiest way to fix this is to add a conditional statement in the Body tag so your custom page prints the same body tag as the regular PROD page:

    Code:
    <body id="js-PROD" class="boxed prod single-column elegance">
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Alternate Product Display Suivant ReadyTheme

      Excellent! Thank you! Here is the code I added to BODY Tag Content:

      Code:
      <mvt:elseif expr="l.settings:page:code EQ 'CUST_PROD_DISPLAY_CODE'">
             <body id="js-PROD" class="boxed prod single-column elegance">
      Jamin Jones, CEO
      the Appalachian Offroad Motorcycle Company

      Comment


        #4
        I'm running into a problem with image machine on an alternate PROD page. The zoom feature doesn't work. I've got all of the same items assigned to the custom page and have put the <body id="js-PROD"> into the template. Any ideas?
        Matt E.
        www.harpkit.com

        Comment


          #5
          Hi Matt,

          Make sure all the settings for image machine are the same on the alternate page as they are on the standard page. If that doesn't fix it, can you post a link to the page in question?
          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


            #6
            Ooops. I didn't have the "Enable click to closeup" button checked. How embarrassing. I think this is the forum equivalent of having your fly down and toilet paper stuck to your shoe.
            Matt E.
            www.harpkit.com

            Comment

            Working...
            X