Change function of button "add to cart"
Posted: Mon Apr 04, 2016 1:01 pm
Hello, first of all thank you for this amazing store that you have made.
I'm having trouble changing the value of "add to cart" to which you add to cart the product .. button The point is that I do not want to use a cart in my store, but I want to do is to click on "add to cart "a pop-up to take you to this web page opens
Such as this:
Each product will have its own link which will be specified when creating the product.
The idea is based on the buttons MercadoPago, they already you provisioned a code with a very nice script, but the payment button is very ugly and I love to Arastta (I change the text of "add to cart" to "buy product")
Here is the example of MercadoPago talk button so they see and can understand how I would like the popup opens when click on "buy product"
Since already many thanks and sorry for the vocabulary since I am Spanish.
I hope prompt response because I need your help very urgently
Regards!
I'm having trouble changing the value of "add to cart" to which you add to cart the product .. button The point is that I do not want to use a cart in my store, but I want to do is to click on "add to cart "a pop-up to take you to this web page opens
Such as this:
Code: Select all
https://www.mercadopago.com/mla/checkout/start?pref_id=204250268-cb88c30c-7e92-49c8-9df0-d51ea289e4f4
The idea is based on the buttons MercadoPago, they already you provisioned a code with a very nice script, but the payment button is very ugly and I love to Arastta (I change the text of "add to cart" to "buy product")
Here is the example of MercadoPago talk button so they see and can understand how I would like the popup opens when click on "buy product"
Code: Select all
<A mp-mode = "DFTL" href="https://www.mercadopago.com/mla/checkout/start?pref_id=204250268-cb88c30c-7e92-49c8-9df0-d51ea289e4f4" name = "MP-payButton" class = 'blue-ar-l-sq-none'> Pay </a>
<S-cript type = "text / -javascript">
(Function () {$ MPC_load function () {$ MPC_loaded window == true && (function () {var s = document.createElement ( "script").! S.type = "text / -javascript"; s.async = true; s.src = document.location.protocol + "// secure.mlstatic.com/mptools/render.js";var x = document.getElementsByTagName ( 'script') [0]; x.parentNode.insertBefore (s ., x) $ MPC_loaded window = true;}) ();} $ MPC_loaded window == true (window.attachEvent window.attachEvent ( 'onload', $ MPC_load).!? window.addEventListener ( 'load' , $ MPC_load, false)): null;}) ();
</ Script>
I hope prompt response because I need your help very urgently
Regards!