Hello everyone,Does anyone know how to change 'Add To Cart' button text and relink the button?
Sometimes I need to direct customer from my store to another place in the net.I followed these 2 guides:https://community.magento.com/t5/Magento-1-x-Admin-Configuration/Changing-Add-to-cart-button-text-an...
But they're the guide for Magento 1.9. The curent version is Magento 2.2.6 and the code is different, I can change the button text,but can not relink it. I created an atrribute 'get_link' to get the external URL from user's input, but it did not work.This is my code for the file 'addtocart.phtml' within current theme:https://drive.google.com/file/d/14WUsLE1arTCSX2V0jqKzmTkSH6fwY9X6/view?usp=sharing
Or, does anyone know where I can find information for this problem?Hope you will take a look.Thank a lot!!