Git Product home page Git Product logo

Comments (4)

amdad avatar amdad commented on June 10, 2024

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.

tobias-kuendig avatar tobias-kuendig commented on June 10, 2024

If you create a checkbox property for a product like Is the special one it gets rendered like this to the customer:

image

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.

amdad avatar amdad commented on June 10, 2024

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.

tobias-kuendig avatar tobias-kuendig commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.