View all
Free Shopping on Order over $79
Free Shopping on Order over $79
Shop now
Good Friday x Easter –Save $10 on $60, $20 on $100
Good Friday x Easter –Save $10 on $60, $20 on $100
Shop now
Free Shopping on Order over $79
Good Friday x Easter –Save $10 on $60, $20 on $100
Free Shopping on Order over $79
Good Friday x Easter –Save $10 on $60, $20 on $100
const prefixSection = "shoplaza-section" ; const headerRoot = document.getElementById(`${prefixSection}-header`); const collectionFeaturedSticky = document.getElementById('collection-func-sticky'); const collectionFilter = document.getElementById('collection-filter'); const mdStickyOn = true; const resizeObserver = new ResizeObserver(entries => { for (let entry of entries) { const { height } = entry.contentRect; collectionFeaturedSticky && (collectionFeaturedSticky.style.top = (mdStickyOn ? height : '0') + 'px'); collectionFilter && (collectionFilter.style.top = height + 'px'); } }); resizeObserver.observe(headerRoot);
SOPULA
NEW DROP
New Design
New Graphic Tees
New Tank Tops
+5
Child Of God Print Cotton T-shirt
$32.00
BEST SELLER
CLOTHING
T-Shirts
Graphic Tees
Washed Tees
Crop Tees
Tank Tops
Jerseys
Hoodies
Washed Hoodies
Cropped Hoodies
Zip Up Hoodies
Bottoms
Shorts
Pants
Jeans
Accessories
Jewelry
Baseball Caps
Knitted Hats
Blanks & Packs
STYLES
Western & Cowboy
Faith & Gods
Racing Spirit
Street Chic
Hip-Hop & Cartoon
Sports & Stars
Abstract
Slogans
SALE
Holiday
$20 OFF
Clearance
low price
Gift Card
CUSTOM
Track Order
More links
${function() { var linkList = [ { id: 78416375, index: 1, title: "NEW DROP", url: '/collections/new-arrivals', target: '', tag: null, product0: {"id":"e295b740-4530-4496-acea-c09290b65b6c","title":"Child Of God Print Cotton T-shirt","brief":"","vendor":"SOPULA","vendor_url":"","has_only_default_variant":false,"requires_shipping":true,"taxable":true,"published":true,"handle":"child-of-god-print-cotton-t-shirt-1br3","spu":"CP-209308-ZYL","need_variant_image":true,"updated_at":"2025-04-22T10:36:03Z","created_at":"2025-04-22T10:34:53Z","mixed_wholesale":false,"min_price_variant":{"id":"b13a46c0-dabd-464d-902e-4a24a34d6d39","title":"Grey-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":""},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=b13a46c0-dabd-464d-902e-4a24a34d6d39","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0},"tags":"tee,Faith,sopula-1,kids","available":true,"price_min":"32","price":"32","price_max":"32","compare_at_price_min":"32","compare_at_price":"32","compare_at_price_max":"32","retail_price_min":"32","retail_price_max":"32","url":"\/products\/child-of-god-print-cotton-t-shirt-1br3","published_at":"2025-04-22T10:34:53Z","image":{"src":"\/\/img.staticdj.com\/5289a00970ac5492f6127d4808bb258c.jpeg","path":"5289a00970ac5492f6127d4808bb258c.jpeg","width":3000,"height":4001,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.7498125468632841},"options":[{"id":"13d5eb99-7c6e-4c10-ba7a-eb5958cf561b","name":"Color","position":1,"values":["Grey","Black","Coffee","White","Apricot"]},{"id":"3f0d1af4-23fd-4e00-b566-b629a04a8d5c","name":"Size","position":2,"values":["S","M","L","XL","2XL","3XL"]}],"variants":[{"id":"b13a46c0-dabd-464d-902e-4a24a34d6d39","title":"Grey-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=b13a46c0-dabd-464d-902e-4a24a34d6d39","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"6698f488-1243-4e9e-b68c-3b2617df7db5","title":"Grey-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Grey-M","barcode":"","position":2,"option1":"Grey","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=6698f488-1243-4e9e-b68c-3b2617df7db5","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"1a47d312-84de-495b-aa4a-6d10a08e9108","title":"Grey-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Grey-L","barcode":"","position":3,"option1":"Grey","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=1a47d312-84de-495b-aa4a-6d10a08e9108","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"143b8988-3c48-42cd-990b-f6829e057d48","title":"Grey-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Grey-XL","barcode":"","position":4,"option1":"Grey","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=143b8988-3c48-42cd-990b-f6829e057d48","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"62bad6b4-1ddb-4e47-9b97-9027d720a44b","title":"Grey-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Grey-2XL","barcode":"","position":5,"option1":"Grey","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=62bad6b4-1ddb-4e47-9b97-9027d720a44b","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"acd4cc76-adfa-4dd1-b888-33eba8759d22","title":"Grey-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Grey-3XL","barcode":"","position":6,"option1":"Grey","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=acd4cc76-adfa-4dd1-b888-33eba8759d22","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"a3710697-b20d-43d2-91f8-03eb63a39664","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","path":"631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=a3710697-b20d-43d2-91f8-03eb63a39664","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"b45b5a18-ba23-4521-9828-2a6647ffdf05","title":"Black-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Black-M","barcode":"","position":8,"option1":"Black","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","path":"631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=b45b5a18-ba23-4521-9828-2a6647ffdf05","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"26cf9fa9-e638-417e-b898-fe6cd29b95ac","title":"Black-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Black-L","barcode":"","position":9,"option1":"Black","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","path":"631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=26cf9fa9-e638-417e-b898-fe6cd29b95ac","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"35b623fc-9ead-468e-a29d-4d5ab0a0b687","title":"Black-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Black-XL","barcode":"","position":10,"option1":"Black","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","path":"631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=35b623fc-9ead-468e-a29d-4d5ab0a0b687","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"cb3d93a8-6401-48b7-84e2-61bb7f785171","title":"Black-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Black-2XL","barcode":"","position":11,"option1":"Black","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","path":"631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=cb3d93a8-6401-48b7-84e2-61bb7f785171","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"9e9199e4-9ef7-4546-8ad4-7773b21cb929","title":"Black-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Black-3XL","barcode":"","position":12,"option1":"Black","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","path":"631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=9e9199e4-9ef7-4546-8ad4-7773b21cb929","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"557a92e0-295a-44b4-bbd5-8728c2ab3030","title":"Coffee-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Coffee-S","barcode":"","position":13,"option1":"Coffee","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/edd054553e8c8faca493abcee00c9057.jpeg","path":"edd054553e8c8faca493abcee00c9057.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=557a92e0-295a-44b4-bbd5-8728c2ab3030","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"2bebbf20-0846-4c8b-98e8-2a3a5c67d2bc","title":"Coffee-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Coffee-M","barcode":"","position":14,"option1":"Coffee","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/edd054553e8c8faca493abcee00c9057.jpeg","path":"edd054553e8c8faca493abcee00c9057.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=2bebbf20-0846-4c8b-98e8-2a3a5c67d2bc","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"020ea0de-fda3-4788-8ec8-beba70fa80d0","title":"Coffee-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Coffee-L","barcode":"","position":15,"option1":"Coffee","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/edd054553e8c8faca493abcee00c9057.jpeg","path":"edd054553e8c8faca493abcee00c9057.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=020ea0de-fda3-4788-8ec8-beba70fa80d0","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"b1a19c17-c8c3-44e6-b0d2-93224f585653","title":"Coffee-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Coffee-XL","barcode":"","position":16,"option1":"Coffee","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/edd054553e8c8faca493abcee00c9057.jpeg","path":"edd054553e8c8faca493abcee00c9057.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=b1a19c17-c8c3-44e6-b0d2-93224f585653","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"d090823f-d5b4-479f-b0e0-2d6e0f846ebe","title":"Coffee-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Coffee-2XL","barcode":"","position":17,"option1":"Coffee","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/edd054553e8c8faca493abcee00c9057.jpeg","path":"edd054553e8c8faca493abcee00c9057.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=d090823f-d5b4-479f-b0e0-2d6e0f846ebe","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"58db16c7-ca14-4fef-be37-e5b38529e576","title":"Coffee-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Coffee-3XL","barcode":"","position":18,"option1":"Coffee","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/edd054553e8c8faca493abcee00c9057.jpeg","path":"edd054553e8c8faca493abcee00c9057.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=58db16c7-ca14-4fef-be37-e5b38529e576","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"ecf4b75a-3d83-43f3-8233-7b35719c3936","title":"White-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-White-S","barcode":"","position":19,"option1":"White","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/a7bb79333e17937a44c9932266dd804e.jpeg","path":"a7bb79333e17937a44c9932266dd804e.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=ecf4b75a-3d83-43f3-8233-7b35719c3936","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"34af67b0-238a-46e9-b142-4752c42cef33","title":"White-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-White-M","barcode":"","position":20,"option1":"White","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/a7bb79333e17937a44c9932266dd804e.jpeg","path":"a7bb79333e17937a44c9932266dd804e.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=34af67b0-238a-46e9-b142-4752c42cef33","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"027ca4ab-d2a0-4139-a0be-b9b4b98a6e37","title":"White-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-White-L","barcode":"","position":21,"option1":"White","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/a7bb79333e17937a44c9932266dd804e.jpeg","path":"a7bb79333e17937a44c9932266dd804e.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=027ca4ab-d2a0-4139-a0be-b9b4b98a6e37","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"20c231ad-c805-4018-856d-c2a0c6c0f8b7","title":"White-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-White-XL","barcode":"","position":22,"option1":"White","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/a7bb79333e17937a44c9932266dd804e.jpeg","path":"a7bb79333e17937a44c9932266dd804e.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=20c231ad-c805-4018-856d-c2a0c6c0f8b7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"23e70940-d9d2-4c31-9a98-e8fcec7b45f8","title":"White-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-White-2XL","barcode":"","position":23,"option1":"White","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/a7bb79333e17937a44c9932266dd804e.jpeg","path":"a7bb79333e17937a44c9932266dd804e.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=23e70940-d9d2-4c31-9a98-e8fcec7b45f8","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"145ed5aa-4c01-4bf0-8f14-c4be81237ee6","title":"White-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-White-3XL","barcode":"","position":24,"option1":"White","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/a7bb79333e17937a44c9932266dd804e.jpeg","path":"a7bb79333e17937a44c9932266dd804e.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=145ed5aa-4c01-4bf0-8f14-c4be81237ee6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"7b9067b0-a7d0-4060-b3a0-3628168d2464","title":"Apricot-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Apricot-S","barcode":"","position":25,"option1":"Apricot","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","path":"23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=7b9067b0-a7d0-4060-b3a0-3628168d2464","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"b29b7424-f5ab-426c-881a-4ed324aebd6e","title":"Apricot-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Apricot-M","barcode":"","position":26,"option1":"Apricot","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","path":"23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=b29b7424-f5ab-426c-881a-4ed324aebd6e","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"b6abc66e-a080-4fc0-a8c8-1588fc33edb7","title":"Apricot-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Apricot-L","barcode":"","position":27,"option1":"Apricot","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","path":"23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=b6abc66e-a080-4fc0-a8c8-1588fc33edb7","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"8c8d504e-58de-4074-9838-b2d0e54248e2","title":"Apricot-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Apricot-XL","barcode":"","position":28,"option1":"Apricot","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","path":"23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=8c8d504e-58de-4074-9838-b2d0e54248e2","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"383d4174-4cd3-4775-a14b-f15a375f1a8a","title":"Apricot-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Apricot-2XL","barcode":"","position":29,"option1":"Apricot","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","path":"23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=383d4174-4cd3-4775-a14b-f15a375f1a8a","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"fe68c30a-aea7-44c8-8d1b-bc5b58235bc0","title":"Apricot-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-209308-ZYL-Apricot-3XL","barcode":"","position":30,"option1":"Apricot","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","path":"23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"32","retail_price":"32","available":true,"url":"\/products\/child-of-god-print-cotton-t-shirt-1br3?variant=fe68c30a-aea7-44c8-8d1b-bc5b58235bc0","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null}],"images":[{"src":"\/\/img.staticdj.com\/5289a00970ac5492f6127d4808bb258c.jpeg","path":"5289a00970ac5492f6127d4808bb258c.jpeg","width":3000,"height":4001,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.7498125468632841},{"src":"\/\/img.staticdj.com\/631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","path":"631bd2bebde0b78bb8f3f366c30b3d0f.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/edd054553e8c8faca493abcee00c9057.jpeg","path":"edd054553e8c8faca493abcee00c9057.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/acc92aac409be23552a9f8e9a421a4ca.jpeg","path":"acc92aac409be23552a9f8e9a421a4ca.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/a7bb79333e17937a44c9932266dd804e.jpeg","path":"a7bb79333e17937a44c9932266dd804e.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","path":"23cc2dd9ba278a2c2669b1de3fdd30cf.jpeg","width":1500,"height":2000,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/f8adf5b1e818b58f4b5a1b638b0f369b.png","path":"f8adf5b1e818b58f4b5a1b638b0f369b.png","width":1200,"height":1600,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/13a3f29393ac59ab5a5eb2b58007e207.png","path":"13a3f29393ac59ab5a5eb2b58007e207.png","width":1200,"height":1600,"alt":"Child Of God Print Cotton T-shirt - SOPULA","aspect_ratio":0.75}],"retail_price":"32","off_ratio":0,"price_varies":true} , children: [ { title: "New Design", url: '/collections/new-design', target: '', tag: null, children: [ ] }, { title: "New Graphic Tees", url: '/collections/new-graphic-tees', target: '', tag: null, children: [ ] }, { title: "New Tank Tops", url: '/collections/new-tank-tops', target: '', tag: null, children: [ ] }, ] }, { id: 78416383, index: 2, title: "BEST SELLER", url: '/collections/best-seller', target: '', tag: null, product0: null , children: [ ] }, { id: 78416385, index: 3, title: "CLOTHING", url: '', target: '', tag: null, product0: null , children: [ { title: "T-Shirts", url: '/collections/t-shirts', target: '', tag: null, children: [ { title: "Graphic Tees", url: '/collections/graphic-tees', target: '', tag: null, }, { title: "Washed Tees", url: '/collections/vintage-washed-tees', target: '', tag: null, }, { title: "Crop Tees", url: '/collections/cropped-tees', target: '', tag: null, }, { title: "Tank Tops", url: '/collections/tank-tops', target: '', tag: null, }, { title: "Jerseys", url: '/collections/jersey', target: '', tag: null, }, ] }, { title: "Hoodies", url: '/collections/hoodies', target: '', tag: null, children: [ { title: "Washed Hoodies", url: '/collections/vintage-washed-hoodies', target: '', tag: null, }, { title: "Cropped Hoodies", url: '/collections/cropped-hoodies', target: '', tag: null, }, { title: "Zip Up Hoodies", url: '/collections/zip-up-hoodies', target: '', tag: null, }, ] }, { title: "Bottoms", url: '/collections/bottoms', target: '', tag: null, children: [ { title: "Shorts", url: '/collections/shorts', target: '', tag: null, }, { title: "Pants", url: '/collections/pants', target: '', tag: null, }, { title: "Jeans", url: '/collections/jeans', target: '', tag: null, }, ] }, { title: "Accessories", url: '', target: '', tag: null, children: [ { title: "Jewelry", url: '/collections/jewelry', target: '', tag: null, }, { title: "Baseball Caps", url: '/collections/baseball-caps', target: '', tag: null, }, { title: "Knitted Hats", url: '/collections/knitted-hats', target: '', tag: null, }, ] }, { title: "Blanks & Packs", url: '/collections/blanks-packs', target: '', tag: null, children: [ ] }, ] }, { id: 78416431, index: 4, title: "STYLES", url: '', target: '', tag: null, product0: null , children: [ { title: "Western & Cowboy", url: '/collections/rodeo-cowboy', target: '', tag: null, children: [ ] }, { title: "Faith & Gods", url: '/collections/faith-gods', target: '', tag: null, children: [ ] }, { title: "Racing Spirit", url: '/collections/racing-spirit', target: '', tag: null, children: [ ] }, { title: "Street Chic", url: '/collections/street-chic', target: '', tag: null, children: [ ] }, { title: "Hip-Hop & Cartoon", url: '/collections/cartoon', target: '', tag: null, children: [ ] }, { title: "Sports & Stars", url: '/collections/sports-star', target: '', tag: null, children: [ ] }, { title: "Abstract", url: '/collections/abstract', target: '', tag: null, children: [ ] }, { title: "Slogans", url: '/collections/slogan', target: '', tag: null, children: [ ] }, ] }, { id: 78416449, index: 5, title: "SALE", url: '', target: '', tag: null, product0: null , children: [ { title: "Holiday", url: '/collections/holiday', target: '', tag: null, children: [ ] }, { title: "Clearance", url: '/collections/clearance-sale', target: '', tag: null, children: [ ] }, { title: "Gift Card", url: '/products/gift-card', target: '', tag: null, children: [ ] }, ] }, { id: 78416457, index: 6, title: "CUSTOM", url: '/collections/custom', target: '', tag: null, product0: null , children: [ ] }, { id: 78416459, index: 7, title: "Track Order", url: '/account/order-lookup', target: '', tag: null, product0: null , children: [ ] }, ].slice(offset); var hasChild = linkList.some(v => (v.children && v.children.length || v.product0)); if (!hasChild) { return `
${linkList.map(item => `
${item.url ? `
${item.title}
${item.tag ? `
${item.tag.label}
` : ''}
`: `
${item.title}
${item.tag ? `
${item.tag.label}
` : ''}
`} ${item.children.length ? `
` : ''}
`).join('')}
` } else { return `
${linkList.map(item => `
${item.url ? `
${item.title}
${item.tag ? `
${item.tag.label}
` : ''}
`: `
${item.title}
${item.tag ? `
${item.tag.label}
` : ''}
`} ${item.children.length ? `
` : ''}
`).join('')}
${linkList.map(item => `
${item.children ? `
${item.children.map(link => { return `
${link.url ? `
${link.title}
${link.tag ? `
${link.tag.label}
` : ''}
`: `
${link.title}
${link.tag ? `
${link.tag.label}
` : ''}
`} ${link.children ? `
${link.children.map(link_3 => `
${link_3.url ? `
${link_3.title}
${link_3.tag ? `
${link_3.tag.label}
` : ''}
`: `
${link_3.title}
${link_3.tag ? `
${link_3.tag.label}
` : ''}
`}
`).join('')}
` : ''}
`}).join('')}
${function() { const data = item.product0; if (!data) return ''; return `
` }()}
` : ''}
`).join('')}
` } }()}
${item}
Recently searched
${item}
Hot searches
${item.word}
Results
${item.highlightHtml}
const TAG = 'spz-custom-smart-search-location'; const SMART_PRODUCR_SEARCH_WRAP_CLASSNAME = 'app-smart-product-search-wrap'; const THEME_NAME = window.SHOPLAZZA.theme.merchant_theme_name; const BREAKPOINT = 960; const DELAY = 300; class SpzCustomSmartSearchLocation extends SPZ.BaseElement { constructor(element) { super(element); this.mobileHeaderPluginParentEle = null; } static deferredMount() { return false; } isLayoutSupported(layout) { return layout == SPZCore.Layout.LOGIC; } buildCallback() { this.init(); this.listenerResize(); } init() { // PC-end not load if (this.isDesktop()) { return; } if (!window.__isLoadAppSmartSearch__) { this.initSmartSearch(); console.log('__isLoadAppSmartSearch__'); } // B-end must reload if (window.self === window.top && !window.__isLoadAppSmartSearch__) { window.__isLoadAppSmartSearch__ = true; } } initSmartSearch() { if (this.hasMobileUpperRightPlugin()) { this.showMobileSmartSearch(); } else { this.addMobileSmartSearch(); } } listenerResize() { window.removeEventListener('resize', window.smartSearchResizeCallback); window.smartSearchResizeCallback = SPZCore.Types.debounce( this.win, () => { this.init(); }, DELAY ); window.addEventListener('resize', window.smartSearchResizeCallback); } isDesktop() { const mediaQueryList = window.matchMedia(`(min-width: ${BREAKPOINT}px)`); return mediaQueryList.matches; } hasMobileUpperRightPlugin() { return !['geek', 'flash', 'boost'].includes(THEME_NAME.toLocaleLowerCase()); } showMobileSmartSearch() { this.mobileHeaderPluginParentEle = this.getMobileHeaderPluginParentEle(); this.setMobileHeaderIconsPluginStyle(this.mobileHeaderPluginParentEle); } getMobileHeaderPluginParentEle() { const MOBILE_HEADER_PLUGIN_PARENT_ELE_MAP = { nova: '.header__mobile #header__plugin-container', hero: '.header__icons .tw-flex.tw-justify-end.tw-items-center.tw-space-x-7', onePage: '.header__mobile #header__plugin-container', wind: '#header-icons .flex.justify-end.items-center', eva: '#header__icons .plugin_content' }; const headerPluginParentSelector = this.combineMultipleSelectors( Object.values(MOBILE_HEADER_PLUGIN_PARENT_ELE_MAP) ); return document.querySelector(headerPluginParentSelector); } setMobileHeaderIconsPluginStyle(pluginParentEle) { if (!pluginParentEle) { return; } const containHidden = pluginParentEle.classList.contains('md:hidden'); const containTwHidden = pluginParentEle.classList.contains('md:tw-hidden'); if (containHidden || containTwHidden) { Array.from(pluginParentEle.children).forEach((pluginElement) => { if (!this.hasSmartSearchPlugin(pluginElement)) { pluginElement.style.display = 'none'; } }); pluginParentEle.classList.remove('md:hidden', 'md:tw-hidden'); } else { const smartSearchPluginElement = Array.from(pluginParentEle.children).find( (pluginElement) => { return this.hasSmartSearchPlugin(pluginElement); } ); smartSearchPluginElement.style.display = 'block'; } } hasSmartSearchPlugin(pluginElement) { return ( pluginElement.classList.contains(`${SMART_PRODUCR_SEARCH_WRAP_CLASSNAME}`) || pluginElement.querySelectorAll(`.${SMART_PRODUCR_SEARCH_WRAP_CLASSNAME}`).length > 0 ); } addMobileSmartSearch() { this.mobileHeaderIconsEle = this.getMobileHeaderIconsEle(); this.smartSearchWrapEle = this.getSmartSearchWrapEle(); this.appendSmartSearchToHeader(); } getMobileHeaderIconsEle() { // Must be the parent element of the plugin const MOBILE_HEADER_ICONS_ELE_MAP = { geek: '#header-mobile-container .flex.items-center.justify-end.flex-shrink-0', flash: '#header-layout .header__icons', boost: '.header__mobile-bottom .tw-flex.tw-items-center.tw-justify-end.tw-flex-1' }; const headerIconsSelector = this.combineMultipleSelectors( Object.values(MOBILE_HEADER_ICONS_ELE_MAP) ); return document.querySelector(headerIconsSelector); } getSmartSearchWrapEle() { const smartSearchWrapEle = document.querySelector(this.getSmartSearchWrapSelector()); if (!smartSearchWrapEle) { return null; } return smartSearchWrapEle; } appendSmartSearchToHeader() { if (!this.smartSearchWrapEle) { return; } this.mobileHeaderIconsEle.insertAdjacentElement('afterbegin', this.smartSearchWrapEle); } getSmartSearchWrapSelector() { const PLUGIN_POSITION = { DRAWER: 'drawer', HEADER_TOP: 'headerTop' }; // only one this plugin of ancestor element const MOBILE_PLUGIN_POSITION_ELE_MAP = { [PLUGIN_POSITION.DRAWER]: { geek: '#header-menu-mobile #menu-drawer', flash: '#menu-drawer .plugin__header-content', boost: '.header__drawer' }, [PLUGIN_POSITION.HEADER_TOP]: { geek: '#header-menu-mobile #menu-drawer', flash: '#menu-drawer .plugin__header-content', boost: '.header-content .logo-wrap' } }; const MbPluginPositionInTheme = [ ...Object.values(MOBILE_PLUGIN_POSITION_ELE_MAP[PLUGIN_POSITION.DRAWER]), ...Object.values(MOBILE_PLUGIN_POSITION_ELE_MAP[PLUGIN_POSITION.HEADER_TOP]) ]; return Object.values(MbPluginPositionInTheme).reduce((pre, ancestor) => { if (pre === '') { return `${ancestor} .app-smart-product-search-wrap`; } if (pre.includes(ancestor)) { return pre; } return `${pre},${ancestor} .app-smart-product-search-wrap`; }, ''); } combineMultipleSelectors(selectorList) { return selectorList.reduce((pre, selector) => { if (pre === '') { return `${selector}`; } if (pre.includes(selector)) { return pre; } return `${pre},${selector}`; }, ''); } } SPZ.defineElement(TAG, SpzCustomSmartSearchLocation);
function setSearchUrl(searchValue) { return Promise.resolve({ url: '/search?q=' + searchValue }); } exportFunction('setSearchUrl', setSearchUrl);
function setSearchUrl(searchValue) { return Promise.resolve({ url: '/search?q=' + searchValue }); } exportFunction('setSearchUrl', setSearchUrl);
Log in
Create an account
${data.data.count > 99 ? '99+' : data.data.count}
${data.line_items.map(item => { return `
${item.product_title}
${item.options.map(o => `
${o.name}:
${o.value}
`).join('')} ${(item.parsedProperties || []).map((propertie)=>{ if (propertie.isImage){ return `
${propertie.name}:
View image
` }else{ return `
${propertie.name}:
${propertie.value}
` } }).join('')}
Free gift
*${item.quantity}
${ (item.discount_applications || []).map(discount_item => { const discount_item_amount = discount_item.discount_amount || discount_item.amount || ''; return `
${discount_item.title}
(-
)
` }).join('') }
`; }).join('')}
Goes great with
Add order note
Add order note
Add order note
Add order note
${function() { const freeAmount = 79; const totalPrice = data?.total_price || data?.cart?.total_price || 0; const amountDiff = freeAmount - totalPrice; const percentDiff = (amountDiff > 0 ? (totalPrice / freeAmount * 100).toFixed(2) : 100) + '%'; const spendTip = "Buy {amount} more to enjoy Free Shipping"; let tipText = "Your order is free delivery"; if (amountDiff > 0) { tipText = spendTip.replace('{amount}', `
`); } return `
${tipText}
${percentDiff}
`; }()}
Total:
${data.total_discount > 0 ? ( `
Save
${data.discount_applications.length > 0 && data.discount_applications.map(item => { return `
${item.title}:
` }).join('')}
` ) : ''}
CHECKOUT
Taxes and shipping calculated at checkout
Your cart is currently empty.
Close
NEW DROP
NEW DROP
New Design
New Graphic Tees
New Tank Tops
BEST SELLER
CLOTHING
CLOTHING
T-Shirts
T-Shirts
Graphic Tees
Washed Tees
Crop Tees
Tank Tops
Jerseys
Hoodies
Hoodies
Washed Hoodies
Cropped Hoodies
Zip Up Hoodies
Bottoms
Bottoms
Shorts
Pants
Jeans
Accessories
Accessories
Jewelry
Baseball Caps
Knitted Hats
Blanks & Packs
STYLES
STYLES
Western & Cowboy
Faith & Gods
Racing Spirit
Street Chic
Hip-Hop & Cartoon
Sports & Stars
Abstract
Slogans
SALE
SALE
Holiday
$20 OFF
Clearance
low price
Gift Card
CUSTOM
Track Order
${item}
Recently searched
${item}
Hot searches
${item.word}
Results
${item.highlightHtml}
const TAG = 'spz-custom-smart-search-location'; const SMART_PRODUCR_SEARCH_WRAP_CLASSNAME = 'app-smart-product-search-wrap'; const THEME_NAME = window.SHOPLAZZA.theme.merchant_theme_name; const BREAKPOINT = 960; const DELAY = 300; class SpzCustomSmartSearchLocation extends SPZ.BaseElement { constructor(element) { super(element); this.mobileHeaderPluginParentEle = null; } static deferredMount() { return false; } isLayoutSupported(layout) { return layout == SPZCore.Layout.LOGIC; } buildCallback() { this.init(); this.listenerResize(); } init() { // PC-end not load if (this.isDesktop()) { return; } if (!window.__isLoadAppSmartSearch__) { this.initSmartSearch(); console.log('__isLoadAppSmartSearch__'); } // B-end must reload if (window.self === window.top && !window.__isLoadAppSmartSearch__) { window.__isLoadAppSmartSearch__ = true; } } initSmartSearch() { if (this.hasMobileUpperRightPlugin()) { this.showMobileSmartSearch(); } else { this.addMobileSmartSearch(); } } listenerResize() { window.removeEventListener('resize', window.smartSearchResizeCallback); window.smartSearchResizeCallback = SPZCore.Types.debounce( this.win, () => { this.init(); }, DELAY ); window.addEventListener('resize', window.smartSearchResizeCallback); } isDesktop() { const mediaQueryList = window.matchMedia(`(min-width: ${BREAKPOINT}px)`); return mediaQueryList.matches; } hasMobileUpperRightPlugin() { return !['geek', 'flash', 'boost'].includes(THEME_NAME.toLocaleLowerCase()); } showMobileSmartSearch() { this.mobileHeaderPluginParentEle = this.getMobileHeaderPluginParentEle(); this.setMobileHeaderIconsPluginStyle(this.mobileHeaderPluginParentEle); } getMobileHeaderPluginParentEle() { const MOBILE_HEADER_PLUGIN_PARENT_ELE_MAP = { nova: '.header__mobile #header__plugin-container', hero: '.header__icons .tw-flex.tw-justify-end.tw-items-center.tw-space-x-7', onePage: '.header__mobile #header__plugin-container', wind: '#header-icons .flex.justify-end.items-center', eva: '#header__icons .plugin_content' }; const headerPluginParentSelector = this.combineMultipleSelectors( Object.values(MOBILE_HEADER_PLUGIN_PARENT_ELE_MAP) ); return document.querySelector(headerPluginParentSelector); } setMobileHeaderIconsPluginStyle(pluginParentEle) { if (!pluginParentEle) { return; } const containHidden = pluginParentEle.classList.contains('md:hidden'); const containTwHidden = pluginParentEle.classList.contains('md:tw-hidden'); if (containHidden || containTwHidden) { Array.from(pluginParentEle.children).forEach((pluginElement) => { if (!this.hasSmartSearchPlugin(pluginElement)) { pluginElement.style.display = 'none'; } }); pluginParentEle.classList.remove('md:hidden', 'md:tw-hidden'); } else { const smartSearchPluginElement = Array.from(pluginParentEle.children).find( (pluginElement) => { return this.hasSmartSearchPlugin(pluginElement); } ); smartSearchPluginElement.style.display = 'block'; } } hasSmartSearchPlugin(pluginElement) { return ( pluginElement.classList.contains(`${SMART_PRODUCR_SEARCH_WRAP_CLASSNAME}`) || pluginElement.querySelectorAll(`.${SMART_PRODUCR_SEARCH_WRAP_CLASSNAME}`).length > 0 ); } addMobileSmartSearch() { this.mobileHeaderIconsEle = this.getMobileHeaderIconsEle(); this.smartSearchWrapEle = this.getSmartSearchWrapEle(); this.appendSmartSearchToHeader(); } getMobileHeaderIconsEle() { // Must be the parent element of the plugin const MOBILE_HEADER_ICONS_ELE_MAP = { geek: '#header-mobile-container .flex.items-center.justify-end.flex-shrink-0', flash: '#header-layout .header__icons', boost: '.header__mobile-bottom .tw-flex.tw-items-center.tw-justify-end.tw-flex-1' }; const headerIconsSelector = this.combineMultipleSelectors( Object.values(MOBILE_HEADER_ICONS_ELE_MAP) ); return document.querySelector(headerIconsSelector); } getSmartSearchWrapEle() { const smartSearchWrapEle = document.querySelector(this.getSmartSearchWrapSelector()); if (!smartSearchWrapEle) { return null; } return smartSearchWrapEle; } appendSmartSearchToHeader() { if (!this.smartSearchWrapEle) { return; } this.mobileHeaderIconsEle.insertAdjacentElement('afterbegin', this.smartSearchWrapEle); } getSmartSearchWrapSelector() { const PLUGIN_POSITION = { DRAWER: 'drawer', HEADER_TOP: 'headerTop' }; // only one this plugin of ancestor element const MOBILE_PLUGIN_POSITION_ELE_MAP = { [PLUGIN_POSITION.DRAWER]: { geek: '#header-menu-mobile #menu-drawer', flash: '#menu-drawer .plugin__header-content', boost: '.header__drawer' }, [PLUGIN_POSITION.HEADER_TOP]: { geek: '#header-menu-mobile #menu-drawer', flash: '#menu-drawer .plugin__header-content', boost: '.header-content .logo-wrap' } }; const MbPluginPositionInTheme = [ ...Object.values(MOBILE_PLUGIN_POSITION_ELE_MAP[PLUGIN_POSITION.DRAWER]), ...Object.values(MOBILE_PLUGIN_POSITION_ELE_MAP[PLUGIN_POSITION.HEADER_TOP]) ]; return Object.values(MbPluginPositionInTheme).reduce((pre, ancestor) => { if (pre === '') { return `${ancestor} .app-smart-product-search-wrap`; } if (pre.includes(ancestor)) { return pre; } return `${pre},${ancestor} .app-smart-product-search-wrap`; }, ''); } combineMultipleSelectors(selectorList) { return selectorList.reduce((pre, selector) => { if (pre === '') { return `${selector}`; } if (pre.includes(selector)) { return pre; } return `${pre},${selector}`; }, ''); } } SPZ.defineElement(TAG, SpzCustomSmartSearchLocation);
Log in
Create an account
function setSearchUrl(searchValue) { return Promise.resolve({ url: '/search?q=' + searchValue }); } exportFunction('setSearchUrl', setSearchUrl);
${function() { if (data === undefined || typeof data !== 'string' || data == '') return `
`; if (data === 'close') return ''; return `
View more
`; }()}
Home
/
T-shirts
T-shirts
Filter
more than
-
${function(){ if(data.category === 'filter.v.availability') { if(data.value == 1) { return `In stock`; } return `Out of stock`; } return `${data.label}`; }()}
Clear all
${data.title}
${item.label}
(${item.count})
Filter and sort
Sort by
Featured
Price, low to high
Price, high to low
Newest in
Total sales, high to low
Purchases, high to low
Page views, high to low
${data.title}
${(data.title || '').toLowerCase().replace(/^[a-z]/, c => c.toUpperCase())}
The highest price is
${data.range_max}
$
$
${data.title}
${(data.title || '').toLowerCase().replace(/^[a-z]/, c => c.toUpperCase())}
${item.label}
(${item.count})
3061 Products
${function(){ const num = data.total if(num <= 1){ return `${num} Product` } return `${num} Products` }()}
Graphic Tees
Washed Tees
Cropped Tees
Tank Tops
jerseys
3061 Products
${function(){ const num = data.total if(num <= 1){ return `${num} Product` } return `${num} Products` }()}
Featured
Price, low to high
Price, high to low
Newest in
Total sales, high to low
Purchases, high to low
Page views, high to low
Filter and sort
more than
-
${function(){ if(data.category === 'filter.v.availability') { if(data.value == 1) { return `In stock`; } return `Out of stock`; } return `${data.label}`; }()}
Clear all
SALE
+7
First Sunday Retro Graphic Print Acid Washed T-Shirt
$30.00
$35.00
+10
Sopula First Sunday Graphic 100% Cotton Basic T-Shirt
$30.00
Sopula Vingate Get Rich Abstract Portrait Graphics Cotton T-Shirt
$30.00
+7
Vintage Sza Graphic Cotton T-Shirt
$30.00
+6
Vintage I Am Allergic To People Graphic Print Acid Wash T-shirt
$35.00
+6
Vintage Hellstar Welcome To My Paradise Graphic Cotton Short Sleeve T-Shirt
$30.00
+7
Men's Casual Virtual Shadow Graphics Cotton Short Sleeve T-Shirt
$30.00
Vintage Jesus Graphic White Cropped T-Shirt
$30.00
Sopula God's Child Graphic No 02 Blokette Blokecore Jersey T-Shirt
$30.00
+5
Fly By Choice Freedom Is A State Of Mind Skull Graphic Cotton T-Shirt
$30.00
+5
Sopula Vintage Fly Rich No 22 Graphics Blokecore Blokette Football V-Neck T-Shirt
$30.00
SALE
+5
God Loves The World Vintage Graphic Cotton T-Shirt
$30.00
$43.00
Vintage Basketball Legend Graphic Cotton White T-Shirt
$30.00
+5
Sopula Hellstar Street Goals Lip Braces Make Vintage Printed Graphics Cotton T-Shirt
$30.00
Sopula Vintage Saint Faith No.98 Graphic Blokette Blokecore V-Neck T-Shirt
$30.00
+9
Y2k Vintage Hellstar 1996 Graphic Cotton T-Shirt
$30.00
+11
Hellstar Flame Jesus Silhouette Network Vintage Graphics Cotton T-Shirt
$30.00
Lost Sins Jesus Piece Print Graphic T-Shirt
$30.00
Sopula Vintage Faith Cross Graphic Casual Cropped T-Shirt
$30.00
Mental Health Matters Graphics Cotton Cropped T-Shirts
$30.00
Vintage Cartoon Monster Cotton T-Shirt
$30.00
Y2k Vintage Flyrich 2019 World Graphic Cotton T-Shirt
$30.00
SALE
Vintage Sade Adu Print Graphic Cotton T-Shirt
$30.00
$38.00
Vintage Move In Silence Graphic Casual Cotton T-Shirt
$30.00
No Emotion Graphics Cotton Cropped T-Shirts
$30.00
+5
Vintage Stress Freedom Print Graphic T-Shirt
$30.00
+5
Unisex Men's God's Plan Faith Vintage Graphic Street Cotton T-Shirt
$30.00
+7
Chasing Money Graphic Print Cotton T-Shirt
$30.00
Sopula Vintage Rising Star No 23 Graphics Blokecore Blokette V-Neck Cotton T-Shirt
$30.00
+7
Vintage Fly By Choice Death Graphic Cotton Short Sleeve T-Shirt
$30.00
+4
Vintage Nothing Wrong Die Alone Graphic Print Cotton T-Shirt
$30.00
SALE
Hellstar Worldwide 2024 Graphic Print T-Shirt
$30.00
$35.00
SALE
+10
Take The Risk Or Lose The Chance Graphic Print Cotton T-Shirt
$30.00
$35.00
SALE
+5
Vintage Cartoon Monster Emotion Graphic Cotton T-Shirt
$30.00
$43.00
+5
Vintage Jesus Print Round Neck Cotton T-Shirt
$30.00
+6
Vintage Sza Graphic Cotton T-shirt
$30.00
No products found
Use fewer filters or
Clear all
Recently viewed
${function(){ const settings_product_title = "title"; const product_grid_image_size = "100%"; const settings_product_image_hover_on = true; let settings_product_save_label = true; const product_sold_out_label = false; const settings_product_swatches_name = ["color"]; const settings_collection_color_swatches = true; const variantShowLimit = 3; const private_id = 'product-tmpl-' + Math.random().toFixed(6).slice(-6) const product_variants = data.variants || []; const product_id = data.id; const images = data.images || []; const image = data.image || {}; const imageWidth = image.width; let imageHeight = image.height; if (product_grid_image_size !== 'natural') { imageHeight = (imageWidth * parseFloat(product_grid_image_size)) / 100; } const price = Number(data.price_min); let compareAtPrice = Number(data.compare_at_price); let offRatio = data.off_ratio; const type = data.type; const isMock = data.isMock; let product_image_hover_on = false; for (let i = 0; i < product_variants.length; i++) { const item = product_variants[i]; const vcap = Number(item.compare_at_price); if (item.price == price && vcap > compareAtPrice) { compareAtPrice = vcap; offRatio = item.off_ratio; } } let second_image = null; if (settings_product_image_hover_on) { for (let i = 1; i < images.length; i++) { const img = images[i]; if (img.src && img.src.indexOf('video=') === -1) { second_image = img; product_image_hover_on = true; break; } } } let sold_label_on = false; let sale_label_on = false; if (settings_product_save_label == null) { settings_product_save_label = true; } if (!data.available && product_sold_out_label) { sold_label_on = true; } if (settings_product_save_label && compareAtPrice > price && data.available) { sale_label_on = true; } const diffPrice = compareAtPrice - price; const variantValues = []; const showVariants = []; if (data.need_variant_image && settings_collection_color_swatches && settings_product_swatches_name.length > 0) { for (let i = 0; i < (data.options || []).length; i++) { const option = data.originData.options[i]; const optionName = option.name && option.name.toLowerCase(); if (settings_product_swatches_name.includes(optionName)) { for (let j = 0; j < product_variants.length; j++) { const variant = product_variants[j]; const value = variant.options[i].value; if (!variantValues.includes(value)) { variantValues.push(value); showVariants.push(variant); } } break; } } } return `
${function(){ if(showVariants.length == 0){ return `
` } return `
${ showVariants.map(item=>{ return `
`; }).join('') }
` }() }
SOLD OUT
SALE
${ showVariants.slice(0,variantShowLimit).map((item,index)=>{ return `
`; }).join('') }
+${showVariants.length - variantShowLimit}
${(settings_product_title === 'sub_title' && data.brief) ? data.brief : data.title}
${data.available ? `
` : ''}
`; }()}
Your cart
${data.line_items.map(item => { return `
${item.product_title}
${item.options.map(o => `
${o.name}:
${o.value}
`).join('')} ${(item.parsedProperties || []).map((propertie)=>{ if (propertie.isImage){ return `
${propertie.name}:
View image
` }else{ return `
${propertie.name}:
${propertie.value}
` } }).join('')}
Free gift
*${item.quantity}
${ (item.discount_applications || []).map(discount_item => { const discount_item_amount = discount_item.discount_amount || discount_item.amount || ''; return `
${discount_item.title}
(-
)
` }).join('') }
`; }).join('')}
Goes great with
cart
cart
Your cart is currently empty.
Continue shopping
${function() { const freeAmount = 79; const totalPrice = data?.total_price || data?.cart?.total_price || 0; const amountDiff = freeAmount - totalPrice; const percentDiff = (amountDiff > 0 ? (totalPrice / freeAmount * 100).toFixed(2) : 100) + '%'; const spendTip = "Buy {amount} more to enjoy Free Shipping"; let tipText = "Your order is free delivery"; if (amountDiff > 0) { tipText = spendTip.replace('{amount}', `
`); } return `
${tipText}
${percentDiff}
`; }()}
Add order note
Add order note
Total:
${data.total_discount > 0 ? ( `
Save
${data.discount_applications.length > 0 && data.discount_applications.map(item => { return `
${item.title}:
` }).join('')}
` ) : ''}
CHECKOUT
Taxes and shipping calculated at checkout
Add order note
Add order note
${function() { const freeAmount = 79; const totalPrice = data?.total_price || data?.cart?.total_price || 0; const amountDiff = freeAmount - totalPrice; const percentDiff = (amountDiff > 0 ? (totalPrice / freeAmount * 100).toFixed(2) : 100) + '%'; const spendTip = "Buy {amount} more to enjoy Free Shipping"; let tipText = "Your order is free delivery"; if (amountDiff > 0) { tipText = spendTip.replace('{amount}', `
`); } return `
${tipText}
${percentDiff}
`; }()}
Total:
${data.total_discount > 0 ? ( `
Save
${data.discount_applications.length > 0 && data.discount_applications.map(item => { return `
${item.title}:
` }).join('')}
` ) : ''}
CHECKOUT
Taxes and shipping calculated at checkout
${function(){ const productData = data.product; const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const product_options = productData.options.filter(Boolean) || []; const handleName = (name) => name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, ''); const mouseoutevent = productData.options.map((opt) => `@${handleName(opt.name)}Mouseout="qs-selected-render-${opt.id}.rerender(data=event,redo=true);"`).join(' '); const mouseoverevent = productData.options.map((opt) => `@${handleName(opt.name)}Mouseover="qs-selected-render-${opt.id}.rerender(data=event,redo=true);"`).join(' '); return `
Price
${function() { const origin = "shop" const product = (origin === 'shop' ? data.product : data) || {}; const selectedVariant = product.variants.find(v => v.available) || product.variants[0]; return !!selectedVariant ? `
` : `
-
`; }()}
Quantity
${selectedVariant.available ? "ADD TO CART" : "SOLD OUT"}
Product was out of stock.
Product is unavailable.
` }()}
${function(){ let thumbSwitchName = ''; return (data.product.options || []).map((option, index) => { const optionName = option.name || ''; const optionId = option.id || ''; const position = `option${index + 1}`; let isThumbImage = false; const thumbStyle = "image"; const variantType = "button"; if (data.product.need_variant_image && thumbSwitchName === '') { const variantNames = ["Color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; thumbSwitchName = name; } } } return (variantType == 'dropdown' && !isThumbImage) ? `
${optionName.toLowerCase()}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` : `
${optionName}:
${data.selectedValues[optionName]}
${option.values.map((value,idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = data.product.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
` }).join('') }()}
${function(){ const { currentOptName, originData: { selectData, value } } = data; const optionValue = selectData ? selectData[currentOptName].value[0] : value; return `
${optionValue}
` }()}
-
-