=== CodeStap Affiliate Importer for BigBasket ===
Contributors: CodeStap, muhammadfarhanatif
Donate link: https://bigbasket.pk/
Tags: affiliate, bigbasket, product importer, ecommerce, rest api
Requires at least: 6.3
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Import BigBasket products into WordPress as a custom post type and manage affiliate product listings using configurable BigBasket REST API endpoints.

== Description ==

CodeStap Affiliate Importer for BigBasket makes it easy to import and manage BigBasket products in WordPress for affiliate websites.

The plugin imports products from the BigBasket REST API into a custom post type, automatically creates product categories and brands, and stores product information using WordPress custom fields and taxonomies.

Features include:

* Import products from the BigBasket REST API.
* Register a dedicated custom post type for affiliate products.
* Automatically import product categories and brands.
* Configure API endpoints from the WordPress admin dashboard.
* Search and bulk import products from the admin interface.
* Update imported products using AJAX.
* Store product metadata using the `bbaff_` naming convention.
* Developer-friendly architecture following WordPress coding standards.

== Installation ==

1. Upload the `codestap-affiliate-importer-bigbasket` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **BB Products → API Settings**.
4. Enter your BigBasket Products, Categories, and Brands API endpoints.
5. Open **BB Products → Product Import** to search for and import products.

== Frequently Asked Questions ==

= How do I configure the API URLs? =

Navigate to **BB Products → API Settings** and enter the Products, Categories, and Brands API endpoint URLs.

= Where are imported products stored? =

Products are imported into the `bbaff_product` custom post type.

= Can I update imported products? =

Yes. Open any imported product in the WordPress admin and use the **Update Product Data** option to fetch the latest information from the API.

= Does the plugin create categories and brands automatically? =

Yes. Product categories and brands are imported and assigned using custom taxonomies.

== Screenshots ==

1. API Settings page.
2. Product Import page with search filters.
3. Imported product edit screen.
4. Product listing in the WordPress admin.

== Changelog ==

= 1.0.0 =

* Initial release.
* Import products from the BigBasket REST API.
* Configurable API endpoint settings.
* Bulk product import interface.
* AJAX-powered product updates.
* Automatic category and brand import.
* Custom post type and taxonomy support.

== Upgrade Notice ==

= 1.0.0 =

Initial release.