Home › Forums › WoodMart support forum › At grid shop page is showing all sizes even the out of stock variations
At grid shop page is showing all sizes even the out of stock variations
- This topic has 29 replies, 2 voices, and was last updated 6 years, 10 months ago by Artem Temos.
-
AuthorPosts
-
December 30, 2017 at 1:42 pm #31025
natahParticipantI have choose from woocommerce/settings/products/inventory
Hide out of stock items from the catalog
so now when I go to a product it is working and shows with gray color the sizes that are out of stock and with black the ones that you can select, that they are in stock.
But at the grid view of showing many products if you go to choose a product all sizes are with black color and you can select them and after that they turn to gray color and are out of stock.can you please advise me how to fix that ?
I want from the beginning to be able to see if it is in stock or not
thanks in advanceAttachments:
You must be logged in to view attached files.December 31, 2017 at 12:05 pm #31055
Artem TemosKeymasterHi,
Sorry, but it is not possible to achieve this with WooCommerce variable products. Its scripts add CSS classes so we can turn them into grey color only when you click on some of the attributes. We are not able to rewrite this behavior.
Regards
January 4, 2018 at 11:39 am #31507
natahParticipantHi!
sorry that this cannot be changed…
but I managed to hide the variations from theme settings/shop/
I turned off the Show variations on quick view and the “Quick Shop” for variable products
so this is a solution to my problem…
I noticed that the problem was also at the quick view of a product, all the sizes was there even the out of stock. What is the difference between those views (shop page, quick view) and the single product page, where the out of stock variables turn grey (correct behavior)?January 4, 2018 at 12:41 pm #31516
Artem TemosKeymasterHi,
Actually, they should work in the same way on the quick view and on the single product page. Could you please send us an example where we can see this difference?
Thank you
January 4, 2018 at 3:02 pm #31534
natahParticipantit will be great if it is working like at product page
thanks in advancedJanuary 4, 2018 at 6:16 pm #31549
Artem TemosKeymasterOK, we see that. Could you please provide us your FTP access so we can try to fix this for you?
January 5, 2018 at 9:56 am #31614
natahParticipantPlease share the solution in order to fix it also to my staging backup copy of ny site
thanks in advanceJanuary 5, 2018 at 10:05 am #31615
natahParticipantPlease note that I have turn on again
Show variations on quick view
and
“Quick Shop” for variable products
so you will be able to see the problem at my live siteJanuary 5, 2018 at 10:26 am #31625
Artem TemosKeymasterCould you please provide us your admin access too?
January 5, 2018 at 12:30 pm #31650
natahParticipantYes thank you
January 5, 2018 at 12:32 pm #31653
Artem TemosKeymasterWe can’t log in with this data. Could you please check it?
January 5, 2018 at 12:56 pm #31659
natahParticipantplease try again
January 5, 2018 at 1:09 pm #31662
Artem TemosKeymasterStrange, but when we edit any files with FTP we don’t see any changes. Are you sure that you provided the right access?
January 5, 2018 at 1:29 pm #31675
natahParticipantyes !
January 5, 2018 at 1:33 pm #31678
natahParticipantalso please check functions.php at woodmart-child
January 5, 2018 at 1:44 pm #31685
natahParticipantsorry staging copy is the same as live but I have it to make changes before to change the live site
January 5, 2018 at 1:46 pm #31687
Artem TemosKeymasterOK, so could you please send us a link to the product with problem on this website?
January 5, 2018 at 1:48 pm #31688
natahParticipantnow at shop page it is not working at all
and the sizes at product page are all grey !!!January 5, 2018 at 2:07 pm #31693
Artem TemosKeymasterTry to clear your browser cache and check how it works in both situations.
January 5, 2018 at 2:18 pm #31702
natahParticipantYES ! it is working. you are great!
thank you
can you please share the changes ?
if I will make updates it will be ok ?January 5, 2018 at 2:53 pm #31706
Artem TemosKeymasterYou don’t need to worry about that, we will fix this in the next update. And we have removed your website link from the forum.
Regards
January 5, 2018 at 3:02 pm #31716
natahParticipantThank you!
keep up the good work! 😀January 5, 2018 at 3:06 pm #31722
Artem TemosKeymasterYou are welcome! 🙂
January 6, 2018 at 8:53 am #31792
natahParticipantI found another issue with this function
when you have choose a size of a product and go back to select another one it shows again all the sizes active, until you press one of them…
Attachments:
You must be logged in to view attached files.January 6, 2018 at 8:55 am #31795
natahParticipantthis product has out of stock sizes so you can check
January 6, 2018 at 9:21 am #31797
Artem TemosKeymasterCould you please describe the steps how to reproduce this?
January 7, 2018 at 8:50 am #31898
natahParticipantplease go to the product, you see that 2 sizes are in stock (black) and 2 sizes are out of stock (grey)
select a size and add it to your bag, from bag go back to the same product, the size that you had choose before is chosen and all sizes are black, you have to press clear or another size to be correct again.January 7, 2018 at 9:09 am #31902
Artem TemosKeymasterYes, we see this issue but we are not able to fix it now. In this situation, WooCommerce scripts add CSS classes so we can turn them into grey color only when you click on some of the attributes. We are not able to rewrite this behavior.
January 7, 2018 at 9:42 am #31904
natahParticipantok thank you anyway.
*I think you will find a way to fix this… as you did before
I will wait for updates of your great theme! 😀January 7, 2018 at 3:50 pm #31928
Artem TemosKeymasterSure, we will try to find the solution to this problem as well.
Kind Regards
-
AuthorPosts
Tagged: out of stock variations
- You must be logged in to create new topics. Login / Register