Questions tagged [getresource]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
2k views

getResource is deprecated, what is the alternative?

getResource() is deprecated so my question is what do I need to use instead to be future proof for next updates. I use this function like below in the catalog list.phtml $seedBank = $_product->...