How change category order

2 years 11 months ago
Posts: 44
More
Topic Author
How change category order #4448
Hi all team VMuikit,
I would like to change the order of the categories,
1- category description
2-categories list
3-products
Where can I change this order? and how ?
See screenshot
Thank you in advance for your answer
François
Attachments:

Please Log in or Create an account to join the conversation.

2 years 11 months ago
Posts: 44
More
Topic Author
How change category order #4454
Hello,
I have resolved my problem
In Override :
template/html/com_virtuemart/category/default.php
I have change in code:
echo '</div>'; //FIRST DIV ENDED
//Children Product START
$input = JFactory::getApplication()->input;
$limitstart = $input->get("limitstart");
$showcategory = true;
if(!empty($limitstart))
{
if($limitstart > 0)
{
$showcategory = false;
}
}


if (empty($manufacturerID) && !empty($this->category->children) && empty($this->search) && VmConfig::get ('showCategory', 1) && $showcategory)
{
echo '<div class="uk-panel-box uk-border-rounded uk-margin-bottom">';
echo '<h3 class="uk-h3">'.JText::_('COM_VIRTUEMART_CATEGORIES').'</h3>';
$lPath = $vmuikitmodel->getVmSubLayoutPaths('categories');

$categories = $this->category->children;
$viewData = array('categories'=>$categories);
if($lPath)
{
ob_start ();
include ($lPath);
echo ob_get_clean();
}
echo '</div>';
}
//Children Product END
if (!empty($this->products))
{
echo '<h3 class="uk-h3">'.JText::_('COM_VIRTUEMART_PRODUCTS').'</h3>'; (add for title)
echo '<div class=" uk-width-1-1 uk-border-rounded">'; // PRODUCT NOT EMPTY START

Please Log in or Create an account to join the conversation.

Time to create page: 0.103 seconds
Powered by Kunena Forum

Latest News from JoomlaPro.com

VMuikit 5 is finally out!

Our next version of our popular VMuikit package is out. This time we have some quite nice new features.

Electroneum Joomla/VirtueMart plugins

JoomlaPro.com are not only web & Joomla enthusiast, we cannot stay away from checking other tech trends as well. The last few years its been hard to miss the crypto/blockchain ...

New plugin: Secure Joomla Login

We have released a new plugin that adds a extra PIN code and a reCaptcha v2 check on Joomlas login. Security is very important on all fronts of a website. One often missed one is ...

We accept PayPal, 2Checkout & Electroneum payments:

We accept PayPal payments    We accept 2checkout payments  electroneum payment


For news and updates please like :