You can always replace the quantity field with a hidden field.

I would set the allow_backorders setting to false and that way you can't
change the inventory in the cart to be more than one.

Regards,

Nate
On Thursday, February 21, 2013 10:29:46 AM UTC-5, Erwin wrote:

In the site I am working on , all products are unique ( yes, it's a
craftwork site...) so I need to fix the qty in the cart to 1 ... ( user
cannot order more )

Should I make the input value read-only ( so user cannot modify it ... )
or can I set a parameter ?

thanks for feedback...
--
You received this message because you are subscribed to the Google Groups "Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Erwin at Feb 21, 2013 at 11:24 pm
    done... hidden field and readonly in cart line item , so user can never
    input a value ....
    hidden update button in cart as there is no need for cart updating ..
    thanks

    Le jeudi 21 février 2013 19:09:30 UTC+1, Nate Lowrie a écrit :
    You can always replace the quantity field with a hidden field.

    I would set the allow_backorders setting to false and that way you can't
    change the inventory in the cart to be more than one.

    Regards,

    Nate
    On Thursday, February 21, 2013 10:29:46 AM UTC-5, Erwin wrote:

    In the site I am working on , all products are unique ( yes, it's a
    craftwork site...) so I need to fix the qty in the cart to 1 ... ( user
    cannot order more )

    Should I make the input value read-only ( so user cannot modify it ... )
    or can I set a parameter ?

    thanks for feedback...
    --
    You received this message because you are subscribed to the Google Groups "Spree" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedFeb 21, '13 at 6:09p
activeFeb 21, '13 at 11:24p
posts2
users2
websitespreecommerce.com
irc#RubyOnRails

2 users in discussion

Nate Lowrie: 1 post Erwin: 1 post

People

Translate

site design / logo © 2023 Grokbase