We are developing a Rental based Website with Magento 2.

In the Rental product, there are options for both shipping and pickup.

If the product is pickup, then we want to show the approximate location of store from the end user under the product title as below screenshot.

How can I do that?

enter image description here

Could anyone please help me with this?

  • Can you please add a screenshot here. What exact you want. – Ravi Soni Jul 5 at 6:48
  • @RaviSoni, Added screenshot, please check and suggest me – Siva Jul 5 at 8:35

I can suggest you a file.

Override below file for implementation:


You can override this file in your custom theme.

And you can implement there you customization for locations.

  • Thanks. Can you please suggest me how to display the approximate location from the end user as in the attached screenshot? – Siva Jul 11 at 9:00
  • You can set the product attribute there. And get here in the above file. – Ravi Soni Jul 12 at 9:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.