=== Product Warranty System ===
Contributors: ferdaussk
Donate link: https://lotussk.com/
Tags: warranty, product warranty, woocommerce, product registration, guarantee
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A complete Product Warranty System plugin that allows customers to register products, view warranty status, and manage warranties from their account.

== Description ==

The **Product Warranty System (PRODWASY)** is a WordPress plugin designed to simplify product warranty management for both customers and site administrators.  

**Key Features:**
- Product registration by customers.
- Warranty validation system (based on purchase/serial number).
- User dashboard to view warranty status of registered products.
- Admin panel for managing product warranties.
- Customizable warranty periods (days, months, years).
- Works with WooCommerce or standalone product entries.
- Shortcodes to display warranty forms and product lists.

**Use Case:**
Perfect for electronic shops, appliance stores, or any business selling products with warranty coverage.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/product-warranty-system` directory, or install via the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **Warranty Settings** under the WordPress admin menu to configure the plugin.
4. Use the provided shortcodes:
   - `[prodwasy_register_product]` → Show product registration form.
   - `[prodwasy_my_warranties]` → Show user's registered products & warranty status.
   - `[prodwasy_check_warranty]` → Show warranty validation form.

== Frequently Asked Questions ==

= Does this plugin work with WooCommerce? =
Yes, it can fetch product data from WooCommerce, but it also works independently.

= Can users register products without logging in? =
No. For security and warranty management, only logged-in users can register products.

= How can I customize the warranty duration? =
From the plugin settings page, you can define warranty duration (e.g., 6 months, 1 year, etc.).

= Can admins see all registered products? =
Yes, admins have access to the entire warranty database in the dashboard.

== Screenshots ==

1. **Product Registration Form** – Frontend form for customers to register their product.
2. **User Dashboard** – Customers can view registered products and warranty status.
3. **Admin Panel** – Admins manage warranties and check validity.
4. **Warranty Validation Form** – Public form for checking warranty using serial number/order ID.

== Changelog ==

= 1.0.0 =
* Initial release of Product Warranty System.
* Product registration and warranty management.
* User dashboard integration.
* Warranty check via shortcode.
* Admin panel for managing warranties.

== Upgrade Notice ==

= 1.0.0 =
First release – provides core warranty management features.

== Shortcodes ==

- `[prodwasy_register_product]` → Displays a product registration form.
- `[prodwasy_my_warranties]` → Displays the logged-in user’s registered products.
- `[prodwasy_check_warranty]` → Displays warranty check form for product verification.

== License ==

This plugin is licensed under the GPL v2 or later. You are free to modify and redistribute it under the same license.
