WordPress.org

Ready to get started?Download WordPress

Forums

woocommerce: hook for displaying short description of each product in review (2 posts)

  1. fatz
    Member
    Posted 1 year ago #

    dear wordpress-folk!

    since I´m new to programming within the templates of wordpress I´m having a question concerning the woocommerce plugin.

    I would like to display - in addition to the product itself- the short description of every product (which is in the cart) in the order review.
    you will find the order review at the very end before bying an item in the shop.

    I´m not too familiar with php and including hooks but have been researching for a long time. everything I tried so far went wrong and I´m hoping to get some help from you! :)
    there are some hooks I figured out which could help in this case, i.e.:

    function attributes() {
    echo “<p>(attributes)</p>";
    }
    add_action( ‘woocommerce_single_product_summary’, ‘attributes’ );

    and some of the .php documents it could concern: form-checkout.php, review-order.php or short-description.php

    the site I´m concerned of is http://taphornkunterbunt.net/wordpress/shop/

    thanks to you all for helping me out!

    greetings
    Steffi

  2. stef415
    Member
    Posted 1 year ago #

    I have a similar question, but I want to display the product short description on the cart page, below the meta data of each product in the cart.

    Stephanie

Topic Closed

This topic has been closed to new replies.

About this Topic