How to Move Product Price Block After Add to Cart Button in Magento 2 Product Page
Serving an incredible shopping experience is an obligation of storekeeper towards their Magento store clients. From arriving on a store to settle up with the item, the client goes through the entire shopping pipe. Among which item page assumes a significant part for the client to get definite data about an item prior to making a buy. However, some of the time it's adequately not or there is data that the storekeeper will tell their client prior to making the buy.
As of late, one of the clients experiencing what is going on where he was able to let his client knows some data before they add the item to their truck. The arrangement is straightforward, we have proposed them to add a block after add to truck button, so at whatever point a client adds items to truck the individual can make note of it and can guarantee that item is an ideal fit for them or not.
Utilizing Block, we can show different data connected with the item, for example, outline, rebate, offers and arrangements, agreements or wariness and so on.
You, right off the bat, need to make your custom module and after that you to make block utilizing following code into your catalog_product_view.xml document.
app\code\Vendor\Extension\view\frontend\layout\catalog_product_view.xml
<!--?xml version="1.0"?- - >
Presently, you really want to make one more record and named it as 'File.phtml', in which you need to add your custom code which you need to show in your custom block.
app\code\Vendor\Extension\view\frontend\templates\catalog\product\view\file.phtml
In conclusion, you want to make one block 'Enquiry.php' record here. In Which you can add your own sensible capacities.
Vendor\Extension\Block\Catalog\Product\View\Enquiry.php
Comments
Post a Comment