Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Can static block display variable? 
 
chll
Sr. Member
 
Total Posts:  134
Joined:  2008-12-17
 

I want to create a static block
The block would display a photo with link:
http://(((http://www.external-site.com)))/(((product-url-key))).jpg

http://www.external-site.com is different for different store view
product-url-key is url key of the product

For example, in the product page of ProductA (its url key is “producta")
The static block in that page will display a photo with link:
http://www.external-site_A.com/producta.jpg (for site view A)
http://www.external-site_B.com/producta.jpg (for site view B)

May I know whether static block can do it?
If so, how I can implement it?
Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
supportfree
Jr. Member
 
Total Posts:  8
Joined:  2009-05-23
 

Try this: http://demo.hello-magento.com/freecms/electronics.html
---

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top