Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - LightMart (SKU# FLEX-00012)

TOPIC: GridView layout on frontpage

GridView layout on frontpage 10 years 4 months ago #7500

Hi!

I would like to display the discounted products on GridView layout on frontpage.
Is that possible?
How do I do it?
My template is Lightmart.
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7512

Hi,

I hate to say this, but, you can't do it.
Here is why;

- You need to use "Virtuemart Category Browse Page" to show the products with GridView layout.
- Virtuemart don't have an option to show "discounted products" only within the category browse page.

This is why "modules" are very important on joomla and Virtumart. Because a simple module will work for you. The module should show "Discounted products" only and should have a similar layout as our Category browse page - GridView. So you can publish that module on your Joomla Homepage and everything will be good to go. But i don't know a module like that.

You can only achieve what you are looking for with this:

1- Create a new Virtuemart category and name it "SALE" (basically this category will be an imaginary category)
2- Put all the "discounted" products into that SALE category. (you can define multiple categories for each product)
3- Make sure you choose "GridView" for default view option through "Flexible VM2 Template" plugin.
3- Open the Joomla Menu Manager and find the "Homepage" menu item
4- Link the homepage menu item to "SALE" virtuemart category.

And your your joomla homepage will show only discounted products by using our template's Category Browse page (GridView)
This is the only way to achieve what you are looking for without needing a module.

Regards.
Support.
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7516

Thank you!

I try another solution.
1. VM - Product Module and 2. VM - Flexible Fancy Product Slide.
The problem is sale logo and the add to cart function not work on the innertop position on front page.

Shape of VM - Flexible Fancy Product Slide is nice , but not work in multiple lines.

And not work the red discount price of VM - Product Module.
Test site: ha7px.hu
Last Edit: 10 years 4 months ago by Gyula Cserháti.
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7525

Hi,

To fix the "add to cart" button issue, open this PHP file:

/templates/flexible_lightmart/layouts/template.php

and include these PHP lines to very bottom (after the </html> line ):
JHTML::stylesheet("facebox.css","components/com_virtuemart/assets/css/");
JHTML::script("facebox.js", "components/com_virtuemart/assets/js/");
 
$document = JFactory::getDocument();
$document->addScriptDeclaration("
jQuery(document).ready(function() {
     jQuery('a[rel*=facebox]').facebox()
});
");

it should fix the add to cart button issue.
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7529

Hi!

I inserting the php in the template.php but no changes.
Attachments:
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7553

Hi!

The code does not work. Any ideas?
Attachments:
Last Edit: 10 years 4 months ago by Gyula Cserháti.
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7587

Hi,


Did you close your website. Because i am getting "403 Forbidded" error message when i try to browse ha7px.hu
Insert the PHP lines i have provided in my previous topic and let me browse your website again to see what else we can do to solve the "add to cart" button issue.

Regards,
Support.
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7620

Yes, I reinstall from backup my webshop yesterday.
Add to cart button work again.
But VM - Product Module not show the FlexibleDiscount logo and PricebasePriceWithTax and red PricediscountAmount. I need these.
There is some solution ?
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7649

Hi,

As i am seeing in your website.
Looks like you found a solution already by yourself.

Regards,
Support
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7693

Hi!
Yes, but I have a big problem.
I would like to put the VM - Product Module the PricebasePriceWithTax and red PricediscountAmount.

How do I do? You have an idea?

Thank you.
Attachments:
The topic has been locked.

GridView layout on frontpage 10 years 4 months ago #7746

I am seeing your have resolved that problem by yourself as well.
So, good for you.

This topic has become way different than its title. So i am closing this topic.
Create a new one if you need any further help from us.

Case solved. Topic is closed.

Regards,
Last Edit: 10 years 4 months ago by Support.
The topic has been locked.
Time to create page: 0.247 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo