1

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?

closed as unclear what you're asking by Aasim Goriya, Manashvi Birla, Piyush, Shoaib Munir, Muhammad Hasham Jul 12 at 7:22

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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
1

I can suggest you a file.

Override below file for implementation:

/vendor/magento/module-theme/view/frontend/templates/html/title.phtml

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.