mageprince / magento2-buynow

The Buy Now extension for Magento 2 enhances the shopping experience by allowing customers to make instant purchases with a single click. It adds a "Buy Now" button to product pages, enabling customers to bypass the cart and proceed directly to the checkout page.

Home Page:https://mageprince.github.io/magento2-buynow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to link button to cart

josiahglassone opened this issue · comments

How can I link the button to the shopping cart page instead of the checkout/#shipping page?

Hi @josiahglassone ,
Change line $this->goBack($baseUrl.'checkout/', $product); To $this->goBack($baseUrl.'checkout/cart/', $product); from line #L81

Works great! Thank you very much!