-SOLVED- Quantity Selector Not Functioning

  • Posts: 81
  • Thank you received: 0
8 years 4 months ago #262074

-- HikaShop version -- : 3.0.0 BUSINESS
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.3
-- Browser(s) name and version -- : FireFox

In neither the Category Product List View, nor the Product View, the quantity selector, when increasing the selection above quantity "1" will no carry into the shopping cart. If "10" of an item are selected, only the quantity "1" is passed to the shopping cart.

The Quantity Input Method for PRODUCT OPTIONS is set to Default.

Please provide guidance as to setting and or issue resolve support to allow our installation to have functional quantity selection options on the Product List View and on the individual Product View.

Thank you.

Last edit: 8 years 4 months ago by herb200mph.

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

  • Posts: 83992
  • Thank you received: 13604
  • MODERATOR
8 years 4 months ago #262091

Hi,

Looking at the HTML on one of your pages, I can see that the quantity input and the add to cart don't have a matching id:
monosnap.com/file/irGsRSnhTXjG9CGSNS9UgK5sCkmM0B
That's why it doesn't work properly.
There are two ways I see that could help fixing this:
- You would have to rename one of the view overrides of the view "product" (in the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/) in order to use the 3.0.0 version code. Which one is hard to say. You'll have to try them one by one.
- You could try turning off the "add to cart legacy" setting of the HikaShop configuration in order to use the new add to cart system and not the old one like you're using now.

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

  • Posts: 81
  • Thank you received: 0
8 years 4 months ago #262144

Thank you. Turning off that feature in Legacy re-activated the quantity selector feature in both the list and product views. Thank you for that.

However, we are now dealing with the visual aspect of different Add to Card and Wishlist buttons.

We were using the default buttons from the style_pictureblue template style, which a no longer visible.

Any suggestions as to assigning the picuture blue button images back onto those buttons?

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

  • Posts: 81
  • Thank you received: 0
8 years 4 months ago #262153

We are not finding a file in which the quantity_field values are different, re: 2 and 1 in your screenshot.

Online one file in the template html over-rides contains that string in "listing_div.php" file.

In all three locations, the # value is set to "2" and we cannot find a "1" associated with the quantity_field.

Can you help identify from where those items are generated?

We would prefer to use the black buttons from pictureblue's settings.

Surely there must be a location where we can isolate and correct the disparity in field values.

Please provide more information so as to allow us to correct the values, yet retain the legacy button views.

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

  • Posts: 81
  • Thank you received: 0
8 years 4 months ago #262157

We have solved the issue.

In the Legacy settings, we disabled AJAX for the "Add to Cart" buttons.

This resulted in the quantity counter adding the proper value to the cart, and the images from the pictureblue style remaining in place.

This resolved the issue and we would suggest that the underlying code be looked at to prevent the issue in future versions.

Last edit: 8 years 4 months ago by herb200mph.

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

  • Posts: 83992
  • Thank you received: 13604
  • MODERATOR
8 years 4 months ago #262145

Hi,

The pictureblue style, as well as the other styles, uses the class hikashop_cart_input_button
So you would have to set that class in the "Extra CSS for add to cart buttons" and "Extra CSS for add to wishlist buttons" settings of the HikaShop configuration. That way, the new buttons would display like the old buttons.

Last edit: 8 years 4 months ago by nicolas.

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

  • Posts: 81
  • Thank you received: 0
8 years 4 months ago #262301

Thank you for the response and guidance.

We will configure our install using the CSS suggestions.

Thanks again.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum