Bundle items backorder status on product page

This topic has 2 replies, 1 voice, and was last updated 2 years, 5 months ago ago by densitysk

  • Avatar: densitysk
    densitysk
    Participant
    November 19, 2021 at 23:08

    HI,

    I have noticed a general problem with how the stock status is displayed when bundle items (via Woocommerce Bundle Products plugin) are displayed.

    Generally I allow backorders, notify customers.

    On other themes, when stock was present, theme showed the “IN STOCK” status on the bundle product page and if some components were sold out and on backorder, than the product page has been showing “available on backorder” message – this is the desired scenario.

    However with XTORE theme the bundle product page is showing 2 statuses – one for the bundle items (which must be set to in stock) and one for the individual components (depends on their stock status)

    This is how it looks like when some of the components have no stock and have backorders enabled
    https://ibb.co/WPVzdvC

    This is how a bundle item looks like when components are in stock
    https://ibb.co/pdvtFdb

    I had tried to a hide the stock status of the bundle itself – thus it shows correctly only a single field when components are on backorder or sold out. However it does not show anything when components are in stock.
    https://ibb.co/ZmhqjqW

    I have used this CSS to hide the bundle item stock status itself>

    /* HIDE Bundle stock status on single product page */
    .bundle_form .bundle_data .in-stock{
    display: none;
    }

    Do you have some solution for that?

    Kind regards
    Michal

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: densitysk
    densitysk
    Participant
    November 19, 2021 at 23:28

    nevermind. Solved it via custom snippet that displays IN STOCK status always when there is stock and I have hidden the bundle status via CSS

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘Bundle items backorder status on product page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.