Okay
  Public Ticket #4546833
bulk order form conflict
Closed

Comments

  •  7
    Anette started the conversation

    when i activate the bulk order form, it deactivates my product add-on. I use this plugin 
    https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/
    How can I use the bulk order form and keep the add-on fields ?

    Many thanks in advance for helping me solve this issue.
    kind regards
    Anette

  •  7
    Anette replied

    Can anyone help me with my challenge - I had no reply yet ? :)

    ------

    when i activate the bulk order form, it deactivates my product add-on. I use this plugin 
    https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/
    How can I use the bulk order form and keep the add-on fields ?

    Many thanks in advance for helping me solve this issue.
    kind regards
    Anette

  •  2,724
    WebWizards replied

    Hi Anette,

    Sorry for any delay on this and thanks for following up.

    I want to make sure I understand the issue correctly. Could you clarify what you mean by "deactivates my product add-on"?

    1. Do you mean that the add-on fields are not showing up inside the bulk order form itself?
    2. Or do you mean that activating the bulk order form causes problems with add-ons on your regular product pages?

    If it's the second case, that sounds like it could be a scripts conflict, and we can look into it. It would help a lot if you could share a backend login to your site (or a staging clone), so we can investigate directly.

     

    If it's the first case - add-ons not appearing within the bulk order form - that is unfortunately a known limitation. The bulk order form has a fixed structure and integrating third-party add-on plugins into it is very difficult. An alternative approach would likely need to be found for that scenario.

     

    Kind regards,
    Stefan

  •  7
    Anette replied

    Hi Stefan

    Now it is me who apologize for late reply. I have been away for the past week.

    Many thanks for your reply, I will give you access to the backend and hope you can help me out.

     I think the issue is no. 1

    We use a third party add on plugin –

    https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/

     Do you have a alternative solution ? - my problem is that we need the customer to fill in an ID-number before going til the cart/checkout.

    this link is how it looks with B2B king bulk order form: B2B king bulk order form

    see this link: Similar solution needed

    Kind regards, Anette

  •  2,724
    WebWizards replied

    Hi Anette,

    Thanks for the extra details,

    I took a look at both links. The first one at `/kronborg-cup-adidas-jsy-2/` seems to give a 404 error, but on the other one I can see the "Tilmeldings ID (4 cifre) / Registration ID (4 digits)" field.

    If the idea is to have a field like that on each product row in the bulk order form, where customers can enter their Registration ID before adding to cart - yes, we can do that with a code snippet with B2BKing.

    Please take a look at this section of our documentation: https://woocommerce-b2b-plugin.com/docs/wholesale-bulk-order-form/#15-toc-title - specifically the part under "Input Field That Saves to the Order".

    This allows you to add a custom input field on each item in the bulk order form that the customer can fill in when adding to cart, and the value gets saved to the cart/order. The exact styling and positioning can then be tweaked with some CSS to match your site design.

     

    Let me know if that can help solve it,

    Kind regards,
    Stefan

  •  7
    Anette replied

    Hi Stefan

    many thanks for your input, 

    I seems that this CSS will add af custom field to every attribute ? (like an ekstra colum in the order form). I just need one single custom field, that works independent of the order form itself.

    when a customer has filled ind the attributes og the bulk order form, I need them to fill in a single text or number to verify their identity.

    check this link - where I have used the bulk order form. Can you also give me advice on why it loads very slow ? 

    https://sport-direct-helsingor.dk/vare/kronborg-cup-adidas-jsy-2/

    Kind regards

    Anette


  •  2,724
    WebWizards replied

    Hi Anette,

    Thanks for getting back to us,

    Indeed the previous approach would add a custom field to every single product row.

    Could you explain a bit more about the use case here and what this field represents? If this Registration ID is just a single field per order or per user, I think a better approach might be to either:
    1. Add it to the cart or checkout page as a single required field, so the customer cannot place the order without filling it in.
    2. Require it during customer registration, and force users to register before they can place an order.

     

    Regarding the bulk order form loading speed, I would recommend adding a PHP code snippet to your site: https://pastecode.io/s/jn372nwe. It adds a few optimizations that should improve the loading time. You can add this snippet to the functions.php file of your child theme or by using any code snippets plugin.

     

    Kind regards,
    Stefan