flamarkt / core

The minimal marketplace framework based on Flarum
MIT License
13 stars 0 forks source link

Feature Request : Optimize add to cart button #1

Open ramesh-dada opened 3 years ago

ramesh-dada commented 3 years ago

Hello I like Flarum market it's ultra extension I watched all your videos but I want 2 features something like:

  1. Add to cart button on shop page on products grid something like blog read more.

  2. Proper Application Type quantity increament/decrement buttons.

    • When the Add to cart button is clicked, the selected item is added to the cart and the button changes to a quantity increment selector with plus/minus buttons.
    • The quantity in the cart can then be increased or decreased by clicking the plus/minus buttons on the quantity selector.
    • If the quantity is reduced down to zero, the quantity increment button reverts backs to the Add to cart button.

I seen this on this website https://happyappleseddon.myfoodworks.com.au/category/fruit

It is better than normal one as it looks like a application and flarum already works well in mobile devices.

clarkwinkelmann commented 3 years ago

The extension isn't in its final form yet.

All these features can be added through the extension API.

The Units extension will offer some options regarding how incrementing/decrementing a quantity is done.

Adding cart button to the product list is a perfect job for an extension. I'm not sure if I'll make this a bundled extension or not at this point.

Basically anything that should have the ability to be disabled should be an extension. For the first few months I will only be working on extensions that I need for my own website. Later I'll decide how to handle community suggestions.