Output the sku
I need this line of code to retrieve and display the sku and so far I cannot get it to echo the sku. Please help.
<?php echo $this->escapeHtml($this->getSku());?>
5 Replies
this is technically backend, PHP's exclusively a backend language
As for your question, that's not enough code to be able to help you I'm afraid
are you using a framework? What class are you calling
$this
in? What does getSku()
's function definition look like?Is this the wrong place to ask for backend help?
We use MAgento 1.9.
there's a #back-end channel for it 🙂
Oh, okay
I found it, thanks.
Also please use code blocks