Adding swatches to a mail template without using a layout

133
August 28, 2021, at 10:20 PM

I am working on a mail template and I would like to ask if it's possible to add the colour swatches functionality to a .phtml. Edit: I am working on a mail template that includes a list with items ordered that includes sizes / colour ordered.

Basically I need to get the colour to show like that in the mail. I have the data needed but I don't know how to get Magento-swatches.css working inside the phtml.

Rent Charter Buses Company
READ ALSO
How do i add functionality to my nav dots in my image slider?

How do i add functionality to my nav dots in my image slider?

Currently my nav dots do not have any functionalityHow do i add that

51
Get value from XML with keyup

Get value from XML with keyup

I'm trying to work this out, I have an HTML form, I'm currently able to fetch all details from XML to the form input fields via jQueryBut I'm trying to be able to fill out each field based on the Number field, so when I type in the number it fetches the rest of the details...

119
Calculate SHA3-256 digest of a file prefixed with shared secret

Calculate SHA3-256 digest of a file prefixed with shared secret

I am using the following code to compute the message digest of a file - in points to a file here

126