Products' Options' Stock Manager: Price/Weight Extension (POSM-PW)

Version 2.3.1

Copyright © 2015-2024, Vinos de Frutas Tropicales, contact me here. Current Support Thread on GitHub: https://github.com/lat9/options_stock_support

Overview

This plugin extends the functionality of the Products' Options' Stock Manager, enabling you to specify the price, weight and, starting with POSM-PW v1.1.0, quantity-discount values for each product option-combination. When you enter those quantity-discount values, be sure to set the POSM-PW price field to 0 for the discounted price to be correctly calculated.

Notes:

  1. Requires the prior installation of v4.4.0 (or later) of the Products' Options' Stock Manager plugin.
  2. Notes:
    1. This plugin has not been validated to operate with the Edit Orders plugin!
    2. Zen Cart versions 1.5.7a, 1.5.8, 1.5.8a and 2.0.0 are supported.
    3. A minimum POSM version of v4.4.0 is required.
    4. Validated on PHP versions 7.3 through 8.3.
    5. Starting with v2.2.0:
      1. Support is added to enable the "Attributes Quantity Discounts" table to be displayed in the ZCA Bootstrap Template, v3.4.1 and later.

Installing, Upgrading or Uninstalling

This section identifies the processes you'll use to initially install POSM-PW or uninstall POSM-PW entirely. There's also a section that identifies the database changes made by the plugin's installation.

Installation

The details of this section are provided when you purchase the plugin.

Uninstalling

The details of this section are provided when you purchase the plugin.

Database Changes

The details of this section are provided when you purchase the plugin.

Change History

This section contains the plugin's version-history and an association of files changed in each version.

Version History

File/Database History by Version

Legend for the File Changes: Changed — AddedRemovedCore FileTemplate-Override

Version Files Changed/Added Database Changes
v2.3.1
  • /YOUR_ADMIN/includes/classes/observers/class.posm_price_weight_admin_observer.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
v2.3.0
  • /includes/templates/YOUR_TEMPLATE/jscript/jscript_posm_price_weight.php
  • /YOUR_ADMIN/includes/classes/observers/class.posm_price_weight_admin_observer.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
  • /YOUR_ADMIN/includes/languages/english/posm_price_weight.php
v2.2.0
  • /includes/classes/observers/class.posm_price_weight_observer.php
  • /includes/functions/posm_price_weight_functions.php
  • /includes/templates/bootstrap/modalboxes/popup_attributes_qty_prices_posmpw.php
  • /includes/templates/YOUR_TEMPLATE/popup_attributes_qty_prices/tpl_main_page_posm_pw.php
  • /YOUR_ADMIN/includes/classes/observers/class.posm_price_weight_admin_observer.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
  • /YOUR_ADMIN/includes/languages/english/posm_price_weight.php
  • /YOUR_ADMIN/includes/javascript/products_options_stock_posmpw.js
  • /YOUR_ADMIN/includes/javascript/products_options_stock_view_all_posmpw.js
  1. Updated the description of the Price/Weight: Product's Base Price CSS Selector configuration setting to identify the value needed for the Bootstrap template.
v2.1.0
  • /includes/classes/observers/class.posm_price_weight_observer.php
  • /includes/templates/YOUR_TEMPLATE/css/popup_attributes_qty_prices.css
  • /includes/templates/YOUR_TEMPLATE/jscript/jscript_posm_price_weight.php
  • /includes/templates/YOUR_TEMPLATE/popup_attributes_qty_prices/tpl_main_page.php
  • /includes/templates/YOUR_TEMPLATE/popup_attributes_qty_prices/tpl_main_page_posm_pw.php
  • /YOUR_ADMIN/includes/classes/observers/class.posm_price_weight_admin_observer.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
  • /YOUR_ADMIN/includes/languages/english/extra_definitions/posm_price_weight_extra_definitions.php
  • /YOUR_ADMIN/includes/javascript/product_posmpw.php
  • /zc155/*.*
  • /zc156/*.*
v2.0.1
  • /includes/classes/observers/class.posm_price_weight_observer.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
v2.0.0
  • /includes/classes/observers/class.posm_price_weight_observer.php
  • /includes/functions/posm_price_weight_functions.php
  • /YOUR_ADMIN/includes/classes/observers/class.posm_price_weight_admin_observer.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
  • /zc155/includes/classes/shopping_cart.php (Moved)
  • /zc155/includes/functions/functions_prices.php (Moved, Updated)
  • /zc155/includes/modules/YOUR_TEMPLATE/attributes.php (Moved, Updated, this is the zc155f version of the file)
  • /zc155/YOUR_ADMIN/includes/classes/object_info.php (Moved)
  • /zc155/YOUR_ADMIN/includes/functions/functions_prices.php (Moved)
  • /zc155/YOUR_ADMIN/includes/modules/product/collect_info.php (Moved, Updated)
  • /zc156/includes/classes/shopping_cart.php (Added, this is the zc156b version of the file)
  • /zc156/includes/functions/functions_lookups.php (Added, this is the zc156b version of the file)
  • /zc156/includes/functions/functions_prices.php (Added, this is the zc156b version of the file)
  • /zc156/YOUR_ADMIN/includes/functions/functions_prices.php (Added, this is the zc156b version of the file)
  • /zc156/YOUR_ADMIN/includes/modules/product/collect_info.php (Added)
v1.1.0
  • /includes/auto_loaders/paypal_ipn.products_options_stock_pw.php
  • /includes/classes/shopping_cart.php
  • /includes/classes/observers/class.posm_price_weight_observer.php
  • /includes/functions/posm_price_weight_functions.php
  • /includes/modules/YOUR_TEMPLATE/attributes.php (This is the Zen Cart 1.5.5e version of the file)
  • /includes/templates/YOUR_TEMPLATE/css/popup_attributes_qty_prices.css
  • /includes/templates/YOUR_TEMPLATE/popup_attributes_qty_prices/tpl_main_page.php (Added)
  • /includes/templates/YOUR_TEMPLATE/popup_attributes_qty_prices/tpl_main_page_posm_pw.php
  • /YOUR_ADMIN/includes/classes/observers/class.posm_price_weight_admin_observer.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
  • /YOUR_ADMIN/includes/languages/english/posm_price_weight.php
  1. Added the attributes_qty_prices field to the products_options_stock database table.
v1.0.2
  • /includes/classes/shopping_cart.php
  • /includes/classes/observers/class.posm_price_weight_observer.php
  • /includes/functions/functions_prices.php
  • /includes/languages/english/extra_definitions/posm_price_weight_extra_definitions.php (Added)
  • /includes/templates/YOUR_TEMPLATE/jscript/jscript_posm_price_weight.php (Added)
  • /YOUR_ADMIN/includes/classes/object_info.php (Added)
  • /YOUR_ADMIN/includes/functions/functions_prices.php
  • /YOUR_ADMIN/includes/init_includes/init_posm_price_weight_admin.php
  • /YOUR_ADMIN/includes/modules/product/collect_info.php
  1. Added Configuration->Options' Stock Manager->Price/Weight: Admin Price Field Width
v1.0.1
  • /includes/classes/observers/class.posm_price_weight_observer.php