-- HikaShop version -- : 3.1.1
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.7.4
-- PHP version -- : 7.1.7
-- Browser(s) name and version -- : CHROME
-- Error-message(debug-mod must be tuned on) -- : No error message
Hello,
I'm trying to custom the Market: Vendor registration in Hikamarket > Configuration > email options.
I already use acymailing for the user registration (not vendor) with an activation email link (confirm your account).
0. Can you confirm that it's not possible to use acymailing plugin for the vendor registration ? It is normal to not have an activation link to confirm the new vendor account (self mode) ? At the end I have 2 completely different registrations, user and vendor, the first one with acymailing + activate link in the email, the second one with hika email system without activate link...
1. Add register_username
I would like to welcome the new vendor with the username, "Dear ...,"
I tried:
<h3>Dear
<?php $class = hikashop::get('class.order');
echo $data->vendorregister_vendorname;?>,
</h3>
But no name in the email and I get this error:
Deprecated: Non-static method hikashop::get() should not be called statically in /.../public_html/media/com_hikamarket/mail/vendor_registration.html.modified.php on line 83
How to mention the vendor's infos in the email ?
2. I modified the css style:
...
<style type="text/css">
/*body.hikashop_mail { background-color:#dfccbe; color:#40332d; }*/
.hikamarket_mail { background-color:#dfccbe; color:#40332d; }
.ReadMsgBody{width:100%;}
.ExternalClass{width:100%;}
div, p, a, li, td {font-family:'Source Sans Pro', Arial, sans-serif; font-size:13px; color: #40332d;-webkit-text-size-adjust:none;}
a{cursor:pointer; color:#da1f00; text-decoration:none; border:none;font-weight:bold;}
a:hover {text-decoration: underline;}
h1, h3{font-family:'Chewy', cursive, Arial, sans-serif;color:#da1f00!important;font-size:24px;}
h2, h4{font-family:'Dancing Script', cursive, Arial, sans-serif;color:#7d6958 !important;font-size:18px;}
h5{color:#dfccbe !important;}
@media (min-width:600px){
#hikamarket_mail {width:600px !important;margin:auto !important;}
.pict img {max-width:500px !important;height:auto !important;}
}
@media (max-width:330px){
#hikamarket_mail {width:300px !important; margin:auto !important;}
table[class=w600], td[class=w600], table[class=w598], td[class=w598], table[class=w500], td[class=w500], img[class="w600"]{width:100% !important;}
td[class="w49"] { width: 10px !important;}
.pict img {max-width:278px; height:auto !important;}
}
@media (min-width:331px) and (max-width:480px){
#hikamarket_mail{width:450px !important; margin:auto !important;}
table[class=w600], td[class=w600], table[class=w598], td[class=w598], table[class=w500], td[class=w500], img[class="w600"]{width:100% !important;}
td[class="w49"] { width: 20px !important;}
.pict img {max-width:408px; height:auto !important;}
}
</style>
<div id="hikamarket_mail">
...
But it's not working, the background color...
Why the css style isn't working ?
3. Quick question to finish, is it possible to have a "View online" link ? Like with acymailing... ? This question is relative to the first one (0.)...
I'm looking forward to your response,
Best regards,