Adding custom buttons

  1. Can you please let me know how we can add custom button to all the blocks, like I want to add Buy Now button in listing blocks, and Explore Listings button in vendor blocks.

  2. How can we customize the icons inside blocks, like add to favorite?

  3. Also, can you provide the list of links, which I can use to create custom buttons? For eg.

  • Buy now - link to navigate to the checkout page
  • Explore listings - link to navigate to the specific vendor page
  • Add listing - link to navigate to create new listing for vendors
  1. If you want to add a button to a block, you will certainly have to custom php at the base of each blocks, by the FTP I think. For exemple, find the php file which render the vendor block, and add a button inside it. After you’ll need to create a code for the button pointing to the each vendors listings.
  2. You can use your element inspector to target the button and then copy the classes of the elements and adding them some CSS.
  3. For the two first link it will need specific php codes, but for the “add listing” link, you can copy it because it’s a known public link. Just copy the link when you are on the add listing page and past it in your button.

Unfortunately I don’t think it’s a big help, but your needs will require custom works.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.