Skip to content

How to add a custom Collect from Store(Add to cart) button on product details page & when a user clicks on it & goes to checkout Pick up in store is pre-select.

Notifications You must be signed in to change notification settings

Binstellar-Technologies/magento2-add-custom-collect-from-store-button-on-detail-page-pre-select-the-pickup-in-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento2 Add custom Collect from Store button on detail page & pre-select the Pickup in store

Magento2 how to add a custom Collect from Store(Add to cart) button on product details page & when a user clicks on it & goes to checkout Pick up in store is pre-select.

Please make sure Pick up Instore is ON.

Installation Steps

Step 1 : Download the Zip file from Github & Unzip it
Step 2 : Create a directory under app/code/Binstellar/CollectfromStore
Step 3 : Upload the files & folders from extracted package to app/code/Binstellar/CollectfromStore
Step 4 : Go to the Magento2 Root directory & run following commands

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy -f

php bin/magento cache:flush

   

Product Details Page Display Collect From Store Button

image3

   

Admin Store Configuration Added Option To Change Collect From Store Button Text

image2

   

Checkout Page Default Select Pickup In Store

image1

   

Note : We have tested this option in Magento ver. 2.4.5-p1

About

How to add a custom Collect from Store(Add to cart) button on product details page & when a user clicks on it & goes to checkout Pick up in store is pre-select.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages