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

TOPIC: Issue with Virtuemart Homepage

Issue with Virtuemart Homepage 7 years 1 month ago #6854

Hello the team
I have an issue with virtuemart homepage,
when i click on any product picture it then open the picture in a new windows or sometimes in a pop up window instead of going into the product details page
( image from virtuemart homepage: "best selling products" most viewed products"....)
Part of the message is hidden for the guests. Please log in or register to see it.

thank you for your help
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 1 month ago #6863

Hi,

Normally, it works as follow:

- If you click the "product title", it will bring you to product details page.
- If you click the "thumbnail", it will open the product picture inside the modal popup.

I assume you want to disable the popup, and want every links to be linked to product details page.
Then open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/virtuemart/default_products.php

look for this line:
echo JHTML::_ ( 'link', JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( 'class="featuredProductImage" border="0"',true,'class="modal"' ) );

and replace with:
echo JHTML::_ ( 'link', JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( 'class="featuredProductImage" border="0"',false,'' ) );

both; thumbnail and product titles will be linked to product details page.

Regards.
Support & Development
Last Edit: 7 years 1 month ago by Support.
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 1 month ago #6866

Hello and thank you ,
no it was not what i was asking (sorry for my english if you have not understood)

Scroll down and click on any product image that are displayed into the :
* most viewed products
* newest products
....

and you will see the image open in a new windown, only the image, I think there is a Jquery issue.

Even the scroll down (when clicking on left and right arrow) is having issues

Thank you for your help
Last Edit: 7 years 1 month ago by M grano.
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 1 month ago #6867

Ohh okay, now i understand what you are saying. And saw the unstable behavior when clicking the NEXT-PREV buttons.

This doesn't look like a conflict issue, as there is no console error. But there must be a incompatibility issue.

Did you load jQuery1.8 on purpose? It is a pretty new version.
I hope you have a development server, if so just for testing, can you please downgrade the jQuery version back to jQuery1.6? Which is the official jQuery version what Virtuemart loads. I am thinking about, this unstable behavior in the slider must be related to some functions that are not supported by new jQuery versions. Because a lot have changed from jQuery1.6 > jQuery1.8

(i thought, the slider was also compatible with jQuery1.8 as well)

Regards.
Last Edit: 7 years 1 month ago by Support.
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 1 month ago #6868

Hello I have changed Jquery from 1.8 to 1.6 on my K2 component but still the issue is here
where do i have to go?

I have install this plugin recently:
System - JCH Optimize

I have desactivated it but still it is not working when i click on the image it opens the image only in a new window?

I have desactivate all plugins , components, modules but could not find the issue, i think it is a real templating issue

maybe in the css?

are you going to update your template to be compatible with latest jquery?

thank you
Last Edit: 7 years 1 month ago by M grano.
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 1 month ago #6874

Hello is there anyone could give me a hand on this please?
thank you
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 1 month ago #6884

Hi,

Normally that slider is compatible with jQuery1.8 already. But i told you to downgrade just in case it might help.

My strong guess is, it must related to CSS somehow, because there is no reason it can be related to any other thing as there is no console error.

Has this error been like that since the day one? Or did that start happening recently?

Provide me your development URL's joomla (super) administrator account to This email address is being protected from spambots. You need JavaScript enabled to view it. where i can do some benchmark tests. First, i need to figure what causes this unstable behavior, then i am going to solve it.

Regards,
Support & Development
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 3 weeks ago #7042

Hello ok it was some CSS issue, but I have now an another issue:
on the slideshow it displays sometimes and sometimes not the NEWEST product?

when you click on the right arrow it shows same product as well?
The administrator has disabled public write access.

Issue with Virtuemart Homepage 7 years 3 weeks ago #7056

Deciding if those products are "NEW" or not is up to Virtuemart and the "creation date" date in your database for that particular product. FashionMart is just a template. It never does a database connection and it never communicates with the database.

In ordinary Virtuemart, the products will be marked as "NEW" for 1 week after the creatation date (be aware, if you modify an existing product to create a new one, it won't be marked as "new" because the "creation date" will persist).

If you are saying, sometimes the slider works and sometimes it doesn't. Then it means, it is our template's failure (most likely failure of the the slider plugin we have used)

But if you are saying, sometimes product gets shown, but sometime not. Then it means, it is related to your Virtuemart and the configuration. Because if Virtuemart doesn't provide any product, then it is normal you don't see them in the slider.

After clicking the "next" arrow, you will start seeing the same products, because the slide has "infinite loop" (circular) feature. When it reaches to end, it goes back to beginning. This was one of the desired features. But if you have only 2-3 products in the slideshow, then infinite loop might not work as efficient.

We have modified and used "jcarousellite" jQuery plugin to run that slider effect with these JS commands;

Latest products:
jQuery('.FlexibleFrontpageSlider-latest').jCarouselLite({
        btnNext: '.ButtonsNEXT-latest',
        btnPrev: '.ButtonsPREV-latest'
    });

Featured products:
jQuery('.FlexibleFrontpageSlider-featured').jCarouselLite({
        btnNext: '.ButtonsNEXT-featured',
        btnPrev: '.ButtonsPREV-featured'
    });

in that PHP file: /templates/YOUR_TEMPLATE/html/com_virtuemart/virtuemart/default_products.php

The jCarouselLite jQuery plugin is released under MIT license.
You may check here to see the plugin parameters: www.gmarwaha.com/jquery/jcarousellite/#doc
to disable the infinite loop and adding some extra settings, such as "auto scroll" or modifying the scrolling speed, etc..

For example, to disable the "infinite loop" (circular) you would need to include this parameter: circular: false
like this:
jQuery('.FlexibleFrontpageSlider-featured').jCarouselLite({
        btnNext: '.ButtonsNEXT-featured',
        btnPrev: '.ButtonsPREV-featured',
        circular: false
    });
Last Edit: 7 years 3 weeks ago by Support.
The administrator has disabled public write access.

Issue with Virtuemart Homepage 6 years 10 months ago #8083

Hello do you know on this slideshow how to display more than only 3 products that are showing circulary?

thank you
The administrator has disabled public write access.

Issue with Virtuemart Homepage 6 years 10 months ago #8114

Hi julien grano,

I didn't understand what exactly you meant. Please be more specific. Provide link.

Regards.
Support
Last Edit: 6 years 10 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.251 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