CSS Adicional

.btn-primary,
.btn {
background-color: #FDC600;
}

a:hover {
text-decoration: none;
color: #FDC600;
}
.woocommerce div.product .wc-tabs-wrapper ul.tabs {
display: none;
}
.product_meta {
display: none;
}
.mf-banner-large.layout-3 {

}

.mf-banner-large.layout-3 .banner-content {
margin-top:-72px;
min-height:172px;
}

.mf-banner-large.layout-3 .desc{
margin-top:-12px;
text-transform:none;
font-weight: normal;
font-size:14px;
color:#999999;
width:70%;
max-width:900px;
}

Cambios en Plugin Woocommerce - descripción corta

Añadir nuevo campo personalizado descripcion_corta

themes->mantfury->inc->fontend->woocommerce.php

function get_product_single_excerpt() {
$featured_text = get_post_meta( get_the_ID(), ‘product_features_desc’, true );
$descorta = get_post_meta( get_the_ID(), ‘descripcion_corta’, true );

if ( ! empty( $featured_text ) ) {
echo ‘<div class=»woocommerce-product-details__short-description»>’;
echo ‘<div style=»font-weight:bold; padding: 6px 0 12px 0;»>’. wp_kses_post( $descorta ).'</div>’;
echo ‘<div class=»mf-features-text»>’;
echo wp_kses_post( $featured_text );
echo ‘</div></div>’;
} elseif ( function_exists( ‘woocommerce_template_single_excerpt’ ) ) {
woocommerce_template_single_excerpt();
}
}

Cambios en la función get_product_single_excerpt()

$refsku = get_post_meta( get_the_ID(), ‘_sku’, true );
$idst = get_the_ID();
global $wpdb;
$dcorta = $wpdb->get_results(«SELECT post_excerpt FROM blue_posts Where id =$idst», ‘ARRAY_A’);
foreach( $dcorta as $dcor ) {
echo $dcor[‘post_excerpt’];
}
echo ‘<br />Modelo: ‘.$refsku;
echo ‘<hr />’;
echo $resultados;

 

Cambio en In Stock

if ( ! $product->managing_stock() && $product->get_stock_status() == ‘instock’ ) {
//$availability = esc_html__( ‘In stock’, ‘martfury’ );
$availability = esc_html__( ‘Disponible’, ‘martfury’ );
}

.mf-banner-large.layout-3 {
margin-top:-32px;
}
.mf-banner-large.layout-3 .desc{
text-transform:none;
font-weight: normal;
font-size:14px;
color:#999999;
width:80%;

}

Subelemento

 

<div style=»height: 20px»></div>
<a href=»#»><img src=»https://www.bluelediluminacion.es/wp-content/uploads/2020/03/imagen-borrar.jpg»></a>
<div style=»height: 20px»></div>

Botones categoria y tablas

wp-comtent->plugins->markfury-addons->inc->socials.php

 

<div align=»center»>
<?php
// cambios
$vcategoria = get_post_meta( get_the_ID(), ‘volver_cat’, true );
$vtabla = get_post_meta( get_the_ID(), ‘volver_tabla’, true );

if ($vcategoria){
echo ‘<a href=»‘.$vcategoria.'» target=»_self»>Categoria</a>’;
}
if ($vtabla){
echo ‘<a href=»‘.$vtabla.'» target=»_self»>Tabla</a>’;
}

?>

</div>

Main Menu