Announcement

Collapse
No announcement yet.

Adding an Item to a Fragment

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

    Adding an Item to a Fragment

    I am trying to use the PageBuilder Product Details because I still cannot get the tabbed content to work when I don't use it. (Something in the latest version of Shadows is breaking the tabbed content snippet that used to work in the older versions of Shadows). I need to add a couple of third-party modules to the layout in order to be able to use the PageBuilder Product Details Component. I thought I could use a Fragment to include the code needed, but I discovered I could not add the Item needed to the Fragment. I know how to add Items to Pages. The Fragments have a similar process, but the Item I need is not available (even if I filter Show All or Show Unassigned). Looking for the "easy, store owner friendly" way to do this.
    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
    lesliekirk You will need to contact the module developer to have them add the component_frag feature to the module.

    https://docs.miva.com/developer/deve...fragment-items

    Only items implementing the component_frag feature can be assigned to fragments. This feature requires the implementation of the ComponentModule_Initialize_Fragment API function, which will be invoked during fragment initialization, before rendering. It’s important to note that modules associated with these items must not raise UI exceptions during initialization, as UI exceptions will not be handled.
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment

    Working...
    X