Okay
  Public Ticket #3156716
Bulk Order Form Custom Field Search
Closed

Comments

  •  3
    Lee Whitworth started the conversation

    We have implemented the bulk order form on our members-only wholesale shop for pyrotechnics products. On the shop we make heavy use of variable products with multiple product variations. When searching for Product Name SKU, all of the product variations are displayed correctly. 

    However, the bulk order form will not show any products that are out of stock, with back order enabled. Is there some way we can make the out of stock, back ordered products show up under the bulk order form search?

    Attached files:  Pyrotechnics-Shop (1).png

  •  3
    Lee Whitworth replied

    Wrong title, it should be "Bulk Order Out Of Stock Search Results"

  •  1,904
    WebWizards replied

    Hi Lee,

    Thank you for purchasing our plugin,


    I tested this now locally but was not able to replicate the issue. I wonder if maybe you are using an older version of B2BKing. Could you please check / confirm if you're using the latest version (B2BKing Pro 4.3.4) currently available on CodeCanyon?


    If you'd like, I can also check the issue directly if you can share a backend login to the site or a staging clone site with us,


    Kind regards,

    Stefan

  •   Lee Whitworth replied privately
  •  1,904
    WebWizards replied

    Showing the stock quantity is currently only possible when using the "Cream" order form.

    (for reference, the cream order form is one of the new order form themes: https://woocommerce-b2b-plugin.com/docs/order-form-themes-styling/ )

    You could show that by adding the following shortcode to any page:

    [b2bking_bulkorder theme=cream stock=yes]

  •   Lee Whitworth replied privately
  •  1,904
    WebWizards replied

    Thank you for the login and details,

    You are spot on about what's causing issues there: search results limits and open attributes.


    1) I've edited the snippet here https://staging2.shop.pyropak.com/wp-admin/admin.php?page=edit-snippet&id=17&result=updated

    and I've added some code to increase the limit of searched items to 50.

    I believe this solves the issue where there are no results for terms like 'falling star'. Previously the plugin was retrieving some results that were not purchasable, so it couldn't show them.


    2) However, the plugin unfortunately cannot display open-attribute variations in the order form. In these cases there are just too many options to search / display. That's why the "Falling Stars" product is not showing, as it has only open-attribute variations.

    We would need the plugin to have a different UI option for the order form, where the main product would be shown alongside dropdowns for the user to choose the variation they want - we're open to adding that in future updates, but right now it's not possible to show these open variations. I could only suggest perhaps adding a few "sample" / complete variations for each product.