Home Forums WoodMart support forum Location for add to cart & buy button

Location for add to cart & buy button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #623257

    adam.maznev
    Participant

    Hi there,

    Could you kindly let me know where the code for add to cart, buy now button is located both for carusel and product pages as i want to edit the code myself
    Thanks

    Adam

    #623450

    Luke Nielsen
    Member

    Hello,

    Single product – wp-content/plugins/woocommerce/templates/single-product/add-to-cart/simple.php
    Product loop – wp-content/themes/woodmart/woocommerce/loop/add-to-cart.php
    Buy now – wp-content/themes/woodmart/inc/integrations/woocommerce/modules/quick-buy/class-main.php https://prnt.sc/DoZb1YlnyXFL

    Kind Regards

    #623515

    adam.maznev
    Participant

    Thanks Luke

    One more thing,
    Where is the javascript located for the buy now button?
    Thanks

    #623986

    Luke Nielsen
    Member

    Hello,

    The buy now button doesn’t have the javascript, all functionality of that button you can find in its file.

    Thank you for your time.

    Kind Regards

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