How to add tracking url in shipment email for customer in magento 2

You can copy vendor/magento/module-sales/view/frontend/email/shipment_new.html to your theme and edit line 56 (here you can change block for which display track information), you can change it like this

After that you need create this block

Then copy template vendor/magento/module-sales/view/frontend/templates/email/shipment/track.phtml to your theme and change line 25 to

You also may need copy vendor/magento/module-sales/view/frontend/email/shipment_new_guest.html […]

Read More >

How to Solve error (Uncaught Error: Cannot instantiate interface CopyConstructorInterface)

Creating an upgrade script for cloning a product with \Magento\Catalog\Model\Product\Copier has a bug.

Then have error when use product Copier function :

Simple try the our solution below : Create di.xml file in frontend folder with the content below :

See image : This solution also applied for magento 2 issue 7056 […]

Read More >

How to show error when checkout with magento 2 (An error occurred on the server. Please try again)

Go to the file : vendor/magento/module-checkout/Model/PaymentInformationManagement.php vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php Change function savePaymentInformationAndPlaceOrder() from

To

Check log and see result ! Thank for reading this post, Hope it helps.

Read More >

How to import and export a database via SSH or cPanel

You can easily import/export your database using phpMyAdmin menu in cPanel. To do so, it allows processing only the databases that do not exceed 50Mb. If your database is bigger, you will need to use SSH commands. Note that before performing an export or import, you will need to assign a database to a user. You can do it in cPanel […]

Read More >

How to install Magento Extension via Magento Connect

Before starting installation via Magento connect, you would like read this post from step 1 to step 3. And make sure the module package are available install via Magento connect. Step 4. Go to System  > Magento Connect > Magento Connect Manager Step 5. Login by your admin user and password Step 6. Upload module […]

Read More >

How to Install a Magento Extension Using FTP

Usually you can install Magento Extension by using Magento connect (check here), however, sometimes you have to manually install through FTP or SSH. It is not that difficult! Let’s have a look at the article below which will give you confidence to install all modules without having to buy extra installation options. In any circumstances, before […]

Read More >