Skip to content

moursalinislambd/Simple-WooCommerce-Warranty-System-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Simple WooCommerce Warranty System 

Description

A lightweight and powerful warranty management system for WooCommerce. Easily manage product warranties, allow customers to verify warranties, and handle warranty claims - all with a clean, minimal design.

Features

  • Product Warranty Badge - Automatically shows warranty period on product pages

  • Warranty Verification - Customers can verify warranties by number, email, or phone

  • My Account Integration - Customers see all their warranties in one place

  • Claim System - File and track warranty claims directly from dashboard

  • Admin Panel - Full control over warranties and claims

  • CSV Export - Export warranties and claims data

  • Clean Design - Minimal and modern UI that matches any theme

  • Lightweight - No bloat, fast loading

Installation

Via WordPress Admin

  1. Download the plugin zip file

  2. Go to WordPress Admin → Plugins → Add New

  3. Click "Upload Plugin" and select the zip file

  4. Click "Install Now" and then "Activate"

Manual Installation

  1. Upload the simple-woocommerce-warranty folder to /wp-content/plugins/

  2. Go to WordPress Admin → Plugins

  3. Find "Simple WooCommerce Warranty System" and click "Activate"

Usage

1. Enable Warranty for Products

Edit any product and scroll to Product Data section:

  • Check "Enable Warranty"

  • Enter warranty period in months

  • Update product

2. Product Page Display

The warranty badge appears automatically:

text

Plain textANTLR4BashCC#CSSCoffeeScriptCMakeDartDjangoDockerEJSErlangGitGoGraphQLGroovyHTMLJavaJavaScriptJSONJSXKotlinLaTeXLessLuaMakefileMarkdownMATLABMarkupObjective-CPerlPHPPowerShell.propertiesProtocol BuffersPythonRRubySass (Sass)Sass (Scss)SchemeSQLShellSwiftSVGTSXTypeScriptWebAssemblyYAMLXML 🔧 12 Month Warranty

You can also use shortcode:

php

Plain textANTLR4BashCC#CSSCoffeeScriptCMakeDartDjangoDockerEJSErlangGitGoGraphQLGroovyHTMLJavaJavaScriptJSONJSXKotlinLaTeXLessLuaMakefileMarkdownMATLABMarkupObjective-CPerlPHPPowerShell.propertiesProtocol BuffersPythonRRubySass (Sass)Sass (Scss)SchemeSQLShellSwiftSVGTSXTypeScriptWebAssemblyYAMLXML [product_warranty]

Custom text:

php

Plain textANTLR4BashCC#CSSCoffeeScriptCMakeDartDjangoDockerEJSErlangGitGoGraphQLGroovyHTMLJavaJavaScriptJSONJSXKotlinLaTeXLessLuaMakefileMarkdownMATLABMarkupObjective-CPerlPHPPowerShell.propertiesProtocol BuffersPythonRRubySass (Sass)Sass (Scss)SchemeSQLShellSwiftSVGTSXTypeScriptWebAssemblyYAMLXML [product_warranty text="%s months coverage"]

3. Warranty Verification Page

A "Warranty Verification" page is automatically created. Customers can verify by:

  • Warranty Number

  • Email Address

  • Phone Number

Shortcode (if needed):

php

Plain textANTLR4BashCC#CSSCoffeeScriptCMakeDartDjangoDockerEJSErlangGitGoGraphQLGroovyHTMLJavaJavaScriptJSONJSXKotlinLaTeXLessLuaMakefileMarkdownMATLABMarkupObjective-CPerlPHPPowerShell.propertiesProtocol BuffersPythonRRubySass (Sass)Sass (Scss)SchemeSQLShellSwiftSVGTSXTypeScriptWebAssemblyYAMLXML [warranty_verification]

4. My Account - Warranties

Customers can access "My Warranties" from their account dashboard:

  • View all warranties

  • Check expiry dates

  • File claims

  • Track claim status

5. Filing a Claim

From My Warranties:

  1. Click "File Claim" on any active warranty

  2. Select claim type

  3. Describe the issue

  4. Submit

6. Admin Management

Warranties

  • Go to WordPress Admin → Warranties

  • View all warranties

  • Add new warranties

  • Edit/delete existing ones

  • Search by warranty number, customer name, or email

  • Export to CSV

Claims

  • Go to WordPress Admin → Warranties → Claims

  • View all claims

  • Update claim status (Pending, Processing, Approved, Rejected, Completed)

  • Add admin notes

  • Export to CSV

Shortcodes

[product_warranty] Show warranty badge on product page

[product_warranty text="Custom text %s months"]Custom warranty text

[warranty_verification] Show verification formAutomatic Warranty Registration

When an order is completed:

  1. Plugin checks if products have warranty enabled

  2. Automatically creates warranty records

  3. Generates unique warranty numbers

  4. Links warranty to customer account

Warranty number format: WRN-{ORDER_ID}-{PRODUCT_ID}-{TIMESTAMP}Claim Status Flow

text

Plain textANTLR4BashCC#CSSCoffeeScriptCMakeDartDjangoDockerEJSErlangGitGoGraphQLGroovyHTMLJavaJavaScriptJSONJSXKotlinLaTeXLessLuaMakefileMarkdownMATLABMarkupObjective-CPerlPHPPowerShell.propertiesProtocol BuffersPythonRRubySass (Sass)Sass (Scss)SchemeSQLShellSwiftSVGTSXTypeScriptWebAssemblyYAMLXML Pending → Processing → Approved/Rejected → Completed

  • Pending - Initial state when claim is submitted

  • Processing - Admin is reviewing the claim

  • Approved - Claim approved for resolution

  • Rejected - Claim rejected with reason

  • Completed - Claim resolved

FAQ

Q: Do I need WooCommerce?

A: Yes, this plugin requires WooCommerce to be installed and activated.

Q: Can customers register warranties manually?

A: Currently, warranties are automatically registered from completed orders. Manual registration is available only in admin panel.

Q: How are warranty numbers generated?

A: Format: WRN-{ORDER_ID}-{PRODUCT_ID}-{TIMESTAMP} (e.g., WRN-123-45-1645678900)

Q: Can customers file multiple claims?

A: Yes, customers can file multiple claims for the same warranty.

Q: What happens when warranty expires?

A: Expired warranties are marked in red and claim buttons are disabled.

Q: Can I export warranty data?

A: Yes, admin can export both warranties and claims to CSV format.

Q: Is the plugin translation ready?

A: Yes, all text strings are ready for translation.

🐛 Troubleshooting

Warranty not showing on product page

  • Ensure product has warranty enabled

  • Check warranty months is greater than 0

  • Clear any caching plugins

Verification page not found

  • Go to Settings → Permalinks

  • Click "Save Changes" to flush rewrite rules

  • The page should appear at /warranty-verification

Claim submission fails

  • Make sure you're logged in

  • Check warranty is still active

  • Ensure all form fields are filled

Changelog

Version 1.0.0

  • Initial release

  • Product warranty badge with compact design

  • Warranty verification by number/email/phone

  • My Account warranty dashboard

  • Claim filing system

  • Admin management panel

  • CSV export functionality

  • Clean, minimal styling

License

GPL v2 or later - See LICENSE file for details.

About

A lightweight and powerful warranty management system for WooCommerce. Easily manage product warranties, allow customers to verify warranties, and handle warranty claims - all with a clean, minimal design.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages