=== Haat ===
Contributors: bytloop
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, translation-ready, block-patterns, rtl-language-support, theme-options, editor-style, wide-blocks

A marketplace-style WooCommerce theme: mega-menu categories, a storefront hero, dense product grids, deal rails and brand discovery.

== Description ==

**Haat** (হাট — Bengali for "market") is a WooCommerce theme built for catalogues with a lot in them. Where most commerce themes are designed around a dozen hero products, Haat is designed around the shape a real marketplace takes: a category mega menu, a sidebar-plus-banner storefront, a two-column product grid on phones, flash-deal rails, and brand discovery.

= One colour repaints the whole store =

Haat's colour system is a single set of CSS custom properties. Pick a Primary colour in the Customizer and every button, badge, price, sale flash, focus ring and nav pill moves with it — not the handful of elements a "primary colour" usually reaches.

Soft tints and deep shades stay fixed on purpose. If they followed the brand colour too, every tinted panel would collapse into a solid block of brand and stop being readable.

= Dark mode that is actually dark =

The colour ramps invert rather than being re-picked, so every tint-and-shade pairing in the theme stays legible at night automatically — including pairings added later. Merchants can force light, force dark, or follow the visitor's device.

= A storefront you arrange =

The front page is an ordered list of sections you turn on, off and reorder in the Customizer:

* Hero slider with a category rail
* Shop by category tiles
* Flash deals rail with a live countdown
* Featured / best-selling / newest / on-sale product grid
* Brand marquee
* Trust badges
* Promo banner
* Latest blog posts

Nothing is stored in post content, so switching themes later leaves no shortcode debris in your database.

= Built for real catalogues =

* Category mega menu with column layout, keyboard accessible
* Header search with a category scope
* Slide-out cart drawer with a free-shipping progress bar
* Shop filters in a sidebar on desktop, a drawer on mobile
* Product cards with percentage sale badges, ratings and per-product deal countdowns
* Two columns on phones, because one column turns a 24-product page into a very long scroll

= Vendor-plugin aware =

Running a multi-vendor marketplace with Dokan or WCFM? Haat styles their store pages to match the rest of your site and shows the selling vendor on every product card. Haat does not reimplement any vendor functionality — your vendor plugin stays in charge of registration, commissions and payouts.

= What Haat deliberately does not do =

Haat does not ship a wishlist, a compare feature, or a newsletter signup that stores email addresses. Those are plugin territory: a theme that owns them takes your customers' saved lists and your subscriber list hostage the day you change theme. Haat renders the entry points and lets your plugin claim them — if no plugin has, the button simply is not shown.

The newsletter strip takes your email plugin's shortcode. Your plugin owns the subscribers.

= Performance =

* No framework, no build step, no jQuery on non-store pages
* Stylesheets split by concern, so a blog page never downloads the product-page rules
* The first hero slide is preloaded and marked high priority as the LCP element
* No font CDN. Haat calls out to nobody.

== Installation ==

1. In your WordPress admin, go to Appearance > Themes > Add New.
2. Search for "Haat", then click Install and Activate.
3. Go to Appearance > Customize > Haat options to set your colours, hero slides and storefront sections.
4. Under Appearance > Menus, assign a menu to "Category mega menu" — this is what fills the category bar.

For a store, install WooCommerce first. Haat renders as a clean editorial theme without it.

== Frequently Asked Questions ==

= Does Haat require WooCommerce? =

No. Haat works as a normal blog or business theme without it, and every commerce feature switches itself off. Install WooCommerce when you are ready to sell.

= Where do the fonts come from? =

They ship with the theme, as local woff2 files, and are never fetched from a CDN — that matters both for speed and because a font request to a third party on every page view is a GDPR problem for European merchants. Haat uses Manrope by default, with Plus Jakarta Sans also bundled; both are under the SIL Open Font License. They are variable fonts, so one 25 KB file covers every weight the theme uses. Every family is backed by a system-UI fallback, so deleting them degrades gracefully.

= Why do I see no product sections on the front page? =

They need WooCommerce, and most of them need products. The deals rail only appears when something is on sale; the brand marquee only appears when you have at least three brands.

= How do I get the category mega menu? =

Appearance > Menus, create a menu with your categories and their subcategories nested underneath, and assign it to the "Category mega menu" location. Top-level items become the triggers and their children become the panel columns.

= Can I change a single section's markup? =

Yes. Every section is a normal template in template-parts/sections/. Copy the one you want into a child theme at the same path and edit it — the rest of the theme is unaffected.

= Does the countdown timer make up deadlines? =

No. A product only gets a countdown if it has a real scheduled sale end date in WooCommerce. A sale with no end date gets no timer.

= Is Haat compatible with Dokan or WCFM? =

Yes — Haat styles their store pages and shows vendor names on product cards. It does not replace any of their functionality.

== Changelog ==

= 1.0.6 =
* Fixed: a title with no break opportunity in it (a long unbroken word) overflowed its column and was clipped rather than wrapping. Affected post titles, product titles, search results and blog cards.
* Fixed: a long site title could take the header's full width from the navigation.
* Changed: Theme URI now points at the theme's information page rather than the demo.

= 1.0.5 =
* Fixed: front-page.php now hands off to index.php when Settings > Reading is set to "Your latest posts", so the blog stays reachable at the site root.
* Removed: the storefront setup panel. Guidance for the shop owner belongs in the admin area, not on the front end.
* Fixed: the skip link now moves keyboard focus as well as scroll position.
* Added: source URLs and a complete resource list for every bundled asset in the copyright section, and the Plus Jakarta Sans notice in assets/fonts/OFL.txt.

= 1.0.1 - 1.0.4 =
* Directory submission iterations. Screenshot rebuilt from a fully populated store, escaping and internationalisation corrections, and the packaged ZIP reduced to the files the theme actually ships.

= 1.0.0 =
* Initial release.

== Copyright ==

Haat WordPress Theme, (C) 2026 Bytloop.
Haat is distributed under the terms of the GNU GPL version 2 or later.

This is the complete list of resources bundled in the theme.

Fonts
-----
Manrope
  Copyright 2018 The Manrope Project Authors
  Licence: SIL Open Font License 1.1 -- assets/fonts/OFL.txt
  Source:  https://github.com/sharanda/manrope

Plus Jakarta Sans
  Copyright 2020 The Plus Jakarta Sans Project Authors
  Licence: SIL Open Font License 1.1 -- assets/fonts/OFL.txt
  Source:  https://github.com/tokotype/PlusJakartaSans

Both are served from assets/fonts and never from a CDN, so the theme makes no
remote request on any page load.

Images
------
screenshot.png
  Copyright 2026 Bytloop. Licensed GPL-2.0-or-later, as the theme is.
  The storefront, the product artwork and the category icons in it were drawn
  for this theme; no third-party photography, logo or trademark appears in it.

Icons
-----
Every icon in the theme is a CSS shape -- a border, a mask or a pseudo-element
-- authored for this theme and covered by its GPL-2.0-or-later licence. No icon
font and no SVG icon set is bundled.

Code
----
No third-party libraries are bundled. jQuery and every other script the theme
uses is the copy that ships with WordPress.
