Home › Forums › Basel support forum › Add to cart button does not add item to cart (added qnt selector
Add to cart button does not add item to cart (added qnt selector
- This topic has 7 replies, 2 voices, and was last updated 6 years ago by
Elise Noromit.
-
AuthorPosts
-
November 12, 2019 at 11:30 am #156516
myobstaclesParticipantHi there,
I actually have the same issue as described in this topic:
https://xtemos.com/forums/topic/quantity-select-field/Like some of the other Basel/woodmarkt-theme buyers, i would like to let the customer be able to select the quantity of a simple product, right on the product list page.
First i was looking for an option to show the quick-shop view for simple products.
But then i saw that you refered to https://docs.woocommerce.com/document/override-loop-template-and-show-quantities-next-to-add-to-cart-buttons/ in the topic mentioned above.I added that snippit code to my child-theme functions.php
Now it shows the quantity selector and i’m pretty happy with it.BUT, when i press ‘add to cart/in den Warenkorb’ it opens the cart widget. But the product is not added to the cart….
In the topic mentioned above it looks like you were able to fix this
Could you help me out with this?
Thanks in advance!
Regards,November 12, 2019 at 1:42 pm #156548
Elise NoromitMemberHello,
Please try to deactivate AJAX Add to cart in the Theme Settings > Product page http://prntscr.com/pvwrbr
Best Regards
November 12, 2019 at 2:32 pm #156554
myobstaclesParticipantHi Elise,
Thanks! That helped. The simple product(s) are now added to the cart via the product list page, whilst a quantity is selected.
But after it is added, it does not open the cart widget anymore. Instead, it shows a message on top of the page. Which is very disorientating and annoying when using mobile. This applies when adding a simple or variable product.
What should I do to let the cart widget open again after a product is added to the cart?November 12, 2019 at 3:47 pm #156569
Elise NoromitMemberHello,
Do you mean this one: https://prnt.sc/pvysrb It is not possible to hide it as hiding this message would hide other Woocommerce important messages.
Best Regards
November 12, 2019 at 7:50 pm #156601
myobstaclesParticipantHi Elise,
After I add an product to the cart, I would like the cart widget to be displayed. Like it did before.I do have the setting: dashboard > theme settings > shop > Action after add to cart=display widget
(See screenshot)Attachments:
You must be logged in to view attached files.November 13, 2019 at 7:44 am #156655
Elise NoromitMemberHello,
Please check if you have set the Hidden sidebar in the Shopping cart position https://prnt.sc/pw8x2e
If you have and it does not work, please provide your site admin access as the credentials provided earlier are not workable.
Best Regards
November 13, 2019 at 8:26 am #156670
myobstaclesParticipantHi Elise,
I do have the setting ‘shopping cart position=hidden’I just provided you with admin access again.
Regards,November 13, 2019 at 11:04 am #156700
Elise NoromitMemberHello,
You see you have disabled AJAX and the shopping cart in sidebar works provided AJAX has been enabled, so you need to make the decision: to use the shopping cart or quantity in the grid as it is not possible to use both.
Best Regards
-
AuthorPosts
Tagged: quantity, simple product
The topic ‘Add to cart button does not add item to cart (added qnt selector’ is closed to new replies.
- You must be logged in to create new topics. Login / Register
