Home Forums WoodMart support forum Cross out attributes not in stock

Cross out attributes not in stock

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #504306

    isma_25_94
    Participant

    Hello,

    How can I show crossed out attributes or variations when they are out of stock?

    I have followed your guide (https://xtemos.com/docs-topic/variable-products-and-swatches/) but if for example I select a variant (colour) and a size out of stock, it does not appear crossed out.

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

    Luke Nielsen
    Keymaster

    Hello,

    Please navigate to WooCommerce -> Settings -> Products -> Inventory and enable the “Hide out of stock items from the catalog” option: https://prnt.sc/F_fh2YsvXpfx

    Then clear the cache and recheck the issue.

    Kind Regards

    #504411

    isma_25_94
    Participant

    Hello,

    But if I do that, all the out of stock products in the catalogue are hidden and I want to keep showing them in the catalogue (for customer information), but I just want the attributes not to be activated if they are out of stock.

    Is this possible?

    #504648

    Luke Nielsen
    Keymaster

    Hello,

    In this case, is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?

    Kind Regards

    #504996

    isma_25_94
    Participant

    Hello,

    Sure, I attach the login information for you to try (test site)

    I want to show all the products in the catalogue, but in each variant (attributes) it should be crossed out if they are not available.

    Thank you.

    #505335

    Luke Nielsen
    Keymaster

    Hello,

    After enabling the “Out of stock visibility” option, the out of stock attributes started to be as a cross out.

    Screenshots: https://prnt.sc/1LUNH03aadXU , https://prnt.sc/DmOG57pto6Dc , https://prnt.sc/xA7sRVBKGNZJ

    Kind Regards

    #505401

    isma_25_94
    Participant

    But I don’t want to do that, because if I select that option, the out of stock products in the catalogue are hidden and this is bad for the SEO and for the information of the customers (because they think that we don’t have any products).

    I want to leave this option unchecked, but in the products it has the same function of crossing out the out of stock attributes.

    #505425

    Luke Nielsen
    Keymaster

    Hello,

    Sorry, but there is no other way.

    I sincerely appreciate your understanding in this matter. Please feel free to reach out to me if you have any further questions.

    Kind Regards

    #505503

    isma_25_94
    Participant

    OK, thank you.

    I have another question, how can I remove the product name from the breadcrumbs (so that only the categories remain).

    Thank you.

    #505759

    Luke Nielsen
    Keymaster

    Hello,

    Use the below code to hide the product name from the breadcrumbs:

    .single-product .woocommerce-breadcrumb .breadcrumb-last {
        display: none;
    }

    Don’t hesitate to let me know if you need any further help or any other info

    Kind Regards

    #505779

    isma_25_94
    Participant

    Great, Thank you!

    #505781

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! In case you need any additional help, I’d be more than happy to assist you.

    Have a good day!

    Kind Regards

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

The topic ‘Cross out attributes not in stock’ is closed to new replies.