How to upload jquery.currencies.min.js file as a theme asset in Shopify

Shopify app provides currencies.js library which is built to work around common floating point issues in javascript. jquery.currencies.min.js file is an expansion of currencies.js library and plays an important function in your store. currencies.js changes only a money amount from one currency to another; whereas, jquery.currencies.min.js changes all money amounts on your store’s page and shows a formatted consequence with a currency symbol and descriptor.

If you make an allowance for your customers to check out in multiple currencies, it is necessary to upload jquery.currencies.min.js file as your theme asset. Read this intructional post on How to upload jquery.currencies.min.js file as a theme asset with several uncomplicated steps carefully to apply in your store.

How to upload jquery.currencies.min.js as a theme asset

Step 1: Download ZIP package

If you want to upload jquery.currencies.min.js, the very first step is downloading the ZIP package in this GitHub page. Under the Clone and download drop-down menu on the right of the page, select Download Zip to start downloading.

v

Step 2: Unzip package

When downloading process is finished, you have to unzip the package to take other steps.

You are able to upload jquery.currencies.min.js on both Windows and Apple/Android. If you are using Windows, please follow next steps below.

Step 3: Do to Theme section

Go to Online Store from your Shopify admin. Then click Themes to set up or modify your settings.

Step 4: Edit theme

When you visit Themes directory, you can see a list of available themes, then find one of them that you want to edit. You also see Actions in each theme. Click it and then choose Edit code tab.

Step 5: Select Asset

Select Assets in the Edit code file.

Step 6: Add new asset

This step allows you to insert another asset besides existing ones. Click Add a new asset.

Step 7: Browse the file

Under Upload a file tab, click Choose file and browse the jquery.currencies.min.js package you unzipped in __step 2__.

v

Step 8: Upload asset

After browsing process is completed, you have to click Upload asset at right bottom to upload jquery.currencies.min.js file as a theme asset.

If you are using Apple/Android, there will be not many differences. You have to replace Step 3 above with some simply small steps below:

  • Go to Store from the Shopify app.

  • You will not immediately see Online store when you enter your app. But you only see it after clicking Sales channels section.

  • Instead of finding Themes like that on Windows, you need find Manage themes to set up.

Then, follow exactly the same content from Step 4 to Step 8 to save changes and finish your uploading process.

Conclusion

Uploading jquery.currencies.min.js file as a theme asset in your Shopify store is a great idea once you let your customers pay for their products in different currencies. If it can convert all money amounts and display a configured result, it is much easier for your customers to choose their local currencies. We hope that this writing provides you with useful information to take steps on upload this file in your own store. Thank you for reading and keep following our next tutorials on this website to get more ideas.