Home Forums WoodMart support forum include hooks in their add to cart button

include hooks in their add to cart button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #264042

    Dakenmarkt
    Participant

    Hello .. Verry nice template..

    Offcourse as everybody i need a little customisation to add variable products from a plugin to the cart.

    The plugin developers asks for adding 2 little hooks to be added to “add the cart button”

    woocommerce_add_cart_item_data
    woocommerce_add_to_cart_validation

    Whats the name off the file where the hooks can be placed ??
    Can you give an example how to add the hooh ourselves??

    #264147

    Hello,

    Here is the file for add to cart button: woodmart/woocommerce/loop/add-to-cart.php

    We cannot give the hooks as we do not know how the plugin would apply the buttons, it would be better if the plugin support do it.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)