M
M
mr_dev1l2016-03-27 18:23:26
WordPress
mr_dev1l, 2016-03-27 18:23:26

How to display additional information outside of tabs?

Good afternoon. How to display additional information outside the tabs on the product card in WooCommerce? Thanks in advance!
ps delete tab found how.

function woo_remove_product_tabs( $tabs ) {
    unset( $tabs['additional_information'] );   // Удаляет таб "дополнительная информация"
    return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
More916, 2015-02-07
@prolisk

A bunch of options. For example, you can place a form in a block that will be a modal window.
Or, again placing it in a block, set its position to absolute or fixed and hide it using the display property.
And then, using js, hang an event handler on a button click, which will make the form visible.
It's not clear what it means

ps the form itself, the output agent is.
Since the php script processes the request, but not the html form. Perhaps it meant that the handler is the page on which the form is located?
Here is an example:
codepen.io/AzZureman/pen/pvddQr

L
lnked, 2015-02-07
@lnked

fancyapps.com/fancybox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question