=== OZD Katalog Eklentisi ===
Contributors: sadikozdogan
Tags: catalogue, product catalogue, product gallery, gallery, shortcode
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

An accessible catalogue plugin for managing products, catalogues, and image galleries and publishing them with shortcodes.

== Description ==

OZD Catalogue Plugin lets you create product and catalogue content in WordPress. You can assign products directly to catalogues, arrange their order, and display catalogues anywhere on your site with shortcodes.

= Main features =

* Select products directly for each catalogue
* Arrange products within a catalogue
* Catalogue cover images and image galleries
* Product image galleries
* On Sale, Out of Stock, Coming Soon, and Ask for Price product statuses
* Show or hide prices for individual products
* Product search and filters for catalogue groups and product statuses
* Grid, list, and table views
* Shortcode generator in the WordPress administration area
* Front-end templates that themes can override
* Option to preserve or permanently delete plugin data during uninstall
* Automatic WordPress language mode and a plugin-specific language selector
* Bundled Turkish, English, German, French, Italian, and Spanish translations
* Duplicate products and catalogues as drafts
* Repeatable technical specifications for products
* Optional per-product contact button

= Shortcodes =

Display the product catalogue list:

`[ozdkaek_katalog_liste]`

Display products from a specific catalogue in a grid with filters:

`[ozdkaek_katalog_liste catalog_id="123" view="grid" limit="12" filters="yes"]`

Display a catalogue preview:

`[ozdkaek_katalog_onizleme catalog_id="123" limit="8"]`

= Template customization =

Copy templates from the plugin's `templates` directory to an `ozd-katalog` directory in your theme. Matching theme templates load before the plugin's default templates.

== Installation ==

1. In WordPress, go to Plugins > Add New Plugin > Upload Plugin and upload the plugin ZIP file.
2. Activate the plugin.
3. Create products and catalogues from the Product Catalogue menu.
4. Configure the currency, products per page, default view, and image size under Product Catalogue > Settings.
5. Use the Shortcode Generator to create a shortcode and add it to a post or page.

== Screenshots ==

1. Product Catalogue settings for currency, products per page, default view, image size, and uninstall behavior.
2. Catalogue Groups screen for creating and managing hierarchical product groups.
3. Add New Product screen with the product editor, catalogue groups, and product image controls.
4. Products screen for managing catalogue products and viewing their model, price, group, and date information.
5. Add New Catalogue screen with catalogue ordering and cover image controls.
6. Catalogues screen for managing published and draft catalogues.
7. Shortcode Generator for configuring catalogue output and copying the generated shortcode.

== Frequently Asked Questions ==

= Does it require WooCommerce? =

No. The plugin works independently and does not require WooCommerce.

= Can I add selected products to a catalogue? =

Yes. Select products on the catalogue editing screen and arrange their order within the catalogue.

= Can I hide prices? =

Yes. Price visibility can be configured for each product. Prices are not displayed for products with the Ask for Price status.

= Can I change the catalogue layout? =

Yes. Choose a grid, list, or table view in the settings or with the shortcode's `view` attribute.

= Can I customize the templates in my theme? =

Yes. Copy the relevant template to the `ozd-katalog` directory in your theme to customize it without modifying plugin files.

= Which languages are included? =

The plugin includes Turkish, English, German, French, Italian, and Spanish. Automatic mode follows the active WordPress locale, while the plugin language setting can override the language for this plugin only.

= Can I duplicate products and catalogues? =

Yes. Use the Duplicate row action to create a draft copy, including plugin metadata, the featured image, and assigned catalogue groups.

= Can I add technical specifications and a contact link? =

Yes. Products support repeatable specification and value rows. You can also add an optional button that links to a contact page, email address, telephone number, or messaging service.

= Does uninstalling the plugin delete its data? =

Catalogues, products, and settings are preserved by default. To remove them permanently, enable the data deletion option under Product Catalogue > Settings before uninstalling the plugin.

== Privacy ==

OZD Catalogue Plugin does not connect to external services or send visitor data to third parties. Catalogue, product, and settings data are stored in the WordPress database. Uploaded images are stored in the WordPress Media Library.

== Changelog ==

= 1.1.0 =

* Added automatic WordPress language mode and a plugin-specific language selector.
* Added Turkish, English, German, French, Italian, and Spanish translations.
* Added nonce-protected product and catalogue duplication.
* Added repeatable, sanitized product technical specifications.
* Added an optional, sanitized per-product contact button.
* Added WordPress.org screenshot descriptions for the plugin administration screens.
* Preserved all 1.0.0 post types, taxonomies, metadata, settings, shortcodes, and template override paths.

= 1.0.0 =

* Initial stable release.
* Added catalogue and product post types.
* Added direct product selection and ordering for catalogues.
* Added catalogue cover images, catalogue galleries, and product galleries.
* Added product statuses and per-product price visibility.
* Added product search and filters for catalogue groups and product statuses.
* Added grid, list, and table views.
* Added an administration shortcode generator.
* Added front-end templates that themes can override.
* Added catalogue settings and safe uninstall options.
* Improved compatibility with WordPress Coding Standards.
* Added a unique `ozdkaek` prefix for plugin-owned identifiers.
* Added custom management labels for catalogues, products, and catalogue groups.
* Removed author controls from catalogue and product editing screens.
* Hardened shortcode output with context-aware escaping and an explicit HTML allowlist.
* Added a success notice when settings are saved.
