• hey guys, when someone visits any product page the purchase button is visible on after the product description, but I want to hide that and ( [purchase_link] ) the purchase button will be visible only on that place where I have added the shortcode.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @iftikharalam

    Yes, you can do it easily. Please refer below screenshot
    https://prntscr.com/o57d52

    Please tick the “Button Options” so the automatic output will be disabled. Now you can put the [purchase_link] shortcode where you want to add.

    Thread Starter Iftikhar Alam

    (@iftikharalam)

    is there any way I can apply the screenshot option to all of my products automatically.

    Hi @iftikharalam

    Right now you need to go through each product and check the checkbox.

    There is one way from coding. I can provide you little code snippet to disable purchase link for all but still you have to go through each product to add [purchase_link] shortcode ??

    Thread Starter Iftikhar Alam

    (@iftikharalam)

    is it possible to disable the automatic output of the Purchase button for all of my future products?

    Hi @iftikharalam

    You can use below code to remove the automatic output of “Purchase Button”. Please add below code to theme / child theme functions.php file

    remove_action( 'edd_after_download_content', 'edd_append_purchase_link' );

    Above code will remove the “Purchase Button” from every download (Product) page and also the checkbox “Disable the automatic output of the purchase button” will not work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘add purchase button on a pacific place’ is closed to new replies.