I'm using the theme Uncode. I use Content Blocks/WPBakery Page Builder to layout my product page.
The standard Woocommerce elements such as Product title, price, description, attributes are defined and can be loaded in the page (So I can create a custom layout) Are there perhaps shortcodes to address B2BKing's extra elements so I can add them to the product page?
I've added a custom information tablet to a product and would like to show this information on the product page. But how? Hope you can help.
I apologize, I am not super familiar with this kind of setup. Is this functionality specific to Uncode? Because I think regular Guternberg blocks don't have options such as Product Title / Price, etc.
Is there the possibility to run an action hook such as "do_action('hook_here');" ? That could probably work.
Or only shortcodes? Are there any other options available? A screenshot may perhaps help.
Now, do perform this test: 1. Navigate to Appearance->Themes and activate the default twenty twenty theme 2. Navigate to Plugins and disable the Uncode WPBakery page builder plugin. 3. Test the product you wish and see if the B2BKing prints out something.
I did this test and I didn't see anything I added via B2Bking's "custom information tablet"
But it shows the information twice. see screenshots attached.
If I delete the "do action" it is also shown. So it basically works without the "do action". Which is good, but..
Would it be possible to only show the information table with the "do action"? so I have controle of the position of the table on the product page. Or position the B2Bking not" after add to cart" but "after content". Would that be possible?
A little background information: I want to use it as an extra information element and replace the current blue block. Client is going to import products via CSV file; It would be more manageable if the CSV file doesn't include styling as the blue block is now created with the page builder in the content area, not ideal. I would like to style the B2Bking information table with in the website, so client only needs to fill in the B2B king fields.
Hi,
I'm using the theme Uncode. I use Content Blocks/WPBakery Page Builder to layout my product page.
The standard Woocommerce elements such as Product title, price, description, attributes are defined and can be loaded in the page (So I can create a custom layout) Are there perhaps shortcodes to address B2BKing's extra elements so I can add them to the product page?
I've added a custom information tablet to a product and would like to show this information on the product page. But how? Hope you can help.
Hi there,
Thank you for purchasing our plugin,
I apologize, I am not super familiar with this kind of setup. Is this functionality specific to Uncode? Because I think regular Guternberg blocks don't have options such as Product Title / Price, etc.
Is there the possibility to run an action hook such as "do_action('hook_here');" ? That could probably work.
Or only shortcodes? Are there any other options available? A screenshot may perhaps help.
Kind regards,
Stefan
Hi,
I working with the theme support team to try and make this work. via a "do_action".
thanks.
Hi
I got this back from the theme builder.
Well maybe is not compatible with the WPBakery page builder, however, the "do action" works out of the box, check here: https://undsgn.d.pr/QBuFFn and here is the hook where I registered: https://undsgn.d.pr/qCCDYV and in the page builder: https://undsgn.d.pr/pLs40Y so it prints out. So this is not an issue.
Now, do perform this test:
1. Navigate to Appearance->Themes and activate the default twenty twenty theme
2. Navigate to Plugins and disable the Uncode WPBakery page builder plugin.
3. Test the product you wish and see if the B2BKing prints out something.
I did this test and I didn't see anything I added via B2Bking's "custom information tablet"
Is this the plugin you installed: https://codecanyon.net/item/b2bking-the-ultimate-woocommerce-b2b-plugin/26689576 ? If yes, then please ask the plugin author if it provides a shortcode, hook, anything that can be used with the Page builder (Do action) absolutely for sure they can help!
So Maybe you can take a look at this?
Kind regards
Emile
Hi,
This looks very promising.
1)
The hook our plugin adds the table to is "woocommerce_after_add_to_cart_button".
In the below image please add that under "Hook Name" instead of 'bking'.
2)
In B2BKing->Settings->Main Settings please make sure the plugin is not disabled:
3)
In the Product page, make sure the checkboxes for the tables are checked:
If you can't get it to work, please provide us with a temporary login to the site and we'd be happy to check everything directly.
Kind regards,
Stefan
Hi,
It works!
But it shows the information twice. see screenshots attached.
If I delete the "do action" it is also shown. So it basically works without the "do action". Which is good, but..
Would it be possible to only show the information table with the "do action"? so I have controle of the position of the table on the product page. Or position the B2Bking not" after add to cart" but "after content". Would that be possible?
A little background information:
I want to use it as an extra information element and replace the current blue block. Client is going to import products via CSV file; It would be more manageable if the CSV file doesn't include styling as the blue block is now created with the page builder in the content area, not ideal. I would like to style the B2Bking information table with in the website, so client only needs to fill in the B2B king fields.
Hope you can help with this.
Product page:
https://nlgene-santhoven.savviihq.com/product/paracetamol-smelt-tablet-500-mg/
Yes, that's perfect.
Thanks!
I presume when the plugin has an update the change you made to the plugin still remains?
Glad that helps.
Yes, this change to the plugin is permanent and will be present in future updates.