Support » Plugin: WooCommerce » Add to cart shortcode for variable product

  • Resolved chicstyled

    (@chicstyled)


    Hi, I’d really like to place another add to cart button for a variable product at the end of the long description.

    Is there a shortcode I can put into the page for a variable product – cart button?

    Any suggestions would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK

    (@riaanknoetze)

    Hi there,

    It’s easy enough to use a shortcode to add an “Add to Cart” button anywhere on the page – although you’ll need to know the exact variation that should be added to the cart.

    There’s an in-depth guide on how to do that available here: http://www.remicorson.com/add-woocommerce-variable-product-with-variations-to-cart/

    If you’d like to use a traditional add-to-cart button that takes the selections into account (as set in the select fields at the top), then you’d need to use some custom coding. The coding required is a bit complex, although the following resource will point you in the right direction: https://docs.woocommerce.com/document/template-structure/

    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    mulli.bahr

    (@mullibahr)

    Hi
    I have the same qusetion.
    The link you gave above does not exist.

    I need add to cart button for a variable product with 2-3 variations, in a table.
    Unfortunately, none of the existing plugins (free or paid) provides it.

    Anybody know’s about the countdown timer that perfectly work in home page categories page and tag page as well. i find one (Sales Countdown Timer)but it only work in Categories page.Any idea to make it work for other page or any other option, like to use every individual product.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add to cart shortcode for variable product’ is closed to new replies.