Comments (4)
Dropdowns are not checkboxes. Checkboxes are not dropdowns. :)
So I would rather suggest to improve how to handle checkbox rather get rid of it.
But I'm not exactly understand from your description how it's look like. So can't propose possible solution yet.
from oc-mall-plugin.
If you create a checkbox property for a product like Is the special one
it gets rendered like this to the customer:
The customer should be able to choose via a dropdown even if this is a simple "Checked/Unchecked" property. But if this will be supported we need two more attributes to define a "checked label" (Special one) and "unchecked label" (Not the special one).
So I'm wondering if it woudn't make more sense to define this as a dropdown property and simply add two options "Speical one" and "Not special one". This would solve the problem in the fronend. In the backend you could no longer just tick a checkbox but you have to use the dropdown when editing the product.
from oc-mall-plugin.
Ok, I will think about it and test it then reply tomorrow about this.
For now, can you check out issue #59? It's important one.
from oc-mall-plugin.
Checkbox properties will not be part of the feature set of the initial release. This feature has been disabled in 6de7a65 to bring the plugin towards 1.0.
We might include it in a later version if a valid use case is present.
from oc-mall-plugin.
Related Issues (20)
- Missing data for Invoice order partial HOT 1
- Indirect modification of overloaded property October\Rain\Element\ElementHolder::$missing_file_hint has no effect HOT 1
- \MallComponent::decode(): Argument #1 ($value) must be of type string, null given, called in \components\Product.php on line 44 HOT 4
- "Illegal offset type" on line 105 of ~/app/plugins/offline/mall/classes/traits/CustomFields.php HOT 1
- An exception has been thrown during the rendering of a template HOT 12
- Discount per quantity purchased
- Add quantity input close to "add to cart button" on the category page
- Error when create new product Call to a member function mapWithKeys() on array HOT 1
- Missing recordsPerPage and showSearch customergroups/config_relation.yaml HOT 1
- Missing default values in component \offline\mall\components\product\customfields\text.htm for CMS_STRICT_VARIABLES=true HOT 2
- Can't update to Rainlab\User V3.0 HOT 4
- Which Version of the Plugin is Compatible with Winter CMS? HOT 1
- Allow PaymentGatewaySettings to be different between multisites HOT 2
- Free products error. DivisionByZeroError: Division by zero in /offline/mall/classes/pricing/concerns/ApplyDiscounts.php:37 HOT 1
- Column not found: 1054 Unknown column 'download_count' in 'field list' (SQL: update `system_files` set `download_count` = `download_count` + 1,... HOT 2
- Wrong price if price start with 0. and has more than 2 decimal example: 0.4567 HOT 2
- Virtual downloads broken on 3.2.1 HOT 1
- Something like a InvoiceGatewayProvider or EERP / CRM Connections.
- Can't update to 3.3.0 HOT 7
- Call to undefined method October\Rain\Database\Relations\BelongsTo::all() HOT 1
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 oc-mall-plugin.