Announcement

Collapse
No announcement yet.

what items need to be assigned to the PROD page in levels

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

    what items need to be assigned to the PROD page in levels

    It seems I have something odd going on and I think I might have unassigned an item I should not have.
    my problem is that l.settings:product:link has no value at all in the PROD page header so the meta properties for google and fb have no url in them.
    and l.settings:imagedata:image doesn't have any data either.

    Can someone post a list of the items needed on the PROD for levels readytheme to work out of the box?




    (it probably doesn't help that this store was converted from an old miva 5 and thus there is a lot of junk I"m cleaning out)





    #2
    A default installation of Levels will have these items on the PROD page:
    • affiliatelink
    • attributemachine
    • breadcrumbs
    • buttons
    • category
    • cssui_links
    • customerlink
    • customfields
    • ga_jsencode
    • ga_tracking
    • global_minibasket
    • hdft
    • head
    • html_profile
    • navbar
    • prodctgy_meta
    • product
    • product_attributes
    • product_display
    • product_display_imagemachine
    • product_quick_view
    • prod_ctgy_hdft
    • readytheme
    • related_products
    • searchfield
    • store
    • tokenlist
    • urls

    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
      Thank you! that helped me weed out old stuff that I don't need. But that didn't do it. I am kinda stumped at this point.

      I even used tool belt to look at the product vars and the link and url are just empty ... even in the footer after everything on the page has fired.
      the
      l.all_settings:product:link &mvt:product:link; https://dev4.xxxxxxxxxx.com/Merchant2/merchant.mvc?Screen
      g.socialimage &mvt:global:socialimage; https://dev4.xxxxxxxxxx.com/Merchant2/
      Last edited by kayakbabe; 03-21-18, 08:47 PM. Reason: added variable and value examples

      Comment


        #4
        Posting just to document and to compliment.

        I have to give kudos to miva support. I was pretty stumped about this. Turns out that becuase this store doesn't use product attributes, I thought I could just remove the attribute machine item and any attribute related code from the template. I like things to be simple and simple to fix, less code to parse through for both the server and me seems like a good thing. However, I accidentally removed something necessary for the levels ready theme product related images slider to work properly.

        I had to put back this code into the PROD template:
        Code:
        <div id="js-product-attribute-count"></div>

        Comment


          #5
          Most likely the Javascript was looking for this div element by id and was not able to find it. In dev console you could see the red errors telling you this

          Comment


            #6
            It just showed me that jquery was missing.. but it wasn't. the console didn't give me any clue about exactly what was missing.

            Comment

            Working...
            X