Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 56048

Marks questions related to the design section which holds theming and templates.

3 votes

Magento 2 - How to move the product price block before addtocart button?

Follow Below given two instructions 1.Go to the below file Magento_root/app/design/frontend/Package/theme/Magento_Catalog/layout/ Open/create file with name catalog_product_view.xml Put below … etc/page_configuration.xsd"> <body> <move element="product.info.price" destination="product.info.addtocart" before="-"/> </body> </page> 2.Go to the below file Magento_root/app/design
Abhishek Tripathi's user avatar
20 votes
Accepted

Magento 2 - How to move the product price block before addtocart button?

below location Magento_root/vendor/magento/module-catalog/view/frontend/templates/product/view Copy file with Name addtocart.phtml & paste it to below location in your theme Magento_root/app/design … > Now go to the below location Magento_root/app/design/frontend/Package/theme/Magento_Catalog/layout/ Put the below code into the file with name catalog_product_view.xml <?xml version="1.0"? …
Abhishek Tripathi's user avatar