Home Forums WoodMart support forum (Add to Cart) code location

(Add to Cart) code location

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

    ahassoun
    Participant

    Hello,

    I want to add a PHP code that appears next to the Add to Cart button, in the 3 different places:

    * Normal place after product description
    * Sticky footer (enabled)
    * Mobile version

    I have looked at /woodmart/woocommerce and /woodmart/woocommerce/cart and spent some time there but couldn’t find where I should insert my code.

    Please advise.

    #222789

    Hello,

    You can add any content in the Theme Settings > Product page: http://prntscr.com/u9ocr8

    Please find this file woodmart\inc\integrations\woocommerce\template-tags.php and this function: woodmart_sticky_single_add_to_cart() to edit this area sticky add to cart. http://prntscr.com/u9ocr8

    Best Regards

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