Thank you bro!
Posts made by Pasindu_7
-
RE: How to add custom registration fields to Woocommerce checkout ?
@lkdev you will need an 'advance woocommerce custom fields' plugin to do that.
BTW you can do it manually by adding several lines of code, bit it will be somewhat hard since you will need to interact with DB too. -
RE: How to fetch realtime Data from firebase ?
//first initialize firebase
//to sync data when object changes
//this code block takes a snapshot from database and 'console.log' it//create database reference
const dbRef = firebase.databse.ref().child('childName');//taking snapshot
dbRefObject.on('value', snap => console.log(snap.val()));//if you want to parse data to charts (chart.js, hightcharts.js) please refer their docs too.