Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Product Carousel (SKU# FLEX-00009)

TOPIC: Issue: Latest Products Displaying in Reverse Order

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10423

Hi

Just installed this module.

JM 2.5.20; VM 2.0.26d.

'Featured' works fine.

'Latest' displays in First created date order rather than Latest created date order.

VM Configuration->Shopfront->Latest Products - Sort order of display is set to Latest Created Products First.

Setting to change or hack?

Please advise.

TIA
The administrator has disabled public write access.

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10442

Hi,

Actually our Carousel sort product correctly, but it starts showing the product by starting from the last slide. (it was a little trick what we have used, because in the old VM version, the sorting was the opposite)

anyway, to correct the sorting, follow my suggestion:

open this JS file:

/modules/mod_flexible_vm_carousel/module/js/FlexibleCarousel.js

find this lines (115, 116 and 117th lines):
   $('> div:eq(' + index + ')', slidercontents).stop(false, true).animate({ left: 0 }, speed, function() { scrolling = false; });
    }
   $('> div:eq(' + index + ')', slidercontents).addClass('visible').removeClass('hidden');

and replace those 3 lines with this:
   $('> div:eq(0)', slidercontents).stop(false, true).animate({ left: 0 }, speed, function() { scrolling = false; });
    }
   $('> div:eq(0)', slidercontents).addClass('visible').removeClass('hidden');

this will reverse the sorting (sorting inside the carousel) which will be the correct sorting which is what Virtuemart component provides.

Regards,
Support
Last Edit: 7 years 4 months ago by Support.
The administrator has disabled public write access.

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10451

Hello

The correct path is:

/modules/mod_flexible_vm_carousel/media/js/FlexibleCarousel.js

Unfortunately, the fix only makes my horizontal setting display as vertical, with the slides still appearing Last to First.

Maybe the sorting itself does work but if the slides display in the wrong order the visual effect is that it does not work.

I wanted the module to display Latest Products in the correct order.

Can you advise another possible fix for this?

I have attached the file with your fix for you to check.

Best

E

Attachment FlexibleCarousel.zip not found

The administrator has disabled public write access.

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10460

A solution, please.......
The administrator has disabled public write access.

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10473

See the attached ZIP file and use that JS file instead.

Attachment FlexibleCarousel.js.zip not found



If you use this JS file, our module will sort the products as same as how "VM - Featured Product" module does. (VM - featured product module is the official module that comes with the Virtuemart AIO package)

Attachment Pasted_Image_7_27_14__9_30_PM.png not found



The below screenshot below is taken from a live and running website:

Attachment Pasted_Image_7_27_14__9_28_PM.png not found




Publish "VM - Featured Product" and "Carousel" modules at the same page to see by yourself.

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

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10486

As I said in my original message, the issue is with Latest Products NOT Featured Products.

I have realised that the problem is because I duplicated the module and was trying to run Latest Products and Featured Products, one above the other.

Is this not possible?

If it is, how can I achieve the desired output in both?

Thanks
The administrator has disabled public write access.

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10502

It is yet another 2 days without a response.

The product details state that multiple modules can be used on the same page.

However, here are the display results of various combinations on my site:

option A)
1. Latest Products - displays EARLIEST products first (with or without your fix);
2. Featured Products - displays correctly;

option B)
1. Latest Products - displays correctly;
2. Latest Products - displays correctly;

option C)
1. Latest Products - displays correctly;
2. Featured Products (different author's module) - displays correctly;

option D)
1. Latest Products - displays correctly;

I purchased your Carousel module (+ Sportmart template) to use for Latest AND Featured Products on the front page (option A), not to use your carousel for just one of them.

If option A should work correctly, will you kindly advise why it might not work on my site when the same combination works of modules from different authors.

Otherwise, to save more wasted time, perhaps one of your other sliding product modules will work to spec?

TIA
The administrator has disabled public write access.

Issue: Latest Products Displaying in Reverse Order 7 years 4 months ago #10533

Hi Eddie Stone, i am just emailing you, please see your email box.
The administrator has disabled public write access.
Time to create page: 0.105 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