News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

vm2.0.1 j1.7 productdetails view: first/last products aren't the correct ones

Started by Leridan, February 24, 2012, 18:11:43 PM

Previous topic - Next topic

Leridan

I'm using VM in catalog mode and the default sort order is by ID.

I'm using four product categories, a,b,c and d

some products from a also belong to d

As this is a shop I'm setting up, the categories have been filled sequentially, ie I first created the products in a, then b, etc...

in the d category view, the dual category products from a are displayed first, then the specific d products which were created later.

incidentally, the last a product is also part of d.

Now my problem:

the last a/d product is treated as the last product, ie there is no "next product" link in its productdetails page.
the first purely d product is treated as the first product, ie there is no "previous product" link in its productdetails page.

I could write a fix for this, but I'm not familiar with vm's classes, could anyone help? specifically I need a way to retrieve the first and last products' id's from the productdetails view.
Jean-Louis Beaufils, Paris
www.cosient.fr

Leridan

Jean-Louis Beaufils, Paris
www.cosient.fr

Leridan

After upgrading to J2.5.1 and VM2.0.2, the problem persists.

It could be solved by making the first product "next neighbour" of the last, but I have no idea how to access first and last's id's.
Jean-Louis Beaufils, Paris
www.cosient.fr