• Resolved ndjworldnews

    (@ndjworldnews)


    Hallo, thanks for the gift card plugin. Works well and easy to use. Great job.

    My question:

    How can I add a Buy now button on the gift card summary page and that routes directly to the checkout page when clicked on it? Presently I have such setup on the Woocommerce single product page but the gift card page does not show the buy now button only the add to cart button.

    Thank you.

    Lode

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author pimwick

    (@pimwick)

    Unfortunately there isn’t an option to do this from within our plugin. If you are using another plugin for the “Buy Now” button on the single product page you should reach out to that developer for assistance.

    The PW Gift Card product type is just an extension of the Variable Product so as long as the “Buy Now” button can work for Variable Products it should be able to work for PW Gift Card product as well.

    Thread Starter ndjworldnews

    (@ndjworldnews)

    Hi;

    Thanks for the response. No I am not using another plugin to accomplish this. I hard-coded the buy now button into the woocommerce single product php file. I gather that PW does not use that same php file to display its single product page. As such can you guide me as to what file I need to modify?

    thanks.

    Lode

    Plugin Author pimwick

    (@pimwick)

    Hi Lode, it might be this file:

    /wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variation-add-to-cart-button.php

    Thread Starter ndjworldnews

    (@ndjworldnews)

    Thank you very much. Appreciate the quick response.

    Stay safe.

    Lode

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘replace add to cart with buy now’ is closed to new replies.