This topic has 4 replies, 2 voices, and was last updated 1 weeks, 4 days ago ago by Luca Rossi
Hi!
we must have the ean code visible in product meta, unfortunately I cannot find the option to add it anywhere
Hi @ShoQ,
Please try adding this custom code under functions.php file locates in your child theme:
add_shortcode('et_ean', 'et_ean');
function et_ean(){
global $product;
return $product->get_global_unique_id();
}
After that add this shortcode to the text element:
Hope it helps!
it works well for products without the possibility of selecting variants, what code should I add? For example, after selecting product size, it adds the EAN code found in a given variant
Dear @ShoQ,
Thank you for reaching out to us.
Regrettably, the requested functionality is not feasible as it would require extensive customization of the code for variation products.
However, if you are interested in personalized customization, we encourage you to submit a request through our customization panel, which can be accessed via the following link:
https://www.8theme.com/account/#etheme_customization_panel. This will enable you to work directly with our technical team to explore possible solutions.
Please note that customization services may incur additional fees. The final cost will be determined after a thorough review of your specific requirements.
We appreciate your understanding and attention to this matter.
Best regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up