News:

Support the VirtueMart project and become a member

Main Menu

Problem with menu Virtuemart category Page

Started by JCSL, June 01, 2018, 21:28:39 PM

Previous topic - Next topic

JCSL

I am trying to make the category page display only featured products and NOT all Products.
In Virtuemart--> COnfiguration --> Templates --> I have Show Featured ( Yes) Rows(1) Omit( Yes). In the category I have Show Featured ( Yes) and same with the corresponding menu. Still all products show in category page and not one row of the featured products as I have indicated in configuration in menu and category. Please see screenshots
-->Joomla! 3.8.3 Stable [ Amani ] 12-December-2017 15:00 GMT
-->VirtueMart 3.2.12
-->PHP Version   7.1.17

The category page I am trying to configure like that is http://miele.pilacouris.com/miele/refrigeration .

Can you please help with this problem ?
Web design( https://www.jcsl.com.cy/en) is not just creating impressive layout. Web development needs to combine digital marketing (href="https://www.jcsl.com.cy/en/internet-marketing-agency) to help your business benefit the podential Internet has to offer. SEO Cyprus (href="https://www.jcsl.com.cy/en/seo-cyprus-agency) by JCSL Ltd.

jjk

In the category menu settings choose 'Show products of the selected category' = No and 'Show featured' = Yes. Should work.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

JCSL

#2
jjk Thank you for your response ( much appreciated). I did that but unfortunately still not working  :(

See screenshot of category settings  and also screenshot of category page when visited . I made sure that in the category there are more than 3 featured products.

Web design( https://www.jcsl.com.cy/en) is not just creating impressive layout. Web development needs to combine digital marketing (href="https://www.jcsl.com.cy/en/internet-marketing-agency) to help your business benefit the podential Internet has to offer. SEO Cyprus (href="https://www.jcsl.com.cy/en/seo-cyprus-agency) by JCSL Ltd.

jjk

Actually I don't see a 'featured products' module being loaded at ...pilacouris.com/miele/refrigeration. I suppose you need to find out why.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

JCSL

#4
Thanx again jjK. I did not know that I need to publish a module for that. Anyway if I do that I loose the description of the category which I need to have it shown. If I choose to display no products and apply featured products to show the description of the category is gone. So in order to show featured products in category page below category description what do I have to do? Publish a module at a position below the body of the category ? But even if I do so i loose the description of the category.

Thanx again for your support.
Web design( https://www.jcsl.com.cy/en) is not just creating impressive layout. Web development needs to combine digital marketing (href="https://www.jcsl.com.cy/en/internet-marketing-agency) to help your business benefit the podential Internet has to offer. SEO Cyprus (href="https://www.jcsl.com.cy/en/seo-cyprus-agency) by JCSL Ltd.

jjk

The only possible solution that currently comes into my mind is to place a custom text module holding the category description above the featured products module and choose to display not products.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

JCSL

I got it. Many thanx again. Is there any possible way to display no products in category page and still have the description shown ?
Web design( https://www.jcsl.com.cy/en) is not just creating impressive layout. Web development needs to combine digital marketing (href="https://www.jcsl.com.cy/en/internet-marketing-agency) to help your business benefit the podential Internet has to offer. SEO Cyprus (href="https://www.jcsl.com.cy/en/seo-cyprus-agency) by JCSL Ltd.

jenkinhill

In the Joomla VM menu category view settings configuration tab,   set "Show products of the selected category" to no
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

JCSL

 Thank you  jenkinhill for your response. "Show products of the selected category" to no disables the category description which I want to avoid. Is there a possible way to show category description while showing no products or showing only featured products. Like jjk suggested in order to show featured products I have to select "Show products of the selected category" to no" which again disable the category description.  :-\
Web design( https://www.jcsl.com.cy/en) is not just creating impressive layout. Web development needs to combine digital marketing (href="https://www.jcsl.com.cy/en/internet-marketing-agency) to help your business benefit the podential Internet has to offer. SEO Cyprus (href="https://www.jcsl.com.cy/en/seo-cyprus-agency) by JCSL Ltd.

GJC Web Design

check your category default.php over ride if there is one

the cat desc shouldn't be dependent on the show products setting

std code is:

if (!empty($this->showcategory_desc) and empty($this->keyword)){
   if(!empty($this->category)) {
   ?>
<div class="category_description">
   <?php echo $this->category->category_description; ?>
</div>
<?php }
   if(!empty($this->manu_descr)) {
      ?>
        <div class="manufacturer-description">
         <?php echo $this->manu_descr; ?>
        </div>
   <?php }
}
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation