WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » What hooks and actions are needed to add multiples of a single product to car?

What hooks and actions are needed to add multiples of a single product to car?

  • I have linked a question on stackoverflow where you can find the full question and details.

    My objective is to be able to add ‘x’ number of a single simple product to cart with a button click. I would like to replicate that add to cart function on the view product page, where the user can select the number of product to add to cart at the same time.

    I have dug through and tried a few things, but I am just unable to get the right actions and hooks to run in order to allow users to add multiple products straight from the shop page (and not view single product page).

    Also the final question: Is this even possible? There’s no way to replace use the <form> on woocommerce/templates/single-product/add-to-cart/single.php

    Stack: http://stackoverflow.com/questions/16309794/woocommerce-adding-x-number-of-products-thru-add-to-cart

    http://wordpress.org/extend/plugins/woocommerce/

  • The topic ‘What hooks and actions are needed to add multiples of a single product to car?’ is closed to new replies.
Skip to toolbar