• Resolved Harmonitron

    (@harmonitron)


    This store sells limited edition artwork. In this example there are three variants of the product:

    • Edition 1 (sold already).
    • Edition 2 (available).
    • Edition 3 (backorder – it hasn’t been made yet).

    Without Backup Manager Pro I get the correct backorder messages but with Backup Manager Pro I don’t.

    Steps (without Backorder Manager:

    1. Create a product with three variations (of one attribute).
    2. Set item 1 / 0 stock / backorder = Do not allow.
    3. Set item 2 in stock / backorder = Do not allow.
    4. Set item 3 out of stock / backorder = Allow, but notify customer.
    5. Preview.

    Results:

    1. Item 1: “Out of stock” message.
    2. Item 2: “1 in stock” message.
    3. Item 3: “Available on backorder” message.

    All correct.

    Now I activate Backorder Manager and set the maximum number of backorders for Item 3 to ‘1’.
    Results:

    1. Item 1: “Out of stock” message.
    2. Item 2: “1 in stock” message.
    3. Item 3: “Out of stock” message.

    This is incorrect. It should give me the “Available on backorder” message.

    Any ideas how to fix this?

    • This topic was modified 4 years, 4 months ago by Harmonitron.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jeffrey-wp

    (@jeffrey-wp)

    Have you entered the text “Out of stock” in the custom backorder description? What version of WooCommerce and which theme are you using?

    Thread Starter Harmonitron

    (@harmonitron)

    Hi, Jeffrey.

    WP: 5.4.2–en_GB.
    WooCommerce: 4.2.2.
    Backorder Manager Pro: 2.2
    Theme: Kleanity
    Page URL: https://lucybutler.ie/product/rosserk-abbey-co-mayo/

    >Have you entered the text “Out of stock” in the custom backorder description?

    No. All backorder descriptions are blank.

    Another question: Where is the text “max 1 available through backorder” coming from? It should be “Max” and end with a “.”.

    Thread Starter Harmonitron

    (@harmonitron)

    Bump!

    Any progress on this Jeffrey?

    Plugin Author jeffrey-wp

    (@jeffrey-wp)

    Sorry for the late reply. If you have a license of the pro version please post on CodeCanyon you will get a quicker response ?? I don’t have the theme Kleanity to test with. Do you see the same message in another theme, for example Storefront from WooCommerce?

    The message comes from the translations files. It can also be customized with the filter wbmp_available_text. An example for wbmp_available_text would be:

    
    function custom_wbmp_available_text( $availablestock ) {
        return 'Max ' . $availablestock . ' available through backorder.';
    }
    add_filter( 'wbmp_available_text', 'custom_wbmp_available_text' );
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrong message for out-of-stock / max backorders = 1’ is closed to new replies.