Enhance Spree Admin with Price Lists and Price list Items management#17
Closed
JustShah wants to merge 8 commits into
Closed
Enhance Spree Admin with Price Lists and Price list Items management#17JustShah wants to merge 8 commits into
JustShah wants to merge 8 commits into
Conversation
…-actions-permission Revert "GH: Allow backport workflow to trigger actions"
Created a new association between Product and Brand Taxon using the existing Taxon model.
Updated the product form for primary taxon and modified the related jQuery to display and select a specific taxon.
Updated the product form for `brand taxon` and modified the related jQuery to display and select a specific taxon.
Added associations in Spree::Price model for price lists and price list items to enable dynamic pricing capabilities. Created Spree::PriceList model with associations to price list items and prices, allowing for flexible price management. Created Spree::PriceListItem model with associations to price lists and prices to link individual prices to specific price lists. Updated locale files to include translations for price lists and price list items to ensure proper localization. Added migrations to create spree_price_lists and spree_price_list_items tables to store the new data structures.
84f73fd to
0c6af2a
Compare
- Introduced PriceListsController to handle price list operations. - Created views for managing price lists, including: - New price list form (`new.html.erb`) - Price list edit form (`edit.html.erb`) - Price list index view (`index.html.erb`) - Partial views for price list form fields and price list information. - Implemented form fields for name, country, currency, and tax inclusion. - Added functionality to display price details associated with each price list. - Included breadcrumb navigation for better user experience in the admin panel. This feature allows administrators to create, edit, and manage price lists effectively, enhancing the overall product pricing strategy.
- Introduced PriceListItemsController to handle price list item operations. - Created views for managing price list items, including: - New price list item form (`new.html.erb`) - Price list item edit form (`edit.html.erb`) - Partial view for price list item form fields. - Implemented functionality to associate price list items with specific price lists and variants. - Added support for entering price details, including amount and currency. - Enhanced breadcrumb navigation for better user experience in the admin panel. This feature allows administrators to create, edit, and manage price list items, facilitating more flexible pricing strategies for products within the Spree application.
- Updated product sub-menu to include a link to price lists if the user has admin permissions. - Added routes for managing price lists and their associated price list items. - Updated backend configuration to include price lists in the admin menu, ensuring proper access control based on user permissions. These enhancements improve the organization of the admin interface, making it easier for administrators to manage price lists effectively.
0c6af2a to
d515d0f
Compare
Author
|
Created a new independent and improved PR: #21 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces several enhancements to the Spree Admin interface, allowing for more efficient management of pricing.
Key Changes:
Price List Management:
Price List Items:
Improved Navigation:
These enhancements improve the overall organization of the admin interface, making it easier for administrators to manage prices effectively.
Benefits: