quantity field missing on product listing for add to cart

  • Posts: 28
  • Thank you received: 0
  • Hikashop Essential
10 months 3 weeks ago #352071

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.0.3
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : quantity box not displaying for add to cart on the product listing page.

I have already disabled "Synchronized add to cart"

quantity field is not displaying for add to cart on the product listing page.

I have already disabled "Synchronized add to cart"

below are the two urls with issue.
www.dphfs.com/index.php/catering/breakfast
www.dphfs.com/index.php/pickles

thanks

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
10 months 3 weeks ago #352072

Hi,

Edit your menu item via the Joomla menu manager. There, under the "products options" tab, you have a section for the display options. One of the options there is to configure whether to display the quantity input fields or not on the listing.

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

  • Posts: 28
  • Thank you received: 0
  • Hikashop Essential
10 months 3 weeks ago #352074

I have the quantity field set to yes . Still it is not showing up
In product listing page. Please find the snapshot of the configuration attached.

Thanks

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
10 months 3 weeks ago #352076

Hi,

I thought this was a product listing thing, but I checked your website today and there is the same issue on the product details page. So this means the problem is not linked to the listing.
It's probably that you've set the "quantity input method" to "none" under the Display tab of the HikaShop configuration or that in each product, you've set the "quantity input" to "none".

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

  • Posts: 28
  • Thank you received: 0
  • Hikashop Essential
10 months 3 weeks ago #352090

I have quantity input method set as show simple under configuration>display>product options. still i am having the same issue.

i am attaching the snapshot of the same.



thanks

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
10 months 3 weeks ago #352091

Hi,

Show simple will add the input field but hidden from the user. You can however see it if you look at the HTML of the page, while "none" will completely remove the input field.
Change this setting to "simplified" and it will display the input field to the user.

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

  • Posts: 28
  • Thank you received: 0
  • Hikashop Essential
10 months 3 weeks ago #352098

thanks. updating it to simplified is displaying quantity in product page but it is still not showing in listings page.

please suggest.
dphfs.com/index.php/catering/breakfast

thanks

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
10 months 3 weeks ago #352099

Hi,

The quantity input field's HTML is now on the listing and not with the type hidden.
However, your template has custom CSS in the file dphfs.com/templates/lt_restaurant/css/hikashop.css to hide that quantity input on listings for some reason:
i.imgur.com/AwITzZR.png

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

  • Posts: 28
  • Thank you received: 0
  • Hikashop Essential
10 months 3 weeks ago #352105

i have commented the override for hiding the quantity in hikashop.css still the quantity box is not visible. when i checked the source code for the page it is showing as hidden. Please suggest how to make it visible.

<!-- QUANTITY INPUT -->
<div class="hikashop_product_quantity_div hikashop_product_quantity_add_to_cart_div"></div>
<input type="hidden" name="add" value="1"/>
<!-- EO QUANTITY INPUT -->

thanks.

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

  • Posts: 4519
  • Thank you received: 611
  • MODERATOR
10 months 3 weeks ago #352106

Hello,

Can you process some tests with a default template (ProtoStar for J3 or Cassiopeia for J4), and make precise returns about your quantity box issue.

Awaiting your returns to progress on your subject.
Regards

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

Time to create page: 0.100 seconds
Powered by Kunena Forum