Announcement

Collapse
No announcement yet.

Another Product Tabs Question

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

    Another Product Tabs Question

    I'm trying to set up the Product Tabs in the Page Builder Product Details Component. The site already has a number of Product Tab Custom Fields, but I'm not seeing something obvious (to me) to connect the content in those fields into the tab fields. Has something been added to the Edit Product screen that I'm missing?
    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

    #2
    Have I stumped the band? FWIW, even the default Product Tabs in the Product Details Component are not working as expected. If you look at the Product Tabs > Technical Specs it has SKU and Brand with SKU configured for Detail:SKU (which works) and Detail: Custom Field customfield:brand, but when you try to use the Look Up, the only thing that displays are 3 meta fields

    jYsikQ.png

    Where do you go to configure this to show the other Product Custom Fields? The fields it offers are nothing I would want to display in the tabbed content.
    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


      #3
      So, for days, I could not get this to work on a couple of sites. Now it seems to be working after I make sure if the Product Custom Field is Public (and maybe a Facet).

      But now I have another problem. The way the tabs are configured for one site is by a custom field. If the product has content in the custom field, then the tab will display with that content. If the field is empty, the tab does not display. How do I do that with the PageBuilder Product Details Product Tabs? How can they be made to conditionally display?
      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


        #4
        Originally posted by lesliekirk View Post
        Where do you go to configure this to show the other Product Custom Fields? The fields it offers are nothing I would want to display in the tabbed content.
        Is the custom field you would like to assign marked as Public?

        Snippet from our docs:
        What does "Public" Mean?
        Public means that its value can be read using the runtime_XXX functions which don’t require any authentication. The data they return is public for anyone to view. Examples include:
        • Runtime_ProductList_Load_Query
        • Runtime_CategoryProductList_Load_Query
        • Runtime_RelatedProductList_Load_Query
        • Runtime_CategoryList_Load_Query

        These functions have the ability to return custom fields for products/categories.

        Use Case
        For example, you may have a custom product field for internal cost that you track with each product. You would likely not want this custom field to be public. Alternatively, the Meta Fields module stores its data into a public custom field so its data is always available in the runtime_XXX functions.


        https://support.miva.com/hc/en-us/ar...tom-Field-Flag
        Wayne Smith

        Comment


          #5
          Hi wsmith - I've got the part figured out on marking the fields "Public". My issue is now, how do I duplicate how the tabbed display was configured? The Product Custom Field in the configuration I am trying to duplicate uses the Product Custom Field to do 2 things. The first is the most important. If the field has content, then the tab is displayed. If it is empty, the tab does not display. Then, if there is content, it displays the tab AND the content of the custom field. I do not see any way to make the tabs conditional within the PageBuilder Product Details Product Tabs unless I am missing something?

          Again, this would seem like something a storeowner would need (heck, it was configured for this site AND it was this:

          Code:
          <mvt:foreach iterator="tab" array="product:tabs">
          <mvt:if expr="'tabs_' CIN l.settings:tab:code AND NOT ISNULL l.settings:tab:value">
          <li class="x-a11y-tabs__item">
          <a class="x-a11y-tabs__link" href="#tab-&mvte:tab:code;">&mvte:tab:name;</a>
          </li>
          </mvt:if>
          </mvt:foreach>
          I am really trying to move sites to PageBuilder, but I seem to be hitting a wall with every site I try to do so. I want to believe it's just me doing something wrong.
          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