Quote from: Jumbo! on July 17, 2024, 16:59:39 PMQuote from: Margriet on July 16, 2024, 08:17:17 AMThis is crazy! Why should one change core files in a clean install?
We do not expect to encounter these bugs in a stable release. Unfortunately, there are some bugs that need to be fixed. Max, the lead developer of VirtueMart, is on summer holiday. As a result, I have shared a solution so that the shops can continue running until the next update is available.
Quote from: Margriet on July 16, 2024, 08:17:17 AMThis is crazy! Why should one change core files in a clean install?
Quote from: Jumbo! on June 25, 2024, 19:38:05 PMHere is the solution.
Open - administrator/components/com_virtuemart/views/user/view.html.php
Find the following codes between lines 134 to 145:// Load the required scripts
if (count($userFieldsBT['scripts']) > 0) {
foreach ($userFieldsBT['scripts'] as $_script => $_path) {
JHtml::script($_script, $_path);
}
}
// Load the required stylesheets
if (count($userFieldsBT['links']) > 0) {
foreach ($userFieldsBT['links'] as $_link => $_path) {
vmJsApi::css($_link, $_path);
}
}
Replace the above by:// Load the required scripts
if (isset($userFieldsBT['scripts']) && count($userFieldsBT['scripts']) > 0) {
foreach ($userFieldsBT['scripts'] as $_script => $_path) {
JHtml::script($_script, $_path);
}
}
// Load the required stylesheets
if (isset($userFieldsBT['links']) && count($userFieldsBT['links']) > 0) {
foreach ($userFieldsBT['links'] as $_link => $_path) {
vmJsApi::css($_link, $_path);
}
}
echo $product->images[0]->displayMediaThumb (["class"=>"img-fluid w-100", "alt"=>""],FALSE,"", true, FALSE, FALSE, $widthThumb, $heightThumb);
if(!isset($imageArgs['alt']) and !empty($file_alt)){
$imageArgs['alt'] = $file_alt;
}
instead of:if(empty($imageArgs['alt']) and !empty($file_alt)){
$imageArgs['alt'] = $file_alt;
}
Page created in 0.094 seconds with 13 queries.