문제

How can i get the base url, skin url on paroduct description in magento admin panel?

Can i use this :

{{store url=""}}

{{skin url=''}}

for getting the url

EDIT

enter image description here

도움이 되었습니까?

해결책

Base URL in description field:

This is <a href="{{store url="some-link"}}">Some Link</a>.

Skin URL in description field:

This is <a href="{{skin url="images/test.jpg"}}">Some Link</a>.

Use the form without WYSIWYG editor (plain mode).

다른 팁

you can also use <p><a href="{{skin url}}images/btn_remove.gif">THis is the link</a></p>

OR <p><a href="{{skin url=images/btn_remove.gif}}">THis is the link</a></p> both work.

"skin url" etc. are magento's default variables for blocks

http://www.webdosh.net/2011/04/magento-get-skin-url-get-media-url-get.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top