may i ask in the envanto websites,which ecommerce shopping cart can be use as html? the shopify is using liquid technology, so we cannot use the template as html . so may i ask if any ecommerce shopping cart solutions is able to create as html? i dont want right click the websites and copy the page source, because the page source is rendered html, what i want is pre-rendered html.
and about php contact form
I need help for contact php form i have fill the form but i do not get any email in the inbox, If anyone help for this issue.
try
{
$emailText = “You have new message from contact form\n=============================\n”;
foreach ($_POST as $key => $value) {
if (isset($fields[$key])) {
$emailText .= "$fields[$key]: $value\n";
}
}
mail($sendTo, $subject, $emailText, "From: " . $from);
$responseArray = array('type' => 'success', 'message' => $okMessage);
}
catch (\Exception $e)
{
$responseArray = array('type' => 'danger', 'message' => $errorMessage);
}
if (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
$encoded = json_encode($responseArray);
header('Content-Type: application/json');
echo $encoded;
}
else {
echo $responseArray['message'];
}
thx all