How to shorten the preview link?

Created by Nicole Le, Modified on Mon, 31 Jul, 2017 at 9:44 AM by Robin Hoang

Question:

How to shorten the preview link?

Example:

http://demo.bsscommerce.com/magento-admin-preview/index.php/adminproductpreviewplus/product/preview/id/905/key/45cd4e5c3c4abee62ea2c3de9df9ea3df6bd26d0?___store=default


Replace: /adminproductpreviewplus/  to : /admin/


Answer:


If you want to change the /adminproductpreviewplus/ on preview link, you could edit the code in red sections:

http://prntscr.com/eskngk

http://prntscr.com/esknzq


Files:

Bss/AdminProductPreviewPlus/Block/Adminhtml/Catalog/Product/Grid/Renderer/Preview.php

Bss/AdminProductPreviewPlus/etc/config.xml


For more information about product, please refer Admin Product Preview Plus page.

If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 1 Extensions: https://bsscommerce.com/extensions.html

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article