We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18373 ☆ A M B ☆
    • 3,141 Posts
    Could've just put your
    <h1>Related Products :: </h1>

    bit in the &tplOuter too, if that's all you're doing tongue
      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
      • 28218
      • 48 Posts
      I know but there is more. This was just proof of concept code.

      The output of getrelated is input for a GetResources. This way I get related products based on manual input from a tv. If there is no manual input, or less the 3, the related products come from getrelated.

      The GetResources needed two calls for getrelated, one for the resources id's, and one for the sortorder. By using a placeholder for getrelated only one call is needed!

      Thanks for your help!