Skip to content

how to open cart in modal view? #19

@s4miii

Description

@s4miii

thank you so much because of your great job.

I changed jquery.smartCart.js file

this.cart_element.addClass('modal fade panel panel-default sc-cart sc-theme-' + this.options.theme);
and in index page I call it via button,
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#smartcart">Open Modal</button>
test

but as you see it's not nice
may I ask you give me a tip and tell me how to change it completely to modal view ?

And my second question is, imagine you want to pick up three colors at the same time

So I changed input type to checkbox instead of radio button, but if you check for example three checkboxes, it just add one product, and if you check one by one it works
but at the same time it's not add three products in cart

Any suggestion ?

thank you again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions