Skip to main content

Display the quantity field on the product page

13 years 7 months ago #93049 by marcel
Hi

In "General display options" is "Display the quantity field on the product page". I selected Ajax input.
I have 2 types of products. On first page product I need to show "Ajax input", but on the second product I need to hide it.

How can I do it? Any idea?

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

13 years 7 months ago - 13 years 7 months ago #93061 by Mohamed Thelji
Hi,

Can you show me where do you want to hide it with some screenshots please ?

Thank you.
Last edit: 13 years 7 months ago by Mohamed Thelji.

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

13 years 7 months ago #93063 by marcel
In first attached file is 6 products with "ajax input" fields.
In second screen file is page without "ajax input".

How Can I create both options on the one website?

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

13 years 7 months ago #93079 by Mohamed Thelji
Ok, I think that the quantity field isn't displaying because you're in a product listing, so you'll probably find your answer there :

You can edit the file listing_img_title of the view product via the menu Display->Views and add the code:
$this->params->set('show_quantity_field', 1);
at the beginning after the first <?php tag.


Hope this will help you.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum