

Mover la imagen de categoría sobre el breadcrum en layout
Para mover la imágen de categoría y sacarla del contenedor derecho sobre el breadcrum se utilizxa el sgte código en el archivo catalog_category_view.xml del módulo magento_catalog
<move element="category.image" destination="page.top" before="breadcrumbs"/>
Esta función se agrega en el archivo functions.php
Permite agregar manualmente tus regiones al select de woocommerce en el checkout.
function custom_woocommerce_states( $states ) {
$states['XX'] = array( 'XX1' => 'State 1', 'XX2' => 'State 2' );
return $states; }
add_filter( 'woocommerce_states', 'custom_woocommerce_states' );
[vc_row][vc_column][vc_column_text]Agregar el sgte código en tu archivo functions.php[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]function disable_media_comment( $open, $post_id ) {
[/vc_column_text][/vc_column][/vc_row]
$post = get_post( $post_id );
if( $post->post_type == 'attachment' ) {
return false;
}
return $open;
}
add_filter( 'comments_open', 'disable_media_comment', 10 , 2 );