Display the quantity field on the product page

  • Posts: 3
  • Thank you received: 0
11 years 8 months ago #93049

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.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #93061

Hi,

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

Thank you.

Last edit: 11 years 8 months ago by Mohamed Thelji.

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

  • Posts: 3
  • Thank you received: 0
11 years 8 months ago #93063

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?

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #93079

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.063 seconds
Powered by Kunena Forum