Author Topic: Problem with menu Virtuemart category Page  (Read 540 times)

JCSL

  • Beginner
  • *
  • Posts: 9
  • A beginner
Problem with menu Virtuemart category Page
« on: June 01, 2018, 21:28:39 pm »
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 ?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3332
  • using Matomo instead of Google Analytics
Re: Problem with menu Virtuemart category Page
« Reply #1 on: June 04, 2018, 22:07:56 pm »
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

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Problem with menu Virtuemart category Page
« Reply #2 on: June 05, 2018, 11:11:39 am »
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.


jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3332
  • using Matomo instead of Google Analytics
Re: Problem with menu Virtuemart category Page
« Reply #3 on: June 05, 2018, 14:13:52 pm »
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

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Problem with menu Virtuemart category Page
« Reply #4 on: June 05, 2018, 14:18:54 pm »
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.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3332
  • using Matomo instead of Google Analytics
Re: Problem with menu Virtuemart category Page
« Reply #5 on: June 05, 2018, 15:20:44 pm »
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

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Problem with menu Virtuemart category Page
« Reply #6 on: June 05, 2018, 15:29:04 pm »
I got it. Many thanx again. Is there any possible way to display no products in category page and still have the description shown ?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26915
  • Always on vacation
    • Jenkin Hill Internet
Re: Problem with menu Virtuemart category Page
« Reply #7 on: June 05, 2018, 16:28:34 pm »
In the Joomla VM menu category view settings configuration tab,   set "Show products of the selected category" to no
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM.3.2.15.9866 on Joomla 3.8.10 PHP 7.0.30

Testing VM.3.2.15.9898 on J3.8.10

JCSL

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Problem with menu Virtuemart category Page
« Reply #8 on: June 05, 2018, 21:22:29 pm »
 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.  :-\

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7874
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Problem with menu Virtuemart category Page
« Reply #9 on: June 10, 2018, 17:24:16 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation