Nahnu Custom Theme for SureCart
Style the SureCart mini cart, checkout and customer dashboard from one settings page, with a live preview.
Install in
This is NOT an official SureCart plugin. It is an independent plugin by Nahnu Plugins. It is not made, endorsed, sponsored or supported by SureCart.
Make your SureCart store look like your brand without writing a line of CSS. Pick an accent colour, tweak the details, watch a live preview update beside the form, and save. That is the whole workflow.
What you can style
Brand
- Accent colour: used on buttons, checkboxes, radios, focus rings and selected states across the cart, checkout and dashboard. Button text colour is chosen automatically so light accents stay readable.
- Font family
- Default profile photo: upload your own image, pick one from your Media Library, or choose a built-in preset
Mini cart
- Drawer width, backdrop opacity and divider colour
- Floating cart bubble: size, shape, position, or hide it
- Checkout button radius
- Show or hide the quantity stepper and the coupon field
Checkout
- Input fields: border, hover border, background, text and placeholder colours, corner radius, shadow
- Labels: colour and weight
- Row spacing, and the look of plan and choice selectors
Account dashboard
- Page and sidebar background, sidebar width
- Cards: border, radius, shadow
- Row dividers and hover colour
- Active navigation item colours
Built to be easy
- Live preview. A cart, checkout and dashboard preview sits beside the settings and updates as you change a field. Nothing is saved until you click Save changes.
- Presets. Obsidian, Soft, Sharp and Sage fill every setting in one click, so you can start from something close to what you want.
- Export and import. Download your settings as a JSON file and import them on another site.
- Reset. Go back to the defaults at any time.
Light on your site
On the front end the plugin adds one small inline stylesheet. It loads no JavaScript, makes no external requests and sets no cookies. Its admin scripts load only on its own settings page.
Why we built it
We sell our own WordPress plugins through SureCart, and every store needed the same hand-written CSS overrides. We worked out which SureCart tokens and selectors really work, and packaged that into a settings screen. We use it on our own sites. We are sharing it for free in case it helps other SureCart store owners.
Please read: unofficial plugin
- This plugin is independent. It is not affiliated with, endorsed by or supported by SureCart. “SureCart” is used only to say which plugin this one works with. SureCart’s names and trademarks belong to their owners.
- Please do not contact SureCart for help with this plugin. If something looks wrong in your cart, checkout or dashboard, deactivate this plugin to check, then send us a report.
- It works by adding CSS and hooking WordPress filters. It does not change SureCart’s files.
- SureCart updates can change class names or design tokens in ways that affect this plugin. We test against new SureCart releases, but cannot promise compatibility with every version. Please check your store after updating.
- The default profile photo replaces the Gravatar or initial on the front end (account dashboard and customer menus). It does not change avatars in wp-admin or in comments.
- No warranty is expressed or implied. Use at your own risk.
Links
- Plugin page: https://www.nahnuplugins.com/wordpress-plugins/
- Source code and issues: https://github.com/jaimealnassim/nahnu-surecart-theme
- Nahnu Plugins: https://nahnuplugins.com
Privacy
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.
Written by Joobi from the project's own listing. See the source page
1.0.4
- Default profile photo: upload a new image straight from the picker or choose one from the Media Library (PNG, JPG, GIF or WebP; SVG is not accepted)
- The default photo is now used on the front end only. It no longer replaces avatars in wp-admin or in comments
- Only real image attachments are accepted when saving the default photo
- Tested with SureCart 4.14.0; all selectors and tokens the plugin uses were checked against it
- Readme tidy-up
1.0.3
- First WordPress.org release
- 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)
- About tab now opens with a prominent notice that this is an independent plugin, not made, endorsed or supported by SureCart
- 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
- 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
- Theme presets (Obsidian, Soft, Sharp, Sage) that fill every setting in one click; nothing is saved until you choose to
- Export settings as JSON and import them on another site; settings tabs are deep-linkable (?tab=cart)
- Mini cart themed through SureCart’s own tokens scoped to the cart wrapper; !important fallbacks only for carts customised in the Site Editor
- Floating cart bubble driven by the –sc-cart-icon-* / –sc-cart-counter-* tokens; quantity stepper at the correct specificity
- Button and bubble text colour computed for contrast with the same brightness test SureCart uses, so light accent colours stay readable
- Dashboard sidebar border uses border-inline-end to match SureCart 4.10’s RTL handling
- Font family is validated against a strict allow-list and every setting is re-validated when read, so nothing unvalidated reaches the generated CSS
- Verified against SureCart 4.10.0; passes PHP_CodeSniffer (WordPress, WordPress-Extra) and Plugin Check
- Internal: PHP prefix is now nahnu_sct_. Settings saved by earlier pre-release builds are migrated automatically on first load
1.0.0
- Initial pre-release
- Mini cart, checkout and account dashboard theming
- Default profile photo (experimental) and 6 built-in preset avatars
Follow this listing's changes (Atom feed)