Change Shopping Cart Currency Use Symbol at Send Order Email - BlogrCart Themes

Learn how to AMP'd your blog with valid AMP HTML Blogger theme framework. Visit Blogr-AMP Theme and AMPaction Theme. No 3rd party application. Compatible with published posts. Quick in search & on any devices.
Update 26 July 2016 - Now BlogrCart WHITE, PLUS & BUTIK Blogger shopping cart theme/template in version 2.0, more powerful & less setups to quickly build your online store without any CODE EDITS. View the new collection here http://blog.irsah.com/gallery. For ver 2.0's, changing currency symbol at send order email notification body does not have to edit any code!

Original Article 6 September 2015
A quick tutorial on how to send your currency symbol to display at the email invoice (send order email) using BlogrCart Blogger store templates - e-commerce for Blogspot themes powered by simplecartjs - a lightweight shopping cart plug-in for websites & blogs.

Did you know that more than 30,000 Freemium & PRO versions BlogrCart Blogshop/Blogger store theme/templates have been downloaded & used per year. Find why with more themes here at our blogspot template gallery/repository.


You probably have noticed ( in screenshot ), the free unlimited send order email that comes with BlogrCart Blogger themes/template has a new upgrade. A minimalist styled design, neutral color theme to suit any website - where the orders came from (your Blogger store). Works great & professionally displayed for your buyers purchasing/sending orders at your Blogshop or Blogger store.


This useful function has been requested by many of our BlogrCart Blogspot e-commerce (or blogshop) theme/template fans from Indonesia, India, Bangladesh, Vietnam. Thailand & neighboring countries.

Instead of displaying the currency codes ie IDR, INR, VND, MYR, BND, BDT etc, now Blogger store owners can easily display their currency symbol right from their BlogrCart theme/template setups (also depends on browser/email provider symbol encoding/display).

Tutorial How To Include Currency Symbol at Checkout Send Order Mail

In older versions of BlogrCart templates ie White 1.0, Butik 1.0, Mukabuku 1.0 & Plus 1.0, the add on functions depends on your current setup. Please contact us for the details & our team members will definitely help out.

For BlogrCart Closet v1.0

Go to Template > backup your template (if necessary) > Jump to widget HTML99.

Expand <b:includable id="cart-email-settings">...</b:includable> to view your Blogrcart email settings.

The email functions will look like so:-

<script>
//<![CDATA[
function passEmail(){
  simpleCart({
    checkout:{ type:"SendForm", method:"POST", extra_data: {

... lots of codes ....

      }
    }
  }); // THIS IS YOUR REFERENCE

  simpleCart.checkout(); // THIS IS YOUR REFERENCE
};

... more codes ...

</script>

In between // THIS IS YOUR REFERENCE , add below functions:-

var currency_symbol = simpleCart.currency('symbol')['symbol'];
simpleCart.currency({ symbol: currency_symbol });

Now your new functions should look like so:-

<script>
//<![CDATA[
function passEmail(){
  simpleCart({
    checkout:{ type:"SendForm", method:"POST", extra_data: {

... lots of codes ....

      }
    }
  }); // THIS IS YOUR REFERENCE

  var currency_symbol = simpleCart.currency('symbol')['symbol'];
  simpleCart.currency({ code: currency_symbol });

  simpleCart.checkout(); // THIS IS YOUR REFERENCE
};

... more codes ...

</script>

Click Save Template & test sending your email orders.

Automatically the shopping cart from your BlogrCart Blogspot store will send your current currency symbol from your store to the send order email. Cool Eh??? (view screenshot) With 2 line of add-ins, your template can be customized according to your Blogger store needs.

You probably have noticed the price format (as per screen shot) also has an upgrade. Now supports digits, decimal, delimiter displays for countries using special format for example Rp 1.000.000,000 for Indonesia Rupiah etc.

This new feature will be rolled out soon & BlogrCart Blogger store template users free, premium or PRO can use it easily by setting (or editing) the add on functions within the theme itself.

Any great ideas for us to enhance the send order mail for BlogrCart Blogger store template & themes? Throw in your ideas below at the comments section. We love to hear from you.
New shopping cart widget for Blogger blogs -- transform your blog & sell products using your blog posts instantly! Visit Add Shopping Cart Widget Page to learn more.

Interesting Related to this Topic at Irsah inDesigns Blog

Got It!

Data submitted via comments collected & stored by the respective providers.

Read our Privacy Policy to learn more on data management & protection.

DISQUS With Us!