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

  • 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 Developer Relations
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


    • 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


      • 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


        • 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
          Director of UI/UX Standards and Theme Development
          / Miva, Inc.

          Comment


          • 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

            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