View product in frontend from Magento admin

Featured Image

When you are editing some product in Magento admin and want to check it out in frontend of your Magento project, how do you find this particular product? Do you search for it, navigate to it using product url key or just browse to it? Well, however you do it, I’m going to give you the easiest way to get to your desired product in the frontend – view product link.

Tadic_AVP screenshot

Here’s an extremely lightweight Magento extension which will provide you with a simple view product link next to a product name, in Magento admin. It will point to a product view page in the frontend of your Magento project. Simple and easy.

https://github.com/ivicatadic/Tadic_AVP
or for donwload
Tadic_AVP

All you have to do is copy the content of Tadic_AVP extension (app folder) to a root folder of your Magento project – and that’s it. I hope this simple extension will prove to be useful to you.
Thanks to Branko Ajzele for an idea.

Cheers

14
Top

Enjoyed this post?

Subscribe to our RSS Feed, Follow us on Twitter and spread it to your friends!

Author

Ivica Tadic

Team Leader

Ivica is a back-end Magento developer with a prominent goal towards the innovative and sustainable application development.

Other posts from this author

Discussion 14 Comments

Add Comment
  1. Great idea, but it doesn’t take into account a custom URL for the product, so I get a 404 when I click it.

  2. I think that it would we wonderful that you can see products “No visible individually” or add a new option in visibility or let user being capable to see not habilited products…

  3. Simply the best. Can you extend this extension so that there is preview for following pages too:
    - Categories
    - CMS Pages
    - Homepage (link somewhere near logout)

    Keep up your good work!

  4. Rob

    Works great. Only thing I had to change for use in Magento 1.3.4.2 was:

    $url = $this->getProduct()->getUrlInStore();

    $url = $this->getProduct()->getProductUrl();

  5. Raul Sanchez

    Working with different stores & language codes (such as /en or /es) added to URLs seems to break this great extension…

    getUrlInStore() gets Admin url, instead of the appropiate Front url… any ideas to fix this?

  6. Raul Sanchez

    I am pretty sure there should be a better way to do this, meanwhile…

    I’ve fixed it changing…

    $url = $this->getProduct()->getUrlInStore();
    

    with…

    $url = Mage::app()->getDefaultStoreView()->getBaseUrl().$this->getProduct()->getUrlPath();
    

    Regards

  7. Nick

    I am using this on our store right now. I used Raul’s suggestion and it is working just great using the URL Path. Thanks for the great extension!

  8. Scott

    Works great.
    I owe you 10 minutes of every day I work !

  9. i have created some simple products in the admin panel of my magento site..but i don’t know the exact procedure of displaying them in the frontend..

    ..can anyone help me out please..?

  10. Zorro

    Yes i got solution .thax

  11. Dan

    Thanks much! Raul’s fork works great, based off your work!

  12. Can we put custom URL to see product preview in frontend from admin section ?

    Which can be accessible for admin user only.

  13. We have coded an own Product Preview extension for Magento. Futhermore you can preview CMS Pages too. You don’t have to activate the products and cms pages, so your customers and google can’t see them. For all Seos, you see the real product url in frontend, like google and your customers did.

    Try it.

  14. https://github.com/ivicatadic/Tadic_AVP

    +

    Raul’s modification

    =

    working on Magento 1.7.0.2

    thanks bru :)
    (pssttt it’s free :p)

Add Your Comment

Please wrap all source codes with [code][/code] tags.
Top