add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );
function woo_new_product_tab( $tabs ) {
$tabs['test_tab'] = array(
'title' => __( 'Scheda Tecnica', 'woocommerce' ),
'priority' => 50,
'callback' => 'woo_new_product_tab_content'
);
return $tabs;
}
function woo_new_product_tab_content() {
global $post;
$campo_personalizzato = get_post_meta( $post->ID, 'schedatecnicahtml', true );
echo '<h2>Dettagli Aggiuntivi</h2>';
echo '<p>' . $campo_personalizzato . '</p>';
}
Following a sample of the table stored in the DB in a metadata fields called schedatecnicaHtml :
<html lang="en">
<head>
<meta charset="UTF-8">
<title>NVIDIA RTX A4000 16 GB 4DP GRAPHICS</title>
<style>
.center {
text-align: center;
}
</style>
</head>
<body>
<h1 class="center">NVIDIA RTX A4000 16 GB 4DP GRAPHICS</h1>
<table border="0" cellpadding="5" cellspacing="0" style="width:100%;">
<thead>
<tr>
<th colspan="2">Attributes</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2" class="center"><h3>Dimensioni e peso</h3></td>
</tr>
<tr>
<td>Altezza (mm)</td>
<td>112</td>
</tr>
<tr>
<td>Altezza imballo (mm)</td>
<td>187</td>
</tr>
<tr>
<td>Larghezza imballo (mm)</td>
<td>76.2</td>
</tr>
<tr>
<td>Peso (g)</td>
<td>500</td>
</tr>
<tr>
<td>Peso dell'imballo (g)</td>
<td>910</td>
</tr>
<tr>
<td>Profondità (mm)</td>
<td>241.3</td>
</tr>
<tr>
<td>Profondità imballo (mm)</td>
<td>419</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Memoria</h3></td>
</tr>
<tr>
<td>Ampiezza dati (bit)</td>
<td>256</td>
</tr>
<tr>
<td>Larghezza memoria della banda (massima) (GB/s)</td>
<td>448</td>
</tr>
<tr>
<td>Memoria Grafica Dedicata (GB)</td>
<td>16</td>
</tr>
<tr>
<td>Tipo memoria adattatore grafico</td>
<td>GDDR6</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Dati logistici</h3></td>
</tr>
<tr>
<td>Codice del Sistema Armonizzato (SA)</td>
<td>84733020</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Gestione energetica</h3></td>
</tr>
<tr>
<td>Consumi (W)</td>
<td>140</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Processore</h3></td>
</tr>
<tr>
<td>CUDA</td>
<td>true</td>
</tr>
<tr>
<td>CUDA cores</td>
<td>6144</td>
</tr>
<tr>
<td>Numero massimo di display per videocard</td>
<td>4</td>
</tr>
<tr>
<td>Processore grafico</td>
<td>RTX A4000</td>
</tr>
<tr>
<td>Processore grafico / fornitore</td>
<td>NVIDIA</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Prestazione</h3></td>
</tr>
<tr>
<td>Dual Link DVI</td>
<td>false</td>
</tr>
<tr>
<td>Realtà virtuale (RV) pronta</td>
<td>true</td>
</tr>
<tr>
<td>Tipo interfaccia</td>
<td>PCI Express 4.0</td>
</tr>
<tr>
<td>Versione DirectX</td>
<td>12.07</td>
</tr>
<tr>
<td>Versione modello shader</td>
<td>5.17</td>
</tr>
<tr>
<td>Versione OpenGL</td>
<td>4.68</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Connettività</h3></td>
</tr>
<tr>
<td>HDCP</td>
<td>true</td>
</tr>
<tr>
<td>Quantità DisplayPorts</td>
<td>4</td>
</tr>
<tr>
<td>versione DisplayPort</td>
<td>1.4a</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Design</h3></td>
</tr>
<tr>
<td>Numero di slot</td>
<td>1</td>
</tr>
<tr>
<td>Tipo di raffreddamento</td>
<td>Active</td>
</tr>
<tr>
<td colspan="2" class="center"><h3>Video</h3></td>
</tr>
<tr>
<td>Risoluzione massima</td>
<td>7680 x 4320 Pixel</td>
</tr>
</tbody>
</table>
</body>
</html>
What are the necessary steps to ensure the technical sheet appears in its corresponding tab within the product details?
Thanks in advance,
Simone Spagna
CEO
So let’s use this page as an example and look at the thumbnails of the plugin at the bottom of the listing…
https://www.ads-software.com/plugins/anchor-block/
Ok, I’ve lived with this as long as I can remember. WHY of WHY does WP Automattic not fix this??
What’s the issue?
Every time you click on a thumbnail when looking at plugins it opens the thumbnail in the SAME window/tab. You then have to click the back arrow to go back to previous page and then click another thumbnail – WHAT! you cry… in THIS day and AGE? With lightboxes and other mechanisms having been out for decades?
YEP, still does not open in a lightbox and allow sliding through the thumbnails?! Yeah Right… like me you are probably AGAST! With all the programming expertise and skills at Automattic they cannot just add a very simple lightbox? REALLY???
Do they KNOW just HOW FRUSTRATING it is to use the browser back button like we were in the 1980’s –?Come on guys PLEEEEAAASE spend 10 mins of your time and FIX THIS
]]>Is there a way to alter the default formatting of the menus for setting font and paragraph styles? If I have two paragraphs in a post that I want to be left indented and italicized, I have to click on the menu 8 times for each paragraph in order to set the margin and font appearance. Why can’t all the options be put into drop down menus that are always accessible?
]]>Recently (3.9.0 and onwards), the UI changed and replaced some checkboxes with multi select fields. These are a bit more difficult to read through and often more difficult to manage as well.
I’ve noticed that, in the plugin code, the section that previously added the checkboxes has been commented out: https://webpagefx.mangoapps.com/msc/MTM4MjcyMV8xMjA4NDc2OQ
Is there any hope that the checkboxes will make a return, either in place of the multi select field or as an option? It would be really convenient.
Thanks!
]]>I open this page for example https://jessicaamber.com.au/wp-admin/admin.php?page=eos_dp_menu&posts_per_page=30&eos_dp_post_type=page&eos_page=2
Almost none of the buttons on screen are working. The tick boxes, plug icons, the ‘filter plugins 1-19’ at top left of screen, the plus signs and sliders to the left of each page title, and more.
Buttons that do still work: just the buttons that take you to different URLs, like the Freesoul Roles Manager settings page (and the buttons therein still work), links to each plugin at top of chart, etc.
I have tried enabling and disabling the plugin, that did nothing. I guess the next thing I’ll try is downgrading to earlier version.
]]>When I try to click any of the menus with three vertical dots, such as the action menu for individual flows, the menu for individual flow steps, or the Flow Status menu, nothing happens. There are no errors in the JavaScript console upon clicking the menu icon.
The site is running WP 5.9, Cartflows 1.8.1 and Cartflows Pro 1.8.0.
I’ve tried disabling all plugins apart from Cartflows, and I’ve tried switching the theme. Nothing helps.
I am unable to delete or clone flows / flow steps, which is a nuisance as I need those features right now.
]]>Currently response writing area on both ends is at the end of the page after replies, which is really painful when thread is long.
Is there a way in settings, which allows us to set writing area on the top of replies?
Or the only is customize the plugin?
]]>