Hey! Thanks for the reply. This is the main file which it was in.
This is one of the files for the page I want to use as mentioned above ( https://www.quickquesting.com/collections/table-collection )
DataTable-collection.liquid
{% include 'breadcrumbs' %}
{% if section.settings.show_collection_image and collection.image %}
{% endif %}
#
{{ collection.title }}
{% if collection.description != blank %}
{{ collection.description }}
{% endif %}
{% for block in section.blocks %}
{%- assign mcollection = collections[block.settings.name] -%}
{% for product in mcollection.products %}
{% endfor %}
{% endfor %}
| Quest Name | Price | Quest Type | See Requirements | Add To Shopping Cart |
| - | - | - | - | - |
| {{ product.title }} | <br> <br> <br> <br> <br> {{ product.price | money }}<br> <br><br> | <br> {{ mcollection.title }}<br> | <br> {{ product.description }}<br> | <br> <br> {%<br> include 'product-grid-item-table',<br> product: product<br> %}<br> <br> |
{% schema %}
{
"name": "Collection pages",
"class": "collection--section",
"settings": [
{
"type": "header",
"content": "table-collection"
},
{
"type": "range",
"id": "products_per_page_range",
"label": "Products per page",
"min": 24,
"max": 48,
"step": 12,
"default": 48
},
{
"type": "checkbox",
"id": "quest_name",
"label": "Show Quest Name",
"default": true
},
{
"type": "checkbox",
"id": "price",
"label": "Show Price",
"default": true
},
{
"type": "checkbox",
"id": "type",
"label": "Show Type",
"default": true
},
{
"type": "checkbox",
"id": "requirements",
"label": "requirements",
"default": true
},
{
"type": "checkbox",
"id": "add_to_cart",
"label": "Show Add-To-Cart",
"default": true
}
],
"blocks": [
{
"type": "collections",
"name": "Collections",
"settings": [
{
"id": "name",
"type": "collection",
"label": "Select Collection",
"info": "Select the collection to show on the table."
}
],
"limit": 10
}
]
}
{% endschema %}
Then there’s the other table which I don’t want to use but it displays the full collection how I want to on the one above ( https://www.quickquesting.com/collections/test )
{% assign show_sidebar = false %}
{% assign show_filters = true %}
{% assign show_filter_trigger = false %}
{% if section.settings.filter_style == 'none' %}
{% assign show_filters = false %}
{% endif %}
{% if section.settings.show_sidebar %}
{% comment %}
Sidebar toggle is used on mobile only, and will only show Filters
{% endcomment %}
{% if collection.all_tags.size > 0 and show_filters %}
{% assign show_filter_trigger = true %}
{% endif %}
{% if section.blocks.size > 0 or collection.all_tags.size > 0 and show_filters %}
{% comment %}
Sidebar to show only if there are tags in the collection, or there are menus
{% endcomment %}
{% assign show_sidebar = true %}
{% endif %}
{% endif %}
{% assign paginate_by = section.settings.products_per_page_range %}
{% if template contains 'view-24' %}
{% assign paginate_by = 24 %}
{% elsif template contains 'view-48' %}
{% assign paginate_by = 48 %}
{% elsif template contains 'view-48' %}
{% assign paginate_by = 96 %}
{% endif %}
{%- capture collection_classes -%}
{% if show_sidebar %}
layout--has-sidebar
{% else %}
layout--no-sidebar
{% endif %}
{%- endcapture -%}
{% paginate collection.products by paginate_by %}
{% if show_sidebar %}
{%
include 'product-grid-sidebar',
filter_style: section.settings.filter_style,
filter_position: section.settings.filter_position,
filter_limit: section.settings.filter_limit,
menu_depth: section.settings.menu_depth_range
%}
{% endif %}
{% include 'breadcrumbs' %}
{% if section.settings.show_collection_image and collection.image %}
{% endif %}
#
{{ collection.title }}
{% if collection.description != blank %}
{{ collection.description }}
{% endif %}
{% if current_tags.size > 0 %}
{%- include 'product-grid-tags-active' %}
{% endif %}
{% if show_filter_trigger or section.settings.sort_by or section.settings.show_by or section.settings.grid_list %}
{% capture utility_class %}
productgrid--utils
{% if show_filter_trigger or section.settings.sort_by or section.settings.grid_list %}
productgrid--utils--visible-mobile
{% endif %}
{% unless section.settings.show_by or section.settings.sort_by or section.settings.grid_list %}
productgrid--utils--hidden-desktop
{% endunless %}
{% endcapture %}
{% endif %}
{% for product in collection.products %}
{%
include 'table-item',
product: product
%}
{% endfor %}
<table>
<tr>
<th>
The Quest Name
</th>
<th>
Price
</th>
<th>
Quest Type
</th>
<th>
See Requirements
</th>
<th>
Add To Shopping Cart
</th>
</tr>
<tr>
</tr>
</table>
{%
include 'pagination',
grid_list: true
%}
{% endpaginate %}
{% if settings.product_enable_recently_viewed_products %}
{% endif %}
{%- if section.settings.sort_by -%}
{%-
include 'product-grid-sortby',
type: 'modal',
-%}
{%- endif -%}
{% schema %}
{
"name": "Collection pages",
"class": "collection--section",
"settings": [
{
"type": "checkbox",
"id": "show_collection_image",
"label": "Show collection image",
"default": true
},
{
"type": "range",
"id": "products_per_page_range",
"label": "Products per page",
"min": 24,
"max": 48,
"step": 12,
"default": 24
},
{
"type": "header",
"content": "Utility bar"
},
{
"type": "checkbox",
"id": "sort_by",
"label": "Show \"Sort by\" Dropdown",
"default": true
},
{
"type": "checkbox",
"id": "show_by",
"label": "Show products per page links",
"default": true
},
{
"type": "checkbox",
"id": "grid_list",
"label": "Show grid/list view toggle",
"default": true
},
{
"type": "header",
"content": "Sidebar"
},
{
"type": "checkbox",
"id": "show_sidebar",
"label": "Show sidebar",
"default": true
},
{
"type": "select",
"id": "filter_style",
"label": "Filters ([?](https://help.shopify.com/manual/using-themes/themes-by-shopify/supply#product-tips-tips-specific))",
"options": [
{
"value": "none",
"label": "Hide filters"
},
{
"value": "tags",
"label": "By tag"
},
{
"value": "groups",
"label": "By group"
}
],
"default": "tags"
},
{
"id": "filter_limit",
"type": "select",
"label": "Hide additional tags after",
"options": [
{
"value": "5",
"label": "5 tags"
},
{
"value": "6",
"label": "6 tags"
},
{
"value": "8",
"label": "8 tags"
},
{
"value": "10",
"label": "10 tags"
},
{
"value": "15",
"label": "15 tags"
},
{
"value": "150",
"label": "150 tags"
},
{
"value": "999",
"label": "Show all tags"
}
],
"default": "999"
},
{
"type": "select",
"id": "filter_position",
"label": "Filters position",
"options": [
{
"value": "above_menus",
"label": "Above menus"
},
{
"value": "below_menus",
"label": "Below menus"
}
],
"default": "above_menus"
},
{
"type": "range",
"id": "menu_depth_range",
"label": "Menu depth visibility ([?](https://help.shopify.com/manual/sell-online/online-store/menus-and-links#create-a-drop-down-menu))",
"min": 1,
"max": 3,
"step": 1,
"default": 1
}
],
"blocks": [
{
"type": "menu",
"name": "Menu",
"settings": [
{
"id": "menu",
"type": "link_list",
"label": "Menu",
"info": "This menu will show as many dropdown items as specified in \"Menu depth visibility\"."
}
],
"limit": 10
}
]
}
{% endschema %}
If you want access to my store I’m happy to give it to you!
Thanks for looking!!