Multiple CMS Nest

Hello, I’m writing under this topic because I suspect that my problem fits well here and @Support-Luis has already been able to answer some questions:

  • I have successfully linked several productcategories with the CMS Tabs solution.
  • In the categories, there are products with materials that have been incorporated using the CMS Nest solution. This works for products in the first productcategory.
  • Unfortunately in the subsequent collections, the complete materials collection is always displayed.

I’ve already tried the solutions mentioned above, unfortunately without success. Could it possibly be due to the combination with the CMS Tabs solution that it’s not working?

Here is the link to the project:
https://fcschroter.webflow.io/produkte-2/bleche

Hey @johannes.widmer! CMS Nest and CMS Tabs are not meant to work together natively, you’ll need to prevent CMS Tabs from loading until CMS Nest is done nesting the elements.

This can be done by adding this setting to the CMS Tabs script defer fs-attributes-preventload='true'

And then using the Attributes API to initialize the solution

<script>
  window.fsAttributes = window.fsAttributes || [];
  window.fsAttributes.push([
    'cmsnest',
    (listInstances) => {
      console.log('cmsnest Successfully loaded!');
      window.fsAttributes.cmstabs.init();
    },
  ]);
</script>
1 Like

Hi @Support-Luis, manymany thanks! I would not have thought of that.

The console successfully gives me ‘cmsnest Successfully loaded!’, but unfortunately the complete materials still appear: Bleche

can you share a read-only?

@Support-Luis Did DM you the read-only link.