This topic has 6 replies, 2 voices, and was last updated 4 months, 3 weeks ago ago by Luca Rossi
Buenas tardes, queria consultar como se puede agregar otra informacion a cada producto en la tienda. Necesito escribir el precio al detalle ya que es una tienda mayorista y se pueden comprar por pack de cierta cantidad pero necesito agregar otro item con el precio que queda cada unidad. En la captura adjunta muestro exactamente en que parte necesito agregar la informacion.
Hi @belen,
Please add the following code under functions.php file locates in your child theme:
add_filter('after_etheme_product_grid_list_product_element_title', 'n2t_after_etheme_product_grid_list_product_element_title');
function n2t_after_etheme_product_grid_list_product_element_title(){
echo '<div class="custom-code">Your Text Will Go Here</div>';
}
Don’t forget to replace Your Text Will Go Here with your texts.
Hope it helps!
En esa parte necesito poner los precios por unidad. Es posible que el texto sea distinto en cada producto? O será el mismo en todos?
Dear Belen,
We hope this message finds you well.
We would like to inform you that the text will remain consistent across all products. Should you wish to display a different value for each product, we recommend utilizing the Advanced Custom Fields plugin, which can be found at: https://wordpress.org/plugins/advanced-custom-fields/
This plugin will allow you to assign and display custom field values for each product individually.
We hope you find this information helpful. Should you have any further questions or require additional assistance, please do not hesitate to contact us.
Best regards,
The 8Theme Team
descargue el plugin pero no encuentro la forma de agregar la informacion que necesito a cada producto, sabes como hacerlo?
Dear Belen,
We hope this message finds you well. We are pleased to share with you an informative article that we believe will be beneficial for your endeavors. The article provides detailed guidance on how to add custom fields to WooCommerce products.
You can access the article here: [https://webappick.com/add-custom-fields-to-woocommerce-products/](https://webappick.com/add-custom-fields-to-woocommerce-products/).
Should you have any questions or require further assistance, please do not hesitate to contact us.
Best regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up