GTIN für variable Produkte
-
Hallo,
ich nutze aktuell diesen Code um die EAN unter den Produkten mit Hilfe von Rank Math anzeigen zu lassen:
add_action( 'woocommerce_product_meta_start', function () { global $product; $gtin_code = WC_trusted_shops()->trusted_shops->get_product_gtin( $product ); if ( ! $gtin_code ) { return; } echo '<span class="rank-math-gtin-wrapper">'; echo 'EAN:'.' '.$gtin_code.'<br/>'; echo '</span>'; } );
Wie kann ich ihn modifizieren, dass die GTIN der Variation angezeigt wird? (alle meine Produkte sind Variationen)
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘GTIN für variable Produkte’ is closed to new replies.