Purchase theme button generator

Hi all,

i have made it one button generator and want to share with you this button looked like demo links below:

http://devsolution.info/themes-html/DENTIST/
and
http://devsolution.info/themes-html/argon-wp/

for the moment we have 2 style of button its easy to use, this button help your client to purchase direct from site when is closed themeforest frame window

How to use

<script>
	!function() {
	  var t;
		  return t = window.devs = window.dev = window.devs || [], t.init ? void 0 : t.invoked ? void (window.console && console.error && console.error("Purchase Button snippet included twice.")) : (t.invoked = !0, 
		  t.methods = [ "identify", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ], 
		  t.factory = function(e) {
		    return function() { var n; return n = Array.prototype.slice.call(arguments), n.unshift(e), t.push(n), t;}; }, t.methods.forEach(function(e) { t[e] = t.factory(e); }), t.load = function(t) {
		    var e, n, o, r; e = 3e5, r = Math.ceil(new Date() / e) * e, o = document.createElement("script"),  o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "http://devsolution.info/purchase-btn/" + r + "/" + t + ".js", n = document.getElementsByTagName("script")[0], n.parentNode.insertBefore(o, n);
		  });
		}();

     // Settings
    dev.PURCHASE_ID 	= '10861303'; // Product Id
    dev.NAME  		= "DENTIST"; // Product Name
    dev.STYLE           = 2; // 1 or 2
    //dev.COLOR         = "000"; // need to be HEX Color without dash
    dev.load(dev.PURCHASE_ID);
</script>

add this code before end </body>, i hope you like this purchase button generator we will do more options in future
sorry for my poor english

1 Like

I like it sami. Good work :smile:

Thank you brother i hope to like and others