Como agregar otra informacion en la tienda a cada producto

This topic has 6 replies, 2 voices, and was last updated 4 months, 3 weeks ago ago by Luca Rossi

  • Avatar: belen
    belen
    Participant
    July 23, 2024 at 11:36

    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.

    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    July 24, 2024 at 04:30

    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!

    Avatar: belen
    belen
    Participant
    July 24, 2024 at 20:17

    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?

    Avatar: Justin
    Luca Rossi
    Support staff
    July 25, 2024 at 05:37

    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

    Avatar: belen
    belen
    Participant
    July 25, 2024 at 14:22

    descargue el plugin pero no encuentro la forma de agregar la informacion que necesito a cada producto, sabes como hacerlo?

    Avatar: Justin
    Luca Rossi
    Support staff
    July 25, 2024 at 18:11

    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

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.