display quantity field only for some products

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244291

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1

Hi. How can i display the quantity field only for some product but not for others (for example about ebook)?
No reason to display it for ebook during the order too.

Last edit: 9 years 1 month ago by french150.

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
9 years 1 month ago #244302

And again... documentation:

System config (= default): www.hikashop.com/support/documentation/5...ig.html#main_product
Per listing, menu items and modules (overrides default): www.hikashop.com/support/documentation/i...ront-end.html#Cmenus
Per product (overrides everything): www.hikashop.com/support/documentation/i...ct-form.html#display

Please, please start using the documentation. Grazie mille. :)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: french150

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244315

I did per product as you suggested me.
The problem is that the quantity field is shown on the order page still. To avoid user choose more quantity i set in the product details 1 to 1 in number of quantity per order field. Is that correct? Does it mean that the limitation to 1 is only per order, correct? So if other user want buy it he can do that with 1 limitation.

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
9 years 1 month ago #244325

What do you mean by "order page"?

Checkout, and the cart there? Or the page = menu item "Cart display"?
Simple: hide the quantity field (and refresh button) with CSS.
Not difficult, and if you want to "play it safe": edit the view "checkout / cart" for your frontend template.
By now you know: www.hikashop.com/support/documentation/1...ize-the-display.html

Cart module?
Very simple: turn off "Product quantities" in module backend. (Ok, no link to documentation, lol)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244327

I means the order shown during the check out. See here the attachment.
To avoid user choose more quantity i set in the product details 1 to 1 in number of quantity per order field. Is that correct? Does it mean that the limitation to 1 is only per order, correct? So if other user want buy it he can do that with 1 limitation.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 1 month ago #244296

Hello,

Can you be more precise, because solutions will be different from which context you need to display quantity, in your product page, listing or else ?...

Awaiting news from you.

Regards

Last edit: 9 years 1 month ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244421

Philip wrote: Hello,

Can you be more precise, because solutions will be different from which context you need to display quantity, in your product page, listing or else ?...

Awaiting news from you.

Regards


Simply i don't want display the quantity field for my ebook on product details, on order during check out. But i want display it when i sell material products.

And always the same question still without reply: To avoid user choose more quantity i set in the product details 1 to 1 in number of quantity per order field. Is that correct? Does it mean that the limitation to 1 is only per order, correct? So if other user want buy it he can do that with 1 limitation.

Last edit: 9 years 1 month ago by french150.

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 1 month ago #244432

Hello,

Please be precise, it start from use the same words because your idea is difficult to follow...
Do you mean by :
- product details => Product page ?
- order during checkout => Cart ?

And always the same question still without reply: To avoid user choose more quantity i set in the product details 1 to 1 in number of quantity per order field. Is that correct? Does it mean that the limitation to 1 is only per order, correct? So if other user want buy it he can do that with 1 limitation.
As before, you aren't precise enough, I'm unable to answer, BUT I think you want avoid to add more than 1 quantity product, I think that Limit system will be your solution.
Find it there, in Components => HikaShop => Configuration, in Products dropdown select Limit.

Regards

Last edit: 9 years 1 month ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244489

Yes product page and cart.

Simply i want user can select max 1 as quantity every time order the product. No 1 as absolute value but per order. So the above setting is correct?

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 1 month ago #244514

Hi,

If you want to prevent customers from purchasing one product more than once per order and not other products, here is what I would do:
- set the "quantity input" setting of the product to "none"
- set the "max" value of the "Quantity per order" of the product ot 1
That way, it will remove the input field on the product page and it will prevent the adding to the cart of the product several times.

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244548

nicolas wrote: Hi,
- set the "quantity input" setting of the product to "none"


Are you talking about the field shown in the attachment here? I think you talk about other field because in this field i cannot set "none".


Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
9 years 1 month ago #244549

Already explained here (with link to docs incl screenshot): www.hikashop.com/support/forum/install-u...products.html#244302

Also, Nicolas clearly referred to "quantity input", not "quantity".


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 1 month ago by lousyfool.

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244550

Ok. I did it already. Set that field to NONE and set the max quantity to 1.

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 1 month ago #244564

So can we consider this issue closed ?

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 0
9 years 1 month ago #244624

Yes, thanks.
Best regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.139 seconds
Powered by Kunena Forum