Pass php object to different script in magento -


i have php script that's called in xml show on product page tab.

i need able to retrieve attributes of current product shown in script well. example:

<?php echo $_product->getsku() ?> 

does 1 have idea how pass object, or retrieve current products id/attributes?

thanks much

you can use json_encode($object) output json , json_decode($text) put object later. there other way, depending wanna do. more specific?


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -