Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for Auto pricing calculations #258

Open
lat9 opened this issue Sep 26, 2024 · 0 comments
Open

Remove support for Auto pricing calculations #258

lat9 opened this issue Sep 26, 2024 · 0 comments

Comments

@lat9
Copy link
Owner

lat9 commented Sep 26, 2024

The initial version of EO 5.0.0 will no longer support the "AutoSpecials" "Auto" price-calculation mode, i.e. prices calculated based on products' current values but without specials/sale pricing. That feature might be re-added in a future update, but at this point I need to remove the testing variations.

Note: I got that bass-ackwards. The "AutoSpecials" setting essentially says "calculate like the shopping cart would", which is the initial path that EO 5.0.0 is heading down.

@lat9 lat9 added the change label Sep 26, 2024
@lat9 lat9 added this to the v5.0.0 milestone Sep 26, 2024
@lat9 lat9 changed the title Remove support for AutoSpecials pricing calculations Remove support for Auto pricing calculations Sep 26, 2024
lat9 added a commit that referenced this issue Sep 27, 2024
Part of #258; processing changes will come later.

Also corrects the method name used to uninstall the plugin and, on initial install, adds the admin-pages only if they're not already present.  Otherwise, on an upgrade from a non-encapsulated version, any admin-group restrictions on EO's use will be lost.
lat9 added a commit that referenced this issue Sep 27, 2024
lat9 added a commit that referenced this issue Sep 27, 2024
* Starting to mimic storefront operations

- Add observer to report customer is logged in and whether/not in guest checkout
- Record the uprid- and opID-mappings to the ordered products.  The cart checks by uprid while the AJAX handling checks by opID.
- Add psr4autoload of the storefront shoppingCart class, since EO's cart extends that class and it, too, is session-based.

* Removing use of eo- functions, migrate to EditOrders class

- Auto-load storefront's shipping and order_total classes
- Add classes for EO's jQuery to 'grab' in the product/order-total processing.

* Simplify product/order-total entry

-Each of these element-specific changes will be pushed as a group, no need for the additional text to the names of those fields
- Order selectors alphabetically by group in the css file.
- Proof-of-concept code included in the order-totals' fields data entry fields.
- Change the order-total "Add" text to a button; the admin will fill in all applicable fields and then press the "Add" button.

* Update 'base' EO processing for 'Auto' setting removal

Also part of #258.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant