Product page layout edit
Posted: 05 Apr 2021, 16:53
Hello,
Site: http://devel2.alphabeta.ro/alex/urzeala ... t-produs-3
I want to move the long description (<div class="ph-item-bottom-box">) under the compare button (<div class="ph-pull-right">).
I presume this needs to be done in some php file, but it cant find the right one. Anyone could help?
Thanks!
LE: from my research i think this is the file: components/com_phocacart/views/item/tmpl/default.php
And the code is between 1127-1183 lines:
but can't find a way to move it to the right side as requested.
Site: http://devel2.alphabeta.ro/alex/urzeala ... t-produs-3
I want to move the long description (<div class="ph-item-bottom-box">) under the compare button (<div class="ph-pull-right">).
I presume this needs to be done in some php file, but it cant find the right one. Anyone could help?
Thanks!
LE: from my research i think this is the file: components/com_phocacart/views/item/tmpl/default.php
And the code is between 1127-1183 lines:
Code: Select all
echo '<div class="ph-item-bottom-box">';
// TABS
$active = $this->s['c']['tabactive'];
$activeTab = $this->s['c']['tabactvietab'];// Not displayed in Bootstrap4
$tabO = '';
$tabLiO = '';
// DESCRIPTION
if (isset($x->description_long) && $x->description_long != '') {
$tabLiO .= '<li class="'.$this->s['c']['nav-item'].' '.$activeTab.'"><a href="#phdescription" data-toggle="tab" class="'.$this->s['c']['nav-link'].' '.$active.'">'.JText::_('COM_PHOCACART_DESCRIPTION').'</a></li>';
$tabO .= '<div class="'.$this->s['c']['tabpane'].' ph-tab-pane '.$active.'" id="phdescription">';
$tabO .= Joomla\CMS\HTML\HTMLHelper::_('content.prepare', $x->description_long);
$tabO .= '</div>';
$active = $activeTab = '';
}
// FEATURES
if (isset($x->features) && $x->features != '') {
$tabLiO .= '<li class="'.$this->s['c']['nav-item'].' '.$activeTab.'"><a href="#phfeatures" data-toggle="tab" class="'.$this->s['c']['nav-link'].' '.$active.'">'.JText::_('COM_PHOCACART_FEATURES').'</a></li>';
$tabO .= '<div class="'.$this->s['c']['tabpane'].' ph-tab-pane '.$active.'" id="phfeatures">';
$tabO .= Joomla\CMS\HTML\HTMLHelper::_('content.prepare', $x->features);
$tabO .= '</div>';
$active = $activeTab = '';
}