View all
Free Shipping on Order over $79
Free Shipping 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 Shipping on Order over $79
Good Friday x Easter –Save $10 on $60, $20 on $100
Free Shipping 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
Money Honor Boy 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":"97f8e5b2-452f-4ade-83f5-81d3847ba155","title":"Money Honor Boy Print Cotton T-shirt","brief":"","vendor":"SOPULA","vendor_url":"","has_only_default_variant":false,"requires_shipping":true,"taxable":true,"published":true,"handle":"money-honor-boy-print-cotton-t-shirt","spu":"CP-210870-ZYL","need_variant_image":true,"updated_at":"2025-04-30T02:41:10Z","created_at":"2025-04-29T10:50:15Z","mixed_wholesale":false,"min_price_variant":{"id":"2fe09269-f11f-46b6-aee4-88ed4a5553f9","title":"Grey-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.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\/money-honor-boy-print-cotton-t-shirt?variant=2fe09269-f11f-46b6-aee4-88ed4a5553f9","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0},"tags":"tee,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\/money-honor-boy-print-cotton-t-shirt","published_at":"2025-04-29T10:50:15Z","image":{"src":"\/\/img.staticdj.com\/7b76c54f1f298df5d81043654f44672d.jpeg","path":"7b76c54f1f298df5d81043654f44672d.jpeg","width":3000,"height":3997,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.7505629221916438},"options":[{"id":"25af7aee-8c45-46ae-b961-01bf285af037","name":"Color","position":1,"values":["Grey","Black","White","Pink","Apricot"]},{"id":"d92a754f-891b-4a89-bf06-1e3941a000c5","name":"Size","position":2,"values":["S","M","L","XL","2XL","3XL"]}],"variants":[{"id":"2fe09269-f11f-46b6-aee4-88ed4a5553f9","title":"Grey-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=2fe09269-f11f-46b6-aee4-88ed4a5553f9","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"0288c1b9-4f37-450c-995f-95a2d508be4d","title":"Grey-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Grey-M","barcode":"","position":2,"option1":"Grey","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=0288c1b9-4f37-450c-995f-95a2d508be4d","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"b68cd48c-122e-4143-9cf5-09c6840df399","title":"Grey-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Grey-L","barcode":"","position":3,"option1":"Grey","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=b68cd48c-122e-4143-9cf5-09c6840df399","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"dbe0b335-188b-401f-bb27-d0b152dc7bd3","title":"Grey-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Grey-XL","barcode":"","position":4,"option1":"Grey","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=dbe0b335-188b-401f-bb27-d0b152dc7bd3","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"9526b2a3-c977-480e-8ca3-fa0988a4fd04","title":"Grey-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Grey-2XL","barcode":"","position":5,"option1":"Grey","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=9526b2a3-c977-480e-8ca3-fa0988a4fd04","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"f6fbc9f8-0c35-498b-8832-dbaadee844a2","title":"Grey-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Grey-3XL","barcode":"","position":6,"option1":"Grey","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=f6fbc9f8-0c35-498b-8832-dbaadee844a2","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"74bb7836-5ad2-4200-8a92-56ede3a7a731","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/94e5e29125dd7c5fa177d25154869a4f.jpeg","path":"94e5e29125dd7c5fa177d25154869a4f.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=74bb7836-5ad2-4200-8a92-56ede3a7a731","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"411edb26-14df-4036-9ba6-ac989499d489","title":"Black-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Black-M","barcode":"","position":8,"option1":"Black","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/94e5e29125dd7c5fa177d25154869a4f.jpeg","path":"94e5e29125dd7c5fa177d25154869a4f.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=411edb26-14df-4036-9ba6-ac989499d489","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"c73465b5-dddb-45b9-ae39-5c07766d13df","title":"Black-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Black-L","barcode":"","position":9,"option1":"Black","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/94e5e29125dd7c5fa177d25154869a4f.jpeg","path":"94e5e29125dd7c5fa177d25154869a4f.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=c73465b5-dddb-45b9-ae39-5c07766d13df","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"9d03c039-f850-4be8-aa7c-8f70a4fa062c","title":"Black-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Black-XL","barcode":"","position":10,"option1":"Black","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/94e5e29125dd7c5fa177d25154869a4f.jpeg","path":"94e5e29125dd7c5fa177d25154869a4f.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=9d03c039-f850-4be8-aa7c-8f70a4fa062c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"4a462075-0beb-4e64-9874-6f9232788b6e","title":"Black-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Black-2XL","barcode":"","position":11,"option1":"Black","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/94e5e29125dd7c5fa177d25154869a4f.jpeg","path":"94e5e29125dd7c5fa177d25154869a4f.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=4a462075-0beb-4e64-9874-6f9232788b6e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"ba34ccc4-fac9-41e1-b03e-4d448c7b7f71","title":"Black-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Black-3XL","barcode":"","position":12,"option1":"Black","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/94e5e29125dd7c5fa177d25154869a4f.jpeg","path":"94e5e29125dd7c5fa177d25154869a4f.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=ba34ccc4-fac9-41e1-b03e-4d448c7b7f71","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"600b09ac-6914-41ae-964e-6f4bd7515ad0","title":"White-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-White-S","barcode":"","position":13,"option1":"White","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/c2701315c15007e695902bf023bf72b9.jpeg","path":"c2701315c15007e695902bf023bf72b9.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=600b09ac-6914-41ae-964e-6f4bd7515ad0","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"2f5ef628-6aca-4a80-ad0d-df6a271b424a","title":"White-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-White-M","barcode":"","position":14,"option1":"White","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/c2701315c15007e695902bf023bf72b9.jpeg","path":"c2701315c15007e695902bf023bf72b9.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=2f5ef628-6aca-4a80-ad0d-df6a271b424a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"cec70705-a247-4a86-8e21-5671b6f877aa","title":"White-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-White-L","barcode":"","position":15,"option1":"White","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/c2701315c15007e695902bf023bf72b9.jpeg","path":"c2701315c15007e695902bf023bf72b9.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=cec70705-a247-4a86-8e21-5671b6f877aa","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"5d3ffa86-b98b-47ff-96e6-1f2344c5c529","title":"White-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-White-XL","barcode":"","position":16,"option1":"White","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/c2701315c15007e695902bf023bf72b9.jpeg","path":"c2701315c15007e695902bf023bf72b9.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=5d3ffa86-b98b-47ff-96e6-1f2344c5c529","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"0d1dda8e-c420-4727-962d-1951bb79a2c4","title":"White-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-White-2XL","barcode":"","position":17,"option1":"White","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/c2701315c15007e695902bf023bf72b9.jpeg","path":"c2701315c15007e695902bf023bf72b9.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=0d1dda8e-c420-4727-962d-1951bb79a2c4","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"dfff5191-6e84-4e7e-b6f7-f31b78a586e4","title":"White-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-White-3XL","barcode":"","position":18,"option1":"White","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/c2701315c15007e695902bf023bf72b9.jpeg","path":"c2701315c15007e695902bf023bf72b9.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=dfff5191-6e84-4e7e-b6f7-f31b78a586e4","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"cdd52f2e-c115-4b94-bd08-4f6f95658cf5","title":"Pink-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Pink-S","barcode":"","position":19,"option1":"Pink","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/b31a7a73b17344d718fd16a48219a279.jpeg","path":"b31a7a73b17344d718fd16a48219a279.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=cdd52f2e-c115-4b94-bd08-4f6f95658cf5","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"a5a4927b-5596-4dc6-bc2a-d82b492f3aa3","title":"Pink-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Pink-M","barcode":"","position":20,"option1":"Pink","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/b31a7a73b17344d718fd16a48219a279.jpeg","path":"b31a7a73b17344d718fd16a48219a279.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=a5a4927b-5596-4dc6-bc2a-d82b492f3aa3","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"d3dcfc62-45b8-4816-b5d8-022c268e9fbe","title":"Pink-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Pink-L","barcode":"","position":21,"option1":"Pink","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/b31a7a73b17344d718fd16a48219a279.jpeg","path":"b31a7a73b17344d718fd16a48219a279.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=d3dcfc62-45b8-4816-b5d8-022c268e9fbe","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"45cb076d-8196-4f9f-a650-b510e26a4f64","title":"Pink-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Pink-XL","barcode":"","position":22,"option1":"Pink","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/b31a7a73b17344d718fd16a48219a279.jpeg","path":"b31a7a73b17344d718fd16a48219a279.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=45cb076d-8196-4f9f-a650-b510e26a4f64","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"b97213ea-fb82-4bb1-866b-830bb89ef750","title":"Pink-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Pink-2XL","barcode":"","position":23,"option1":"Pink","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/b31a7a73b17344d718fd16a48219a279.jpeg","path":"b31a7a73b17344d718fd16a48219a279.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=b97213ea-fb82-4bb1-866b-830bb89ef750","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"f58b10de-1e65-4858-8f58-6dfa16e76980","title":"Pink-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Pink-3XL","barcode":"","position":24,"option1":"Pink","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/b31a7a73b17344d718fd16a48219a279.jpeg","path":"b31a7a73b17344d718fd16a48219a279.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=f58b10de-1e65-4858-8f58-6dfa16e76980","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"abef4a33-601f-42ff-b0bb-15f08857ddc3","title":"Apricot-S","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Apricot-S","barcode":"","position":25,"option1":"Apricot","option2":"S","option3":"","image":{"src":"\/\/img.staticdj.com\/9992f68c193dfdb7f576400103688f99.jpeg","path":"9992f68c193dfdb7f576400103688f99.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=abef4a33-601f-42ff-b0bb-15f08857ddc3","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"1b9628de-00f4-4bab-abde-502a3ffb7448","title":"Apricot-M","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Apricot-M","barcode":"","position":26,"option1":"Apricot","option2":"M","option3":"","image":{"src":"\/\/img.staticdj.com\/9992f68c193dfdb7f576400103688f99.jpeg","path":"9992f68c193dfdb7f576400103688f99.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=1b9628de-00f4-4bab-abde-502a3ffb7448","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"7e4e1315-309a-46c2-9a19-11efec1fdbf9","title":"Apricot-L","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Apricot-L","barcode":"","position":27,"option1":"Apricot","option2":"L","option3":"","image":{"src":"\/\/img.staticdj.com\/9992f68c193dfdb7f576400103688f99.jpeg","path":"9992f68c193dfdb7f576400103688f99.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=7e4e1315-309a-46c2-9a19-11efec1fdbf9","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"6309a76f-2be7-4c3e-b373-91560ba85689","title":"Apricot-XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Apricot-XL","barcode":"","position":28,"option1":"Apricot","option2":"XL","option3":"","image":{"src":"\/\/img.staticdj.com\/9992f68c193dfdb7f576400103688f99.jpeg","path":"9992f68c193dfdb7f576400103688f99.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=6309a76f-2be7-4c3e-b373-91560ba85689","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"59d927f7-5921-423b-b9fd-bc5f71d0a63c","title":"Apricot-2XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Apricot-2XL","barcode":"","position":29,"option1":"Apricot","option2":"2XL","option3":"","image":{"src":"\/\/img.staticdj.com\/9992f68c193dfdb7f576400103688f99.jpeg","path":"9992f68c193dfdb7f576400103688f99.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=59d927f7-5921-423b-b9fd-bc5f71d0a63c","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"2ac4ab3c-6c2c-4b92-8984-3839ae3bdb95","title":"Apricot-3XL","weight_unit":"g","inventory_quantity":0,"sku":"CP-210870-ZYL-Apricot-3XL","barcode":"","position":30,"option1":"Apricot","option2":"3XL","option3":"","image":{"src":"\/\/img.staticdj.com\/9992f68c193dfdb7f576400103688f99.jpeg","path":"9992f68c193dfdb7f576400103688f99.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy 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\/money-honor-boy-print-cotton-t-shirt?variant=2ac4ab3c-6c2c-4b92-8984-3839ae3bdb95","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":null}],"images":[{"src":"\/\/img.staticdj.com\/7b76c54f1f298df5d81043654f44672d.jpeg","path":"7b76c54f1f298df5d81043654f44672d.jpeg","width":3000,"height":3997,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.7505629221916438},{"src":"\/\/img.staticdj.com\/c2701315c15007e695902bf023bf72b9.jpeg","path":"c2701315c15007e695902bf023bf72b9.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/b31a7a73b17344d718fd16a48219a279.jpeg","path":"b31a7a73b17344d718fd16a48219a279.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/9992f68c193dfdb7f576400103688f99.jpeg","path":"9992f68c193dfdb7f576400103688f99.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/94e5e29125dd7c5fa177d25154869a4f.jpeg","path":"94e5e29125dd7c5fa177d25154869a4f.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/49b360f6a17041241c107eaced36883c.jpeg","path":"49b360f6a17041241c107eaced36883c.jpeg","width":1500,"height":2000,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/c53b1743ab6a73ebc9e9236c71db9c2c.png","path":"c53b1743ab6a73ebc9e9236c71db9c2c.png","width":1200,"height":1600,"alt":"Money Honor Boy Print Cotton T-shirt - SOPULA","aspect_ratio":0.75},{"src":"\/\/img.staticdj.com\/f8073a3393e35a97832f73a483230c59.png","path":"f8073a3393e35a97832f73a483230c59.png","width":1200,"height":1600,"alt":"Money Honor Boy 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
/
Best-Seller
Best-Seller
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})
1851 Products
${function(){ const num = data.total if(num <= 1){ return `${num} Product` } return `${num} Products` }()}
1851 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
+6
Vintage First Sunday Faith Graphic Acid Washed Oversized Hoodie
$58.00
$60.00
+10
Sopula First Sunday Graphic 100% Cotton Basic T-Shirt
$30.00
+7
Men's Casual Virtual Shadow Graphics Cotton Short Sleeve T-Shirt
$30.00
SALE
+7
First Sunday Retro Graphic Print Acid Washed T-Shirt
$30.00
$35.00
+6
Vintage I Am Allergic To People Graphic Print Acid Wash T-shirt
$35.00
+10
Sopula The Brain Explodes Print Cotton T-Shirt
$30.00
+11
Hellstar Flame Jesus Silhouette Network Vintage Graphics Cotton T-Shirt
$30.00
+8
Vintage Get Rich Money Portrait Print Cotton T-shirt
$30.00
+6
Vintage Sza Graphic Cotton T-shirt
$30.00
SALE
Vintage Sade Adu Print Graphic Cotton T-Shirt
$30.00
$38.00
SALE
Men's Sade Adu Print Cotton Tank Top
$28.00
$30.00
SALE
Sopula Jimi Hendrix Print Cotton Tank Top
$28.00
$30.00
SALE
Coors Banquet Rodeo Classic Graphics Cotton Sleeveless Tank Top
$28.00
$30.00
+5
Vintage Jesus Print Round Neck Cotton T-Shirt
$30.00
SALE
+5
God Loves The World Vintage Graphic Cotton T-Shirt
$30.00
$43.00
Sopula Vingate Get Rich Abstract Portrait Graphics Cotton T-Shirt
$30.00
+9
Sopula Vintage In Glock We Trust Graphic Cotton T-Shirt
$30.00
Sopula God's Child Graphic No 02 Blokette Blokecore Jersey T-Shirt
$30.00
Sopula Vintage Rising Star No 23 Graphics Blokecore Blokette V-Neck Cotton T-Shirt
$30.00
+5
Sopula Vintage Fly Rich No 22 Graphics Blokecore Blokette Football V-Neck T-Shirt
$30.00
SALE
+4
Vintage Hellstar Graphic Casual Drawstring Shorts
$25.00
$30.00
SALE
Vintage Word Graphic Drawstring Casual Pocket Shorts
$28.00
$30.00
Vintage Jesus Graphic White Cropped T-Shirt
$30.00
+7
Vintage Sza Graphic Cotton T-Shirt
$30.00
+5
Fly By Choice Freedom Is A State Of Mind Skull Graphic Cotton T-Shirt
$30.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
SALE
Vintage Ghost Records Print Casual Fashion Shorts
$28.00
$35.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
SALE
Trust God's Plan Graphic Print Mesh Shorts
$25.00
$30.00
Vintage Warzone Graphic 100% Cotton T-Shirt Cropped Tees
$30.00
+4
Vintage Motion Different Graphic 100% Cotton Short Sleeve T-Shirt
$30.00
SALE
+7
Mental Health Matters Graphic Print Pullover Hoodie
$38.00
$45.00
+6
Vintage Hellstar Welcome To My Paradise Graphic Cotton Short Sleeve T-Shirt
$30.00
Rich Alone Graphics Cotton Cropped T-Shirts
$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}
` }()}
-
-