• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Details
#1 Posted : Thursday, September 11, 2008 12:37:17 PM(UTC)
Details

Rank: Member

Joined: 9/11/2008(UTC)
Posts: 4

I am curious if there is a simple way (using static) to change my default so that the newest products I upload to the site come up first when the category loads. Right now, they are loading at the bottom??
bvcoder
#2 Posted : Thursday, September 11, 2008 6:05:49 PM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

I believe you can do that by sorting the products in the SP appropriately. Did you already try doing that?
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
Details
#3 Posted : Thursday, September 11, 2008 8:08:48 PM(UTC)
Details

Rank: Member

Joined: 9/11/2008(UTC)
Posts: 4

Sorry Satya, I'm new to all of this, so please can you tell me what SP is? I know I can go into a category edit and use the arrows to move products up or down and sort them this way, I was just wondering if there is a simple way to change the default to automatically load all my newest products to the top of the category load? (so that they show up first when a customer clicks onto that category .... vs. last)
bvcoder
#4 Posted : Thursday, September 11, 2008 11:05:26 PM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

By SP, I meant a Stored Procedure in your database. You can edit the stored procedures named "bvc_Product_ByCategory_s" and "bvc_Product_ByCategoryFiltered_s" in your database by modifying the order by clause.

If you edit these 2 SPs, you will notice that towards the end of the Select statement, you will the "Order By RowNum". Just change this to "Order By CreationDate DESC". So basically you are replacing RowNum with" CreationDate DESC".

That should do it. There is a way to do it in code as well. But this is by far the easiest for you.
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
Details
#5 Posted : Friday, September 12, 2008 8:39:08 AM(UTC)
Details

Rank: Member

Joined: 9/11/2008(UTC)
Posts: 4

Thank you! I will try this. Much appreciated...
bvcoder
#6 Posted : Friday, September 12, 2008 9:56:31 AM(UTC)
bvcoder

Rank: Member

Joined: 8/1/2007(UTC)
Posts: 310

No problem. Let me know how it goes.
Thanks,
Satya
support @ bayquel.net
Work: +1 803 883 3226
Details
#7 Posted : Friday, September 12, 2008 5:25:53 PM(UTC)
Details

Rank: Member

Joined: 9/11/2008(UTC)
Posts: 4

It worked perfectly Satya! Thank you so much. We were struggling with this forever...I wished I asked sooner! Thank you.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012