Search
Get Started
KP-C
Kevin Powell - Community
•
3y ago
Spiritual Tech
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
(
)
)
;
?
>
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,373
Members
View on Discord
Was this page helpful?
Yes
No
J
Jochem
•
1/16/23, 4:18 PM
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
J
Jochem
•
1/16/23, 4:19 PM
are you using a framework
? What class are you calling
in
? What does
's function definition look like
?
S
Spiritual Tech
OP
•
1/16/23, 4:19 PM
Is this the wrong place to ask for backend help
?
S
Spiritual Tech
OP
•
1/16/23, 4:19 PM
We use MAgento 1
.9
.
J
Jochem
•
1/16/23, 4:19 PM
there
's a
#back
-end channel for it
S
Spiritual Tech
OP
•
1/16/23, 4:19 PM
Oh
, okay
S
Spiritual Tech
OP
•
1/16/23, 4:21 PM
I found it
, thanks
.
S
StefanH
•
1/16/23, 5:21 PM
Also please use code blocks
$this
$this
getSku()
getSku()