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:
https://www.mercadopago.com/mla/checkout/start?pref_id=204250268-cb88c30c-7e92-49c8-9df0-d51ea289e4f4


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"

<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>


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!
Monday, April 04 2016, 07:49 AM
Share this post:
Responses (2)
  • Accepted Answer

    Saturday, April 09 2016, 01:06 PM - #Permalink
    Personally, I would consider hiding the built in "Add to cart" by using css or vqmod. Then just insert the new button code in product description, as I believe they will be different for each product.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 08 2016, 02:35 PM - #Permalink
    Hi Hernandez,

    Firstly, thank you for using Arastta.

    Unfortunately, there is no built-in solution for your request in Arastta. So, you should find a developer to make an extension or look the following article at then apply it to Arastta.
    https://www.mercadopago.com.br/developers/en/related/render-js/

    Best Regards,
    Burak Çakırel
    The reply is currently minimized Show
Your Reply