Comments (4)
I am not going to include price adjustments to the implementation of these simple attributes. There will be two ways of implementing them: you could build your own attributes that do include price adjustments (thus imposing your own rules), or you could build price providers that could map attribute values to price adjustments.
The guiding principle here is to keep extensibility points for the more complex scenarios, but to keep the default implementation as simple as possible while enough for simple scenarios.
from orchardcore.commerce.
As a first step, I'm implementing the following attribute field types:
- Boolean: has a hint and default value
- Numeric: has a hint, default value, required, placeholder text, number of decimal places (0 is integer), minimum and maximum values.
- Text / Enumeration: has a hint, default value, required, placeholder, predefined values, restrict to predefined values, allows multiple values.
from orchardcore.commerce.
Q: should the text/enum attribute allow for per product allowed values overrides?
from orchardcore.commerce.
#31 has a discussion that is relevant to this.
from orchardcore.commerce.
Related Issues (20)
- Catalog navigation and Search (OCC-192) HOT 4
- Upgrade to Orchard Core 1.9 once it's released and remove Newtonsoft.Json from the code base (OCC-194) HOT 3
- Boolean product attributes not stored in the order screen. (OCC-195) HOT 1
- Product Attributes should display the field label or name instead in cart and order display (OCC-196)
- Cloudsmith publishing is broken (OCC-197) HOT 1
- Prevent checking out if there are unavailable products in the cart (OCC-199) HOT 4
- Integrate exactly payments for EU/UK merchants (OCC-203)
- Have a new community survey (OCC-204) HOT 1
- make class Address partial (OCC-205) HOT 13
- OrchardCore.Commerce.Tests.UI.Shortcuts NuGet misses metadata (OCC-207)
- Checkout exception if the Billing/ShippingAddressFieldEditor shapes are not present (OCC-208)
- The File Content Definition not generate ContentDefinition.json (OCC-213)
- CreateOrderLineItemsAsync does not take care of product discounts (OCC-214) HOT 1
- I have Created a new price variants product content item, but it couldn't display variants inventories. (OCC-217)
- Running FullSecurityScanShouldPass locally fails (OCC-218) HOT 5
- When Creating a new Product Content Item in BagPart, ProductPartIndex don't update. (OCC-220) HOT 1
- Multiple payment intents are created during a single session (OCC-221)
- Aggregating multiple products into a new product that has indepdent unit price,inventory, attributes and SKU, and can be sold indepdently. (OCC-222) HOT 2
- Upgrade to Orchard Core 1.8 (OCC-223) HOT 13
- Ambiguous HTTP methods (OCC-225)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orchardcore.commerce.