The plugin has no setting for that. You could do it by modifying the plugin code if you are open to that - the modification would be changing the hook where the b2b table is inserted in class-b2bking-public.php. It is not very difficult to do, but the main issue is that you would have issues with installing B2BKing updates in the future as the plugin code would not be compatible with the updates.
If you would like to do that, let me know and I will look into it further to give you more details about the exact changes you need to make.
Wishing you a Happy and Prosperous New Year ahead,
Hello,
are there any ways to display the B2B tables before the add to cart button?
Regards.
Hello Ronghai,
Thank you for purchasing our plugin,
The plugin has no setting for that. You could do it by modifying the plugin code if you are open to that - the modification would be changing the hook where the b2b table is inserted in class-b2bking-public.php. It is not very difficult to do, but the main issue is that you would have issues with installing B2BKing updates in the future as the plugin code would not be compatible with the updates.
If you would like to do that, let me know and I will look into it further to give you more details about the exact changes you need to make.
Wishing you a Happy and Prosperous New Year ahead,
Kind Regards,
Stefan
Hello Stefan,
thanks for your reply. Well I'll change the hook position, I actually was trying to find in which file it was placed.
About the updates, cannot I just change the hook position after updating the plugin? I think the table code is a core functionality, isn't it?
Regards,
Ronghai.
Hello Ronghai,
Yes, you can simply change the hook position after making an update to the plugin - yes the table is core functionality.
In class-b2bking-public.php, this is where you would have to change the hooks (for simple and variable products):
I will get to your other ticket shortly as well,
Have a good weekend,
Stefan
Thank you, your help is really appreciated.
Regards,
Ronghai.