{"id":404359,"date":"2026-11-26T08:10:23","date_gmt":"2026-11-26T08:10:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/nahnu-custom-theme-for-surecart\/"},"modified":"2026-11-26T08:10:14","modified_gmt":"2026-11-26T08:10:14","slug":"nahnu-surecart-theme","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/nahnu-surecart-theme\/","author":14745143,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"1.0.3","tested":"7.1.5","requires":"6.0","requires_php":"8.0","requires_plugins":null,"header_name":"Nahnu Custom Theme for SureCart","header_author":"ja1me4","header_description":"Unofficial proof-of-concept plugin by Nahnu Plugins. Themes the SureCart mini cart, checkout, and account dashboard to match your brand \u2014 accent color, inputs, sidebar, and more \u2014 no CSS required.","last_updated":"2026-11-26 08:10:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.nahnuplugins.com\/wordpress-plugins\/","header_author_uri":"https:\/\/www.nahnuplugins.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":23,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"ja1me4","date":"2026-11-26 08:10:14","revision":3825877}},"upgrade_notice":{"1.0.3":"<p>First WordPress.org release. Settings from earlier builds are migrated automatically.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3825877,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3825877,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3825877,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3825877,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3825877,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3825877,"resolution":"1","location":"assets","locale":"","width":2400,"height":1500},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3825877,"resolution":"2","location":"assets","locale":"","width":2400,"height":1500},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3825877,"resolution":"3","location":"assets","locale":"","width":2400,"height":1500},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3825877,"resolution":"4","location":"assets","locale":"","width":2400,"height":1500},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3825877,"resolution":"5","location":"assets","locale":"","width":2400,"height":1500},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3825877,"resolution":"6","location":"assets","locale":"","width":2400,"height":1500}},"screenshots":{"1":"Brand tab: accent colour, font and default profile photo, with the live cart preview beside it.","2":"Presets recolour every setting at once; nothing is saved until you click Save changes.","3":"Checkout tab: input fields, labels and plan selectors, previewed on a checkout form.","4":"Account tab: sidebar, cards, rows and navigation, previewed on the customer dashboard.","5":"Presets &amp; Tools: starting points, plus JSON export and import to move settings between sites.","6":"About tab: our other plugins and a notice that this is an independent plugin, not made or endorsed by SureCart."}},"plugin_section":[],"plugin_tags":[3047,3148,2759,218637,1141],"plugin_category":[43,45],"plugin_contributors":[267678],"plugin_business_model":[],"class_list":["post-404359","plugin","type-plugin","status-publish","hentry","plugin_tags-cart","plugin_tags-checkout","plugin_tags-customization","plugin_tags-surecart","plugin_tags-theme","plugin_category-customization","plugin_category-ecommerce","plugin_contributors-ja1me4","plugin_committers-ja1me4"],"banners":{"banner":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/banner-772x250.png?rev=3825877","banner_2x":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/banner-1544x500.png?rev=3825877","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/icon.svg?rev=3825877","icon":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/icon.svg?rev=3825877","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/screenshot-1.png?rev=3825877","caption":"Brand tab: accent colour, font and default profile photo, with the live cart preview beside it."},{"src":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/screenshot-2.png?rev=3825877","caption":"Presets recolour every setting at once; nothing is saved until you click Save changes."},{"src":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/screenshot-3.png?rev=3825877","caption":"Checkout tab: input fields, labels and plan selectors, previewed on a checkout form."},{"src":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/screenshot-4.png?rev=3825877","caption":"Account tab: sidebar, cards, rows and navigation, previewed on the customer dashboard."},{"src":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/screenshot-5.png?rev=3825877","caption":"Presets &amp; Tools: starting points, plus JSON export and import to move settings between sites."},{"src":"https:\/\/ps.w.org\/nahnu-surecart-theme\/assets\/screenshot-6.png?rev=3825877","caption":"About tab: our other plugins and a notice that this is an independent plugin, not made or endorsed by SureCart."}],"raw_content":"<!--section=description-->\n<p><strong>UNOFFICIAL \u2014 Not affiliated with, endorsed by, or supported by SureCart.<\/strong><\/p>\n\n<p>GitHub: https:\/\/github.com\/jaimealnassim\/nahnu-surecart-theme<\/p>\n\n<p>A proof-of-concept WordPress plugin built by Nahnu Plugins (https:\/\/nahnuplugins.com) for SureCart-powered websites. Theme your SureCart mini cart, checkout page, and customer account dashboard from a single settings page \u2014 no CSS knowledge required.<\/p>\n\n<p>We built this because we run a lot of SureCart sites for fitness coaches and agencies in the MENA region, and SureCart has no native theming layer. This plugin documents which CSS custom properties actually work, which elements are plain DOM vs Shadow DOM, and packages everything into a settings UI.<\/p>\n\n<p>We are sharing this publicly and plan to send it to the SureCart team in the hope that it inspires a native theming feature inside SureCart itself. Until then, this is a free community solution \u2014 open to use, fork, and build on.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Accent color \u2014 flows through buttons, checkboxes, radios, focus rings, and selected states<\/li>\n<li>Font family override<\/li>\n<li>Mini cart drawer width, backdrop opacity, transition speed<\/li>\n<li>Floating cart bubble \u2014 size, position, shape, show\/hide<\/li>\n<li>Checkout input field styles \u2014 border, radius, background, colors, label weight<\/li>\n<li>Account dashboard sidebar, cards, and navigation tab styles<\/li>\n<li>Default profile photo (proof of concept \u2014 see disclaimer)<\/li>\n<\/ul>\n\n<h4>Disclaimer<\/h4>\n\n<p>This is an unofficial, community-built plugin. It is NOT affiliated with, endorsed by, or supported by SureCart or Automattic in any way.<\/p>\n\n<p>SureCart updates may change class names, CSS tokens, or DOM structure in ways that affect this plugin. Test thoroughly before using on production sites.<\/p>\n\n<p>The Default Profile Photo feature is a proof of concept. SureCart's dashboard template currently wraps the avatar URL with esc_url() which prevents custom image URLs from loading. A SureCart template update would be needed for this feature to work fully on the customer dashboard.<\/p>\n\n<p>No warranty is expressed or implied. Use at your own risk.<\/p>\n\n<h4>Technical Notes<\/h4>\n\n<p>SureCart's mini cart is plain DOM (blocks-next). Checkout uses Stencil Shadow DOM \u2014 styled via CSS custom properties at :root which cross the shadow boundary. The account dashboard is a WordPress page template with a plain DOM shell.<\/p>\n\n<p>All CSS rules include source comments indicating which SureCart 4.2.2 source file the selector or token was verified against.<\/p>\n\n<h4>Links<\/h4>\n\n<ul>\n<li>Plugin page: https:\/\/www.nahnuplugins.com\/wordpress-plugins\/<\/li>\n<li>GitHub: https:\/\/github.com\/jaimealnassim\/nahnu-surecart-theme<\/li>\n<li>Nahnu Plugins: https:\/\/nahnuplugins.com<\/li>\n<\/ul>\n\n<h3>Privacy<\/h3>\n\n<p>This plugin does not collect, store or transmit any personal data, and it does not connect to any external service. Settings are stored in a single option in your WordPress database and are removed when the plugin is deleted.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the ZIP from https:\/\/github.com\/jaimealnassim\/nahnu-surecart-theme<\/li>\n<li>Go to Plugins &gt; Add New &gt; Upload Plugin<\/li>\n<li>Upload the ZIP and activate<\/li>\n<li>Go to Settings &gt; Custom Theme for SureCart<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20an%20official%20surecart%20plugin%3F\"><h3>Is this an official SureCart plugin?<\/h3><\/dt>\n<dd><p>No. This is an unofficial community plugin built by Nahnu Plugins. It is not affiliated with, endorsed by, or supported by SureCart.<\/p><\/dd>\n<dt id=\"will%20this%20work%20with%20future%20surecart%20versions%3F\"><h3>Will this work with future SureCart versions?<\/h3><\/dt>\n<dd><p>It is tested against SureCart 4.2.2 and 4.10.0. SureCart updates may change internal class names or CSS tokens. We maintain the plugin against the latest release but cannot guarantee compatibility with every version.<\/p><\/dd>\n<dt id=\"why%20doesn%27t%20the%20default%20avatar%20show%20on%20the%20dashboard%3F\"><h3>Why doesn't the default avatar show on the dashboard?<\/h3><\/dt>\n<dd><p>This is a known limitation. SureCart's dashboard template passes the avatar URL through WordPress's esc_url() function, which strips URLs that don't match standard protocols. A SureCart template update would be needed for the avatar to display. The feature works as a proof of concept and we plan to share this finding with the SureCart team.<\/p><\/dd>\n<dt id=\"where%20can%20i%20report%20issues%20or%20contribute%3F\"><h3>Where can I report issues or contribute?<\/h3><\/dt>\n<dd><p>GitHub: https:\/\/github.com\/jaimealnassim\/nahnu-surecart-theme<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>First WordPress.org release<\/li>\n<li>New About tab: who we are, why we built this for our own SureCart-powered plugin sites, and links to our other plugins (plain links, no requests made)<\/li>\n<li>About tab now opens with a prominent notice that this is an independent plugin, not made, endorsed or supported by SureCart<\/li>\n<li>Settings screen with a sticky top bar (section tabs, save state, Save\/Reset always in reach), inspector-style rows and a half-width live preview<\/li>\n<li>Live preview of the mini cart, checkout and account dashboard, built from SureCart 4.10's own class names and stylesheet rules; every field change re-renders it<\/li>\n<li>Theme presets (Obsidian, Soft, Sharp, Sage) that fill every setting in one click; nothing is saved until you choose to<\/li>\n<li>Export settings as JSON and import them on another site; settings tabs are deep-linkable (?tab=cart)<\/li>\n<li>Mini cart themed through SureCart's own tokens scoped to the cart wrapper; !important fallbacks only for carts customised in the Site Editor<\/li>\n<li>Floating cart bubble driven by the --sc-cart-icon-* \/ --sc-cart-counter-* tokens; quantity stepper at the correct specificity<\/li>\n<li>Button and bubble text colour computed for contrast with the same brightness test SureCart uses, so light accent colours stay readable<\/li>\n<li>Dashboard sidebar border uses border-inline-end to match SureCart 4.10's RTL handling<\/li>\n<li>Font family is validated against a strict allow-list and every setting is re-validated when read, so nothing unvalidated reaches the generated CSS<\/li>\n<li>Verified against SureCart 4.10.0; passes PHP_CodeSniffer (WordPress, WordPress-Extra) and Plugin Check<\/li>\n<li>Internal: PHP prefix is now nahnu_sct_. Settings saved by earlier pre-release builds are migrated automatically on first load<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial pre-release<\/li>\n<li>Mini cart, checkout and account dashboard theming<\/li>\n<li>Default profile photo (experimental) and 6 built-in preset avatars<\/li>\n<\/ul>","raw_excerpt":"Unofficial proof-of-concept plugin by Nahnu Plugins that themes the SureCart mini cart, checkout, and account dashboard to match your brand.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/404359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=404359"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ja1me4"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=404359"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=404359"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=404359"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=404359"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=404359"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=404359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}