close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Display order for shop products

Thread began 4/13/2012 1:09 pm by bill3786 | Last modified 4/13/2012 3:53 pm by bill3786 | 504 views | 2 replies |


Display order for shop products

The order of display of the products from the database is currently based on the default of ProductId ascending. The client entered the products into the database in the order which was relevant at the time.

The client now wants to reorder the products in certain categories. This reorder is random in nature and can't see that it can be achieved by adding an order instruction to any of the database columns.

I can do this by adding an extra column for display order but this is quite a job because the database has 700 products with the largest product category having 160 products which will all need to have an order value added to the new column.

This is OK but adding subsequent products somewhere in the middle of the order looks daunting because of having to renumber the order values below the new entries.

Is there a simpler way to achieve the reordering of the display of products? If not, is there a quick way to adjust the order value for new products inserted?

Sign in to reply to this post

Jason ByrnesWebAssist

if the order is not to be based on any of the existing columns, there really is not another way except to create a new column specifically for sorting the results.

this thread:

has a tutorial for using ajax to accomplish setting the sort order.

Sign in to reply to this post


Thanks, will look into it.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...