NSP GK4 Viruemart Product Order

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Mar 31, 2011 2:45 pm
Please Help Me

I set the Article Source of NSP GK4 to show virtuemart's products; but i can't order them. I wanto to show my last product in this module! I try to use the order select under the article source but it doesn't work.

i wait soon reply....

thank you
User avatar
Fresh Boarder

GK User
Wed May 11, 2011 1:56 pm
The sort by order means that you sort by the product_id and not the product_sku or any other order you arranged in the backend.

It is pretty easy to solve. Go in your module/gk_classes/gk.source.vm.php

look for line

else $sort_value = 'product_id';
and replace it with: else $sort_value = 'product_sku';

now order means that you are ordering by product_sku which you can manipulate yourself :lol:
User avatar
Fresh Boarder

teitbite
Sat May 14, 2011 6:05 pm
Hi

Ordering by date DESC should serve the purpose also.
User avatar
Moderator


cron