• Resolved azizouha

    (@azizouha)


    Hello , can i use this plugin to add a new ‘add to cart’ button ? with another specific text button & URL ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @azizouha,

    Thanks for reaching out. Happy to help you with this! (Nice avatar, by the way! Orcas have always been my favorite.)

    While this plugin does not allow you to inject an additional button, it does allow you to change the “Add to Cart” button text.

    I’m happy to recommend another solution, though. Would you please tell me a little bit more about what you would like to achieve?

    Thanks!

    Marcus
    SkyVerge

    Thread Starter azizouha

    (@azizouha)

    Hi Marcus Spartacus ^^
    Thank you for commenting an answering my request ,
    (i agree the Orcas are the best they are the knights of the sea )!
    so basically i am trying to configure a website for a friend , and the website sell in cash and in installments , so i need to make 2 buttons below each product , cash paiement that redirect the client to checkout page , and the installments button will redirect the client to the eligibility forms …so that why i was looking for a plugin that helps me to create the second button and personalise the path or the url , i think all the urls will be the same for the second button .

    Thanks again for your help ,
    stay safe.
    regards

    Hi @azizouha,

    Thank you for taking the time to provide some additional detail here!

    While this plugin does not offer the ability to add a button like this, I might recommend adding just a short snippet of code to your site for this functionality.

    We have a custom code snippet that should do what you’re looking for here, so I’m happy to share it! However, please be aware of a couple notes:

    • I’m afraid that customizations are not covered under our support policy, so implementing this directly or modifying it further isn’t something we can assist with.
    • Please be sure you know how to add custom code to your site. Personally, I like the free Code Snippets plugin method.

    You can view the snippet here:
    https://gist.github.com/bae95cd1a650078a0ae6ad3b91b53630#file-custom-button-by-add-to-cart-php

    Would you please give that a try and see if that works for you?

    Thanks,
    Marcus

    Thread Starter azizouha

    (@azizouha)

    Hi ,
    awesome code , and it really helped me
    i tried to add snippet in a local website , and it worked fine and it was really helpful for the personalization , let met tell you that i used the yellow pencil , i achieved the look i wanted , so basically that snippet worked very fine
    thank you very much for help and for your support and for your time ,
    i will upload the final result , once my website will be online .
    thanks you !
    regards

    Hey @azizouha,

    Excellent, thank you for letting me know! I kept it fairly generic so that you could style it how you’d like to match your site/theme.

    Are there any other questions I can answer for you? Please don’t hesitate to let me know.

    Cheers!
    Marcus

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘new ‘add to cart’ button’ is closed to new replies.