Denver Prophit Jr. Posted May 30, 2016 Share Posted May 30, 2016 I'm building a module and need to access the value for product cover alt image [ 1 ] text. I thought it would be via $imagealt = Product::getCover() But, I cannot find any documentation on the values I can pull from that function. Suggestions? Link to comment Share on other sites More sharing options...
NemoPS Posted May 30, 2016 Share Posted May 30, 2016 That only gets values from image_shop, while the legend (alt) is stored in image_lang. You need a custom query I believe 1 Link to comment Share on other sites More sharing options...
Denver Prophit Jr. Posted May 30, 2016 Author Share Posted May 30, 2016 (edited) That only gets values from image_shop, while the legend (alt) is stored in image_lang. You need a custom query I believe I'll test {debug}. Am not sure if the legend is already assigned a smarty global and how to pull that into my module? A documentation link or anything to read would help me learn. Edited May 30, 2016 by Denver Prophit Jr. (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted June 1, 2016 Share Posted June 1, 2016 Sadly, there is no docs for it. In the module you can just create a custom query, like normal SQL query, then use $this->context->smarty->assign Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now