WordPress.org

Forums

add text below the Add to Cart area WooCommerce (2 posts)

  1. miketopher
    Member
    Posted 3 years ago #

    Im trying to add some text below the Add to cart area with WooCommerce, WooTique theme. I found a page of hooks but not sure how to use it. The code of the button area is

    <form action="/home/dfsds22/?add-to-cart=42" class="cart" method="post" enctype="multipart/form-data">
    
    	 	<div class="quantity buttons_added"><input type="button" value="-" id="minus1" class="minus"><input name="quantity" data-min="1" data-max="0" value="1" size="4" title="Qty" class="input-text qty text" maxlength="12"><input type="button" value="+" id="add1" class="plus"></div>
    	 	<button type="submit" class="button alt">Add to cart</button>
    
    	</form>

    I found hooks here but i dont know what to do with it
    https://github.com/woothemes/woocommerce/blob/master/woocommerce-hooks.php

    line 65 i believe would be what i use. how do i assemble it to display some text below there?

    i cannot provide a link to my site at the moment

  2. laslo
    Member
    Posted 3 years ago #

    I would like to edit the content of that form too.
    Any ideas which file we should be looking at?
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.