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

Viewing 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #31025

    natah
    Participant

    I 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 advance

    Attachments:
    You must be logged in to view attached files.
    #31055

    Artem Temos
    Keymaster

    Hi,

    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

    #31507

    natah
    Participant

    Hi!
    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)?

    #31516

    Artem Temos
    Keymaster

    Hi,

    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

    #31534

    natah
    Participant

    it will be great if it is working like at product page
    thanks in advanced

    #31549

    Artem Temos
    Keymaster

    OK, we see that. Could you please provide us your FTP access so we can try to fix this for you?

    #31614

    natah
    Participant

    Please share the solution in order to fix it also to my staging backup copy of ny site
    thanks in advance

    #31615

    natah
    Participant

    Please 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 site

    #31625

    Artem Temos
    Keymaster

    Could you please provide us your admin access too?

    #31650

    natah
    Participant

    Yes thank you

    #31653

    Artem Temos
    Keymaster

    We can’t log in with this data. Could you please check it?

    #31659

    natah
    Participant

    please try again

    #31662

    Artem Temos
    Keymaster

    Strange, but when we edit any files with FTP we don’t see any changes. Are you sure that you provided the right access?

    #31675

    natah
    Participant

    yes !

    #31678

    natah
    Participant

    also please check functions.php at woodmart-child

    #31685

    natah
    Participant

    sorry staging copy is the same as live but I have it to make changes before to change the live site

    #31687

    Artem Temos
    Keymaster

    OK, so could you please send us a link to the product with problem on this website?

    #31688

    natah
    Participant

    now at shop page it is not working at all
    and the sizes at product page are all grey !!!

    #31693

    Artem Temos
    Keymaster

    Try to clear your browser cache and check how it works in both situations.

    #31702

    natah
    Participant

    YES ! it is working. you are great!
    thank you
    can you please share the changes ?
    if I will make updates it will be ok ?

    #31706

    Artem Temos
    Keymaster

    You 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

    #31716

    natah
    Participant

    Thank you!
    keep up the good work! 😀

    #31722

    Artem Temos
    Keymaster

    You are welcome! 🙂

    #31792

    natah
    Participant

    I 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.
    #31795

    natah
    Participant

    this product has out of stock sizes so you can check

    #31797

    Artem Temos
    Keymaster

    Could you please describe the steps how to reproduce this?

    #31898

    natah
    Participant

    please 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.

    #31902

    Artem Temos
    Keymaster

    Yes, 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.

    #31904

    natah
    Participant

    ok 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! 😀

    #31928

    Artem Temos
    Keymaster

    Sure, we will try to find the solution to this problem as well.

    Kind Regards

Viewing 30 posts - 1 through 30 (of 30 total)