We do not do custom work or customizations ourselves - we focus exclusively on our plugins. However, if you need to do any customizations, we are happy to assist with any technical information needed as part of support, and we can help advise your developers on the best ways to approach any specific task.
Myself I'm based in Romania, and my colleagues are in Spain and Czechia. If you were to purchase, you would receive an invoice from Paddle.com , you can add your company VAT number to pay without VAT.
Ok thank you very much. I have already purchased. So far the plugin is working good.
One customization I was interested in that maybe you can help me a bit with:
I noticed in the bulk order form, that you are able to calculate subtotal per product (see attachment).
I wanted a similar function for my shop archive page in woocommerce. I have managed to add quantity field selectors to the archive page. And based on the code here: WooCommerce: Calculate Subtotal On Quantity Increment @ Single Product (businessbloomer.com) , I managed to add the subtotal on archive pages aswell. However, im having issues with it for products that are being loaded dynamically with ajax. And I saw your bulk order form is doing this flawlessly. I was wondering if you could point me to where the template/code for this is? Maybe I could use your work as inspiration to solve my problem.
The way our plugin works is that basically the main javascript file holds an array of Product IDs and prices for each ID. When a product is searched for, the product title and image is visible, but actually the search also returns the product price / ID and adds them to this array.
The subtotal calculation script simply checks this array and multiplies the quantity by the price.
It may not be entirely applicable to your case.
In your case, do you see the "Total:" text, but the script doesn't work? It may be because wp_enqueue_js won't work in AJAX.
Maybe it can work by replacing wp_enqueue_js with simple <script></script> tags.
If you'd like to share your code and/or access to the site, I'd be happy to take a look,
So I just managed to do it with the help of ChatGPT and some tweaking on my own.
I don't think I understand half of the code the AI printed. I think half of it is not even necessary. But I made it work. If you want to take a look be my guest :) The site is only for testing purposes.
I am learning some javascript and traversing the DOM and what have you currently. But there are things in the code like assigning variables that contain the OR operator was new to me, passing PHP parameters to javascript variables from PHP, and some of the methods in the code. Jeez.
*EDIT: The only thing not working now is displaying the initial subtotal after user loads more products with the ajax load more button.
*EDIT2: Its now working :) But you might want to see it. It is about 150 lines of code just to get a subtotal per product calculation working with ajax... I have no idea what is going on.
Great job!, I did some tests and everything seems to be working.
I see that this gets all products and prices and passes those to the quantity-script:
Good solution, this way you don't need to pull data via AJAX as you just get all data upfront. This works fine for limited numbers of products, but could get slow if you had thousands for example - because of that we couldn't use this approach for B2BKing for example.
Here
I'm pretty sure lines 1 3 4 5 don't do anything and can be deleted.
Quantity-script.js is a bit tough for me to understand because it uses only raw JavaScript, whereas in WordPress almost everything uses jQuery, so that's what I'm used to. To me jQuery seems a lot easier and more readable than raw JS - if you're interested in learning JS, I'd look at possibly learning jQuery first.
The script could probably be written in fewer lines (I think it has a lot of unnecessary code about when to trigger the subtotal update) but then again, if it works, don't touch it : )
Hello,
Can I separate the login form from the registration from with your plugin?
I really dislike how WooCommerce have these 2 bundled in same page.
Hi there,
Thank you for getting in touch,
Yes, you can use B2BKing to separate the 2 forms. For that, you can use our login and registration shortcodes:
Login: [b2bking_login_only]
Registration: [b2bking_b2b_registration_only]
These shortcodes can be added to any page.
Let me know if I can help with anything, or if you have any questions,
Kind regards,
Stefan
Hi again, thank you for that quick reply.
I am also curious if you do any customization work? (For example integrating with other 3rd party software via api or similar)
And from where do you work? Is it within EU or outside? Country?
Thank you, I am testing your plugin right now.
You can turn this ticket private if you want.
We do not do custom work or customizations ourselves - we focus exclusively on our plugins. However, if you need to do any customizations, we are happy to assist with any technical information needed as part of support, and we can help advise your developers on the best ways to approach any specific task.
Myself I'm based in Romania, and my colleagues are in Spain and Czechia. If you were to purchase, you would receive an invoice from Paddle.com , you can add your company VAT number to pay without VAT.
Kind regards,
Stefan
Ok thank you very much. I have already purchased. So far the plugin is working good.
One customization I was interested in that maybe you can help me a bit with:
I noticed in the bulk order form, that you are able to calculate subtotal per product (see attachment).
I wanted a similar function for my shop archive page in woocommerce. I have managed to add quantity field selectors to the archive page. And based on the code here: WooCommerce: Calculate Subtotal On Quantity Increment @ Single Product (businessbloomer.com) , I managed to add the subtotal on archive pages aswell. However, im having issues with it for products that are being loaded dynamically with ajax. And I saw your bulk order form is doing this flawlessly. I was wondering if you could point me to where the template/code for this is? Maybe I could use your work as inspiration to solve my problem.
Thank you for purchasing!
I'd be happy to assist,
The way our plugin works is that basically the main javascript file holds an array of Product IDs and prices for each ID. When a product is searched for, the product title and image is visible, but actually the search also returns the product price / ID and adds them to this array.
The subtotal calculation script simply checks this array and multiplies the quantity by the price.
It may not be entirely applicable to your case.
In your case, do you see the "Total:" text, but the script doesn't work? It may be because wp_enqueue_js won't work in AJAX.
Maybe it can work by replacing wp_enqueue_js with simple <script></script> tags.
If you'd like to share your code and/or access to the site, I'd be happy to take a look,
Kind regards,
Stefan
So I just managed to do it with the help of ChatGPT and some tweaking on my own.
I don't think I understand half of the code the AI printed. I think half of it is not even necessary. But I made it work. If you want to take a look be my guest :) The site is only for testing purposes.
I am learning some javascript and traversing the DOM and what have you currently. But there are things in the code like assigning variables that contain the OR operator was new to me, passing PHP parameters to javascript variables from PHP, and some of the methods in the code. Jeez.
*EDIT: The only thing not working now is displaying the initial subtotal after user loads more products with the ajax load more button.
*EDIT2: Its now working :) But you might want to see it. It is about 150 lines of code just to get a subtotal per product calculation working with ajax... I have no idea what is going on.
Hi again,
Great job!, I did some tests and everything seems to be working.
I see that this gets all products and prices and passes those to the quantity-script:
Good solution, this way you don't need to pull data via AJAX as you just get all data upfront. This works fine for limited numbers of products, but could get slow if you had thousands for example - because of that we couldn't use this approach for B2BKing for example.
Here
I'm pretty sure lines 1 3 4 5 don't do anything and can be deleted.
Quantity-script.js is a bit tough for me to understand because it uses only raw JavaScript, whereas in WordPress almost everything uses jQuery, so that's what I'm used to. To me jQuery seems a lot easier and more readable than raw JS - if you're interested in learning JS, I'd look at possibly learning jQuery first.
The script could probably be written in fewer lines (I think it has a lot of unnecessary code about when to trigger the subtotal update) but then again, if it works, don't touch it : )