Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there,

    You shouldn’t have to manually use a shortcode to get an add to cart button to appear on the product page.

    Please make sure your product is in stock & it has a price set. Once you have those set the add to cart button should automatically appear.

    Here’s some more documentation about setting up your products: https://docs.woothemes.com/document/managing-products/

    Thread Starter DS1616

    (@ds1616)

    Hello, yes the button appears next to product images.

    But I’d like to try adding the button to the end of the descriptions (so visitors don’t need to scroll up again).

    It doesn’t work on the product page or any other page. On other pages it looks like this

    https://prntscr.com/bgaax3

    and like this upon hover

    https://prntscr.com/bgab3b

    Thanks

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    If this is a simple product, you won’t need a shortcode. Just add some HTML to your product description via the ‘text’ editor.

    <a href="LINK" class="button">Add to cart</a>

    Replace the LINK with the product URL plus ?add-to-cart=X, X is the ID of the product.

    Thread Starter DS1616

    (@ds1616)

    Worked. Thanks

    I am a newbie to WordPress/woocommerce.

    Would someone tell me which file and the exact code to add
    “Add to Cart” button next to product’s description, PLEASE!!!!!

    A theme I use has this problem, and i tried everything already.

    Please show step by step, if you can. THANKSSSSS

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add to cart button / shortcode not displaying propely’ is closed to new replies.