New Options Attributes Stock Addon

Open to all! Ask other shopowners for help.
Post Reply
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

New Options Attributes Stock Addon

Post by raiwa »

app.php/addons/paid_addon/options_attributes_stock/

The Options & Attributes Stock addon extends the standard PhoenixCart inventory system by adding flexible stock control for individual product options and attributes. It is designed for products where a single option (such as ring size, chain length, or clothing size) requires its own inventory management.
Features

Four Stock Tracking Modes

Untracked – Option and attribute stock is not monitored.
Product Attribute Tracking – Stock is managed individually for each product attribute. The attribute values are linked to their corresponding entries on the Product Attributes page. (Limited to one option per product)
Attribute Value Tracking – Stock is managed by the attribute value itself, allowing the same value to be shared across multiple products. Values are linked to the Product Attributes page.
Referenced Product Tracking – Stock is managed by a separate product. Each attribute value is linked to a product in Categories/Products, allowing multiple products to share the same inventory.

Automatic Stock Validation
Prevents customers from purchasing attribute values that are out of stock.
Keeps inventory accurate throughout the shopping and checkout process.
Includes a Pi Layout module which replaces the PhoenixCart core Options & Attributes module
Optional setting to show attributes in drop-down menus or radio button groups.
Optional setting to show out-of-stock attributes.
Optional setting to show available attribute stock.
Optional setting to disable zero-stock attributes.
Optional setting for options attributes image support.
Optional setting for options attributes weight support.

Flexible Inventory Management
Choose the most appropriate tracking method for each product option.
Ideal for managing sizes, lengths, dimensions, or similar single-option inventories.

Typical Use Cases

The Options & Attributes Stock addon is suitable for products where a specific option requires independent inventory management.
Examples

Jewellery
A sterling silver ring can use Product Attribute Tracking for available ring sizes, allowing each size to have its own stock level.
Different stone types can be created as separate products, each with its own images, pricing, and inventory. These products can then be displayed using the PhoenixCart Related Products Addon and its integrated layout module.
A pendant can use Attribute Value Tracking for additional options such as different silver chain types (for example, snake chain, box chain, or other chain styles) when these chains are only offered as selectable options and their stock is managed independently from the pendant.
If the same chains are also sold separately as products, Referenced Product Tracking can be used instead, linking the pendant's chain options directly to the corresponding chain products. This allows the same inventory to be shared between pendant selections and standalone chain sales.
Household Appliances
A kitchen fume extractor can use Attribute Value Tracking for optional mounting or installation kits.
The same kit values can be used across different appliance products while maintaining their own stock levels, without requiring each kit to be created as a separate product.
Footwear
Shoes can use Product Attribute Tracking for available shoe sizes, ensuring that each size has its own inventory level.
Different colours or models can be managed as separate products when they require individual images, prices, or stock control.

Admin Stock Report Page

The Options & Attributes Stock Report provides a technical overview of product stock and tracked option/attribute stock levels.
Features

Optional Categories and Manufacturer filter.
Displays the current stock quantity of each product.
Highlights products and attribute stock levels below the configured Stock Re-order Level in Admin → Configuration → Stock.
Shows stock-controlled option and attribute entries linked to their corresponding stock source:
Product Attribute Tracking – Stock is controlled by the product attribute, with values linked to the corresponding entries on the Product Attributes page.
Attribute Value Tracking – Stock is controlled by the attribute value, with values linked to the corresponding entries on the Product Attributes page.
Referenced Product Tracking – Stock is controlled by the referenced product, with values linked to the corresponding product entries on the Categories/Products page.
Untracked – Option/attribute stock is not tracked.
Groups product stock and option/attribute stock information in a single overview.
Provides a direct view of the stock source used for each tracked option or attribute.

Optional Support

Attributes_weight
Options Images
Wholesale Lite
Wholesale Pro
Ajax Attributes Manager

Note: When using the Ajax Attributes Manager, only the Stock values for Attributes Stock Track are available. Adding and managing tracked options is performed on the Products Attributes page.

Note: To use any of the optional features listed above, the main Options & Attributes Stock addon must be installed.


Requirements:

Phoenix 1.1.0.0+ (tested with Phoenix 1.1.0.7)
PHP 7.0 - 8.5
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply