Announcement

Collapse
No announcement yet.

using the featured_products carousel on other pages

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

    using the featured_products carousel on other pages

    This is the built-in readytheme product link in colossus:
    <mvt:item name="readytheme" param="productlisting( 'featured_products' )" />

    However, it only works on the storefront page.
    If I use this link on another page, it doesn't work.
    Is there a way to get this to work on other pages?

    #2
    In your theme.js file, you will have to copy the function in this section to whatever page you are wanting to add the carousel to:
    Code:
    /**
    * Load and initialize the Slick plugin for Featured Products
    */
    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


      #3
      Thanks Matt.
      Copied that portion of the code in my CTGY header , but no luck.

      Comment


        #4
        In your theme.js file, you will place the code within the jsCTGY function.
        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


          #5
          Perfect!!
          Thanks.

          Comment


            #6
            Originally posted by Matt Zimmermann View Post
            In your theme.js file, you will have to copy the function in this section to whatever page you are wanting to add the carousel to:
            Code:
            /**
            * Load and initialize the Slick plugin for Featured Products
            */
            Why would the theme.js not be active? I was trying to find the find to figure out why the featured_products carousel wasn't working on the SFNT and I discovered the file wasn't active. But making it active did not resolve the issue with the carousel not displaying on the SFNT.
            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


              #7
              It should be noted, this is a branch that has had Colossus applied to it.
              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


                #8
                Okay, I have it firing on the SFNT. I'm not exactly sure what I did to make it do that but now I need to get it to fire on the CTGY page. I've tried copying the javascript and placing it in the jsCTGY function but nothing is happening. It's not firing and I'm not seeing any errors.
                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

                Working...
                X