I am trying to change collapsible content so It’s in ‘liquid’ so that I can add my own images or code.
I’ve worked out how to do this for collapsible content on product pages but Would like to be able to do this across other pages that aren’t products too.
There are bunch of ways depending on what you want to achieve. If you want to show the collapsible content across the website from products, you can first initiate the product variable with
{% this_prd = all_products['product_handle'] %}
and then access the contents → display it.
You can also store the data in metafields under shop object. Shop object has access to every pages. You can use ACF app for this.