if(sessionStorage.backToCollection) {
theme.backToCollection = {};
theme.backToCollection.collection = JSON.parse(sessionStorage.backToCollection);
var productCollections = [{"id":262145933354,"handle":"clothing","title":"Clothing","updated_at":"2023-06-08T18:45:11+02:00","body_html":"\u003cp\u003eCorporate and personal clothing options\u003c\/p\u003e\n\u003cp\u003eAll items can be branded with your logo\u003c\/p\u003e","published_at":"2021-09-05T20:54:06+02:00","sort_order":"best-selling","template_suffix":"","disjunctive":true,"rules":[{"column":"tag","relation":"equals","condition":"Clothing"},{"column":"tag","relation":"equals","condition":"Bottoms"},{"column":"tag","relation":"equals","condition":"Jackets"},{"column":"tag","relation":"equals","condition":"Bodywarmers"},{"column":"tag","relation":"equals","condition":"apparel"}],"published_scope":"web","image":{"created_at":"2021-09-05T20:54:05+02:00","alt":null,"width":558,"height":722,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/2106\/1079\/collections\/Clothing.jpg?v=1630868046"}},{"id":459310406,"handle":"jackets","updated_at":"2023-06-08T18:45:11+02:00","published_at":"2019-10-28T22:53:56+02:00","sort_order":"best-selling","template_suffix":null,"published_scope":"web","title":"Jackets","body_html":"Top quality Barron Jackets","image":{"created_at":"2017-08-20T19:36:17+02:00","alt":"","width":700,"height":700,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/2106\/1079\/collections\/Okavango.png?v=1503250577"}}];
var showCollection = false;
if (productCollections) {
productCollections.forEach(function(collection) {
if (collection.title === theme.backToCollection.collection.title) {
showCollection = true;
}
});
}
if(showCollection) {
var backToCollectionHTML = '