Add merchant name to "Buy" button

This article explains how to change your "Buy" buttons to read "Buy from {Merchant Name}". For example, if the merchant's name is PetSmart, your "Buy" buttons will read "Buy from PetSmart".

Change "Buy" button to contain merchant's name.
1

Create a custom plugin

If you haven't done so already, create a custom plugin.

2

Add custom code

Add the following code to your custom plugin file.

Tip

If you also want the merchant names to appear in buttons on your store's front page and on category pages, delete lines #14 and #15 from the code below.

3

Save

Save your custom plugin changes.

Still need help? Contact Us Contact Us