How do I add the Pay with Amazon code block to my customized "view_cart.html" template?

If you would like to use Pay with Amazon, and have previously made customizations to your store's view_cart.html template, you will need to consider the following two options in order to have the Pay with Amazon function appear on your checkout page.

Option 1: Favor the global file from the common folder.

The easiest method to use will be to remove your customized template file and just favor the file that comes from the folder. To do this, simply FTP to your store's FTP access and navigate to web/assets/template/[them_folder] (where [theme_folder] is your store's chosen theme.

Once there, simply rename or delete the existing view_cart.html file

The store will then favor the global view_cart.html file that is served from the common folder.

Option 2: Add the necessary coding to your customized template file.

On the other hand, if you do not wish to lose whatever customizations you may have on the view cart page, then the second option would be to manually add the necessary coding to the page yourself.

To do this:

Go to Settings >Design >Themes & Styles

At the top right of the page, click on the "More" button and select "Edit Template (HTML)"

Please Note The information in this article is provided solely as a courtesy and to offer basic instructions on making very simple changes to your store's HTML templates.

Please understand that - regardless of how simple the changes may be - HTML changes and troubleshooting fall outside the scope of our support department. The 3dcart support team is neither trained, qualified, nor allowed to make these changes for you. The boundary of our scope in this matter is limited to providing these instructions and helping you reset the template if the changes don’t work as you wanted.

If you are uncomfortable with making changes to your site’s HTML, please contact your sales representative and inquire about our HTML and design services which can make these changes for you.